]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/modules/cxgbe/tom/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.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=   bus_if.h
12 SRCS+=  device_if.h
13 SRCS+=  opt_inet.h
14 SRCS+=  opt_inet6.h
15 SRCS+=  pci_if.h
16 SRCS+=  t4_connect.c
17 SRCS+=  t4_cpl_io.c
18 SRCS+=  t4_ddp.c
19 SRCS+=  t4_listen.c
20 SRCS+=  t4_tom.c
21 SRCS+=  t4_tom_l2t.c
22
23 CFLAGS+= -I${CXGBE}
24
25 .if !defined(KERNBUILDDIR)
26 .if ${MK_INET_SUPPORT} != "no"
27 opt_inet.h:
28         @echo "#define INET 1" > ${.TARGET}
29         @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
30 .endif
31
32 .if ${MK_INET6_SUPPORT} != "no"
33 opt_inet6.h:
34         @echo "#define INET6 1" > ${.TARGET}
35 .endif
36 .endif
37
38 .include <bsd.kmod.mk>