]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/cxgbe/iw_cxgbe/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / cxgbe / iw_cxgbe / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 CXGBE = ${.CURDIR}/../../../dev/cxgbe
6 .PATH: ${CXGBE}/iw_cxgbe
7
8 KMOD=   iw_cxgbe
9 SRCS=   device.c cm.c provider.c mem.c cq.c qp.c resource.c ev.c id_table.c
10 SRCS+=  bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h
11 SRCS+=  opt_inet.h opt_ofed.h vnode_if.h
12 CFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED
13
14 .if !defined(KERNBUILDDIR)
15 .if ${MK_INET_SUPPORT} != "no"
16 opt_inet.h:
17         @echo "#define INET 1" > ${.TARGET}
18         @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
19 .endif
20
21 .if ${MK_INET6_SUPPORT} != "no"
22 opt_inet6.h:
23         @echo "#define INET6 1" > ${.TARGET}
24 .endif
25 .endif
26
27 .include <bsd.kmod.mk>