xref: /freebsd/sys/modules/cxgb/cxgb/Makefile (revision 2be1a816b9ff69588e55be0a84cbe2a31efc0f2f)
1# $FreeBSD$
2
3CXGB = ${.CURDIR}/../../../dev/cxgb
4.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys
5
6KMOD=	if_cxgb
7SRCS=	cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c
8SRCS+=	cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c
9SRCS+=  cxgb_sge.c cxgb_lro.c cxgb_offload.c
10SRCS+=	device_if.h bus_if.h pci_if.h opt_zero.h opt_sched.h
11SRCS+=	uipc_mvec.c cxgb_support.c cxgb_multiq.c
12
13CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB} -DSMP
14CFLAGS+= -DDISABLE_MBUF_IOVEC
15#CFLAGS+= -DIFNET_MULTIQUEUE
16#CFLAGS+= -DDISABLE_MBUF_IOVEC
17#CFLAGS+= -DDEBUG -DDEBUG_PRINT
18#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS
19#CFLAGS+= -DWITNESS
20#CFLAGS += -DLOCK_PROFILING
21#CFLAGS+= -DWITNESS
22
23.include <bsd.kmod.mk>
24