122a80c41SKip Macy# $FreeBSD$ 222a80c41SKip Macy 322a80c41SKip MacyCXGB = ${.CURDIR}/../../../dev/cxgb 422a80c41SKip Macy.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys 522a80c41SKip Macy 622a80c41SKip MacyKMOD= if_cxgb 722a80c41SKip MacySRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c 8c01f2b83SNavdeep ParharSRCS+= cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c cxgb_aq100x.c 925292debSKip MacySRCS+= cxgb_sge.c cxgb_offload.c cxgb_tn1010.c 10710ca673SBjoern A. ZeebSRCS+= device_if.h bus_if.h pci_if.h 11*47cfa99aSBjoern A. ZeebSRCS+= opt_inet.h opt_inet6.h opt_zero.h opt_sched.h 123f345a5dSKip MacySRCS+= uipc_mvec.c 1322a80c41SKip Macy 1479775f8fSKip MacyCFLAGS+= -g -DDEFAULT_JUMBO -I${CXGB} 1522a80c41SKip Macy 16*47cfa99aSBjoern A. Zeeb.if !defined(KERNBUILDDIR) 17*47cfa99aSBjoern A. Zeeb.if ${MK_INET_SUPPORT} != "no" 18*47cfa99aSBjoern A. Zeebopt_inet.h: 19*47cfa99aSBjoern A. Zeeb @echo "#define INET 1" > ${.TARGET} 20*47cfa99aSBjoern A. Zeeb.endif 21*47cfa99aSBjoern A. Zeeb 22*47cfa99aSBjoern A. Zeeb.if ${MK_INET6_SUPPORT} != "no" 23*47cfa99aSBjoern A. Zeebopt_inet6.h: 24*47cfa99aSBjoern A. Zeeb @echo "#define INET6 1" > ${.TARGET} 25*47cfa99aSBjoern A. Zeeb.endif 26*47cfa99aSBjoern A. Zeeb.endif 27*47cfa99aSBjoern A. Zeeb 2822a80c41SKip Macy.include <bsd.kmod.mk> 29