]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/cxgbe/tom/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / cxgbe / tom / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 .include <bsd.own.mk>
6
7 CXGBE = ${.CURDIR}/../../../dev/cxgbe
8 .PATH: ${CXGBE}/tom
9
10 KMOD = t4_tom
11 SRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c t4_ddp.c
12 SRCS+= device_if.h bus_if.h pci_if.h
13 SRCS+= opt_inet.h opt_inet6.h
14
15 CFLAGS+= -I${CXGBE}
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
24 .if ${MK_INET6_SUPPORT} != "no"
25 opt_inet6.h:
26         @echo "#define INET6 1" > ${.TARGET}
27 .endif
28 .endif
29
30 .include <bsd.kmod.mk>