]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/cxgb/tom/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / cxgb / tom / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 CXGB = ${.CURDIR}/../../../dev/cxgb
6 .PATH: ${CXGB}/ulp/tom
7
8 KMOD=   t3_tom
9 SRCS=   cxgb_tom.c cxgb_cpl_io.c cxgb_listen.c cxgb_l2t.c
10 SRCS+=  opt_compat.h opt_inet.h opt_inet6.h opt_ipsec.h
11 SRCS+=  opt_tcpdebug.h opt_ddb.h opt_sched.h opt_global.h opt_ktr.h
12 SRCS+=  device_if.h bus_if.h pci_if.h
13 CFLAGS+= -g -I${CXGB}
14
15 #CFLAGS+= -DDEBUG_PRINT -DDEBUG
16
17 .if !defined(KERNBUILDDIR)
18 .if ${MK_INET_SUPPORT} != "no"
19 opt_inet.h:
20         echo "#define INET 1" > ${.TARGET}
21         echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
22 .endif
23 .endif
24
25 .include <bsd.kmod.mk>