1# $FreeBSD: releng/10.2/sys/modules/cxgbe/iw_cxgbe/Makefile 270297 2014-08-21 19:54:02Z np $ 2 3.include <bsd.own.mk> 4 5CXGBE= ${.CURDIR}/../../../dev/cxgbe 6.PATH: ${CXGBE}/iw_cxgbe 7 8KMOD= iw_cxgbe 9SRCS= bus_if.h 10SRCS+= cm.c 11SRCS+= cq.c 12SRCS+= device.c 13SRCS+= device_if.h 14SRCS+= ev.c 15SRCS+= id_table.c 16SRCS+= mem.c 17SRCS+= opt_inet.h 18SRCS+= opt_ktr.h 19SRCS+= opt_ofed.h 20SRCS+= opt_sched.h 21SRCS+= pci_if.h 22SRCS+= pcib_if.h 23SRCS+= provider.c 24SRCS+= qp.c 25SRCS+= resource.c 26SRCS+= vnode_if.h 27 28CFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED 29 30.if !defined(KERNBUILDDIR) 31.if ${MK_INET_SUPPORT} != "no" 32opt_inet.h: 33 @echo "#define INET 1" > ${.TARGET} 34 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 35.endif 36 37.if ${MK_INET6_SUPPORT} != "no" 38opt_inet6.h: 39 @echo "#define INET6 1" > ${.TARGET} 40.endif 41.endif 42 43.include <bsd.kmod.mk> 44