1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5CXGB = ${.CURDIR}/../../../dev/cxgb 6.PATH: ${CXGB}/ulp/iw_cxgb 7 8KMOD= iw_cxgb 9SRCS= iw_cxgb.c iw_cxgb_cm.c iw_cxgb_hal.c 10SRCS+= iw_cxgb_provider.c iw_cxgb_qp.c iw_cxgb_resource.c 11SRCS+= iw_cxgb_ev.c iw_cxgb_mem.c iw_cxgb_dbg.c iw_cxgb_cq.c 12SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h 13SRCS+= opt_inet.h opt_ofed.h vnode_if.h 14CFLAGS+= -I${CXGB} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED 15 16.if !defined(KERNBUILDDIR) 17.if ${MK_INET_SUPPORT} != "no" 18opt_inet.h: 19 echo "#define INET 1" > ${.TARGET} 20 echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 21.endif 22.endif 23 24.include <bsd.kmod.mk> 25