1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5CXGB = ${.CURDIR}/../../../dev/cxgb 6.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys 7 8KMOD= if_cxgb 9SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c 10SRCS+= cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c cxgb_aq100x.c 11SRCS+= cxgb_sge.c cxgb_tn1010.c 12SRCS+= device_if.h bus_if.h pci_if.h 13SRCS+= opt_inet.h opt_inet6.h opt_zero.h opt_sched.h 14SRCS+= uipc_mvec.c 15 16CFLAGS+= -g -DDEFAULT_JUMBO -I${CXGB} 17 18.if !defined(KERNBUILDDIR) 19.if ${MK_INET_SUPPORT} != "no" 20opt_inet.h: 21 @echo "#define INET 1" > ${.TARGET} 22 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET} 23.endif 24 25.if ${MK_INET6_SUPPORT} != "no" 26opt_inet6.h: 27 @echo "#define INET6 1" > ${.TARGET} 28.endif 29.endif 30 31.include <bsd.kmod.mk> 32