xref: /freebsd/sys/modules/cxgb/cxgb/Makefile (revision 46b0a854ccd07858a429beb69c992e80a742006d)
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
822a80c41SKip MacySRCS+=	cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c
946b0a854SKip MacySRCS+=  cxgb_sge.c cxgb_lro.c cxgb_offload.c
1046b0a854SKip MacySRCS+=	device_if.h bus_if.h pci_if.h opt_zero.h opt_sched.h
1146b0a854SKip MacySRCS+=	uipc_mvec.c cxgb_support.c cxgb_multiq.c
1222a80c41SKip Macy
1322a80c41SKip MacyCFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB} -DSMP
148e10660fSKip MacyCFLAGS+= -DDISABLE_MBUF_IOVEC
1522a80c41SKip Macy#CFLAGS+= -DIFNET_MULTIQUEUE
168e10660fSKip Macy#CFLAGS+= -DDISABLE_MBUF_IOVEC
178e10660fSKip Macy#CFLAGS+= -DDEBUG -DDEBUG_PRINT
1822a80c41SKip Macy#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS
1922a80c41SKip Macy#CFLAGS+= -DWITNESS
208e10660fSKip Macy#CFLAGS += -DLOCK_PROFILING
218e10660fSKip Macy#CFLAGS+= -DWITNESS
2222a80c41SKip Macy
2322a80c41SKip Macy.include <bsd.kmod.mk>
24