xref: /freebsd/sys/modules/cxgb/cxgb/Makefile (revision 3f345a5d09b6bf08ef76d69152c3a4c451a34cea)
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
925292debSKip MacySRCS+=  cxgb_sge.c cxgb_offload.c cxgb_tn1010.c
10710ca673SBjoern A. ZeebSRCS+=	device_if.h bus_if.h pci_if.h
11710ca673SBjoern A. ZeebSRCS+=	opt_inet.h opt_zero.h opt_sched.h
123f345a5dSKip MacySRCS+=	uipc_mvec.c
1322a80c41SKip Macy
1479775f8fSKip MacyCFLAGS+= -g -DDEFAULT_JUMBO -I${CXGB}
158e10660fSKip MacyCFLAGS+= -DDISABLE_MBUF_IOVEC
1622a80c41SKip Macy#CFLAGS+= -DIFNET_MULTIQUEUE
178e10660fSKip Macy#CFLAGS+= -DDISABLE_MBUF_IOVEC
188e10660fSKip Macy#CFLAGS+= -DDEBUG -DDEBUG_PRINT
1922a80c41SKip Macy#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS
2022a80c41SKip Macy#CFLAGS+= -DWITNESS
218e10660fSKip Macy#CFLAGS += -DLOCK_PROFILING
228e10660fSKip Macy#CFLAGS+= -DWITNESS
2322a80c41SKip Macy
2422a80c41SKip Macy.include <bsd.kmod.mk>
25