1256694Snp# $FreeBSD: releng/10.2/sys/modules/cxgbe/iw_cxgbe/Makefile 270297 2014-08-21 19:54:02Z np $ 2256694Snp 3256694Snp.include <bsd.own.mk> 4256694Snp 5270297SnpCXGBE= ${.CURDIR}/../../../dev/cxgbe 6256694Snp.PATH: ${CXGBE}/iw_cxgbe 7256694Snp 8270297SnpKMOD= iw_cxgbe 9270297SnpSRCS= bus_if.h 10270297SnpSRCS+= cm.c 11270297SnpSRCS+= cq.c 12270297SnpSRCS+= device.c 13270297SnpSRCS+= device_if.h 14270297SnpSRCS+= ev.c 15270297SnpSRCS+= id_table.c 16270297SnpSRCS+= mem.c 17270297SnpSRCS+= opt_inet.h 18270297SnpSRCS+= opt_ktr.h 19270297SnpSRCS+= opt_ofed.h 20270297SnpSRCS+= opt_sched.h 21270297SnpSRCS+= pci_if.h 22270297SnpSRCS+= pcib_if.h 23270297SnpSRCS+= provider.c 24270297SnpSRCS+= qp.c 25270297SnpSRCS+= resource.c 26270297SnpSRCS+= vnode_if.h 27270297Snp 28256694SnpCFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED 29256694Snp 30256694Snp.if !defined(KERNBUILDDIR) 31256694Snp.if ${MK_INET_SUPPORT} != "no" 32256694Snpopt_inet.h: 33256694Snp @echo "#define INET 1" > ${.TARGET} 34256694Snp @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 35256694Snp.endif 36256694Snp 37256694Snp.if ${MK_INET6_SUPPORT} != "no" 38256694Snpopt_inet6.h: 39256694Snp @echo "#define INET6 1" > ${.TARGET} 40256694Snp.endif 41256694Snp.endif 42256694Snp 43256694Snp.include <bsd.kmod.mk> 44