2007-12-16 05:40:18 +00:00
|
|
|
# $FreeBSD$
|
2008-02-23 01:06:17 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2012-06-19 07:34:13 +00:00
|
|
|
|
2008-09-23 03:16:54 +00:00
|
|
|
CXGB = ${.CURDIR}/../../../dev/cxgb
|
|
|
|
.PATH: ${CXGB}/ulp/tom
|
2007-12-16 05:40:18 +00:00
|
|
|
|
2012-06-19 07:34:13 +00:00
|
|
|
KMOD= t3_tom
|
|
|
|
SRCS= cxgb_tom.c cxgb_cpl_io.c cxgb_listen.c cxgb_l2t.c
|
2009-06-06 17:01:44 +00:00
|
|
|
SRCS+= opt_compat.h opt_inet.h opt_inet6.h opt_ipsec.h
|
2008-02-23 01:06:17 +00:00
|
|
|
SRCS+= opt_tcpdebug.h opt_ddb.h opt_sched.h opt_global.h opt_ktr.h
|
2007-12-17 08:17:51 +00:00
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
2008-09-23 03:16:54 +00:00
|
|
|
CFLAGS+= -g -I${CXGB}
|
2007-12-17 08:17:51 +00:00
|
|
|
|
|
|
|
#CFLAGS+= -DDEBUG_PRINT -DDEBUG
|
2012-06-19 07:34:13 +00:00
|
|
|
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
|
|
.if ${MK_INET_SUPPORT} != "no"
|
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > ${.TARGET}
|
|
|
|
echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2007-12-17 08:17:51 +00:00
|
|
|
.include <bsd.kmod.mk>
|