xref: /freebsd/sys/modules/cxgb/cxgb/Makefile (revision 39beb93c3f8bdbf72a61fda42300b5ebed7390c8)
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_offload.c cxgb_tn1010.c
10SRCS+=	device_if.h bus_if.h pci_if.h
11SRCS+=	opt_inet.h opt_zero.h opt_sched.h
12SRCS+=	uipc_mvec.c cxgb_support.c cxgb_multiq.c
13
14CFLAGS+= -g -DDEFAULT_JUMBO -I${CXGB}
15CFLAGS+= -DDISABLE_MBUF_IOVEC
16#CFLAGS+= -DIFNET_MULTIQUEUE
17#CFLAGS+= -DDISABLE_MBUF_IOVEC
18#CFLAGS+= -DDEBUG -DDEBUG_PRINT
19#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS
20#CFLAGS+= -DWITNESS
21#CFLAGS += -DLOCK_PROFILING
22#CFLAGS+= -DWITNESS
23
24.include <bsd.kmod.mk>
25