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