5 CXGB = ${.CURDIR}/../../../dev/cxgb
6 .PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys
9 SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c
10 SRCS+= cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c cxgb_aq100x.c
11 SRCS+= cxgb_sge.c cxgb_tn1010.c
12 SRCS+= device_if.h bus_if.h pci_if.h
13 SRCS+= opt_inet.h opt_inet6.h opt_sched.h
16 CFLAGS+= -g -DDEFAULT_JUMBO -I${CXGB}
18 .if !defined(KERNBUILDDIR)
19 .if ${MK_INET_SUPPORT} != "no"
21 @echo "#define INET 1" > ${.TARGET}
22 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
25 .if ${MK_INET6_SUPPORT} != "no"
27 @echo "#define INET6 1" > ${.TARGET}
31 .include <bsd.kmod.mk>