]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/modules/cxgbe/iw_cxgbe/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.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=   bus_if.h
10 SRCS+=  cm.c
11 SRCS+=  cq.c
12 SRCS+=  device.c
13 SRCS+=  device_if.h
14 SRCS+=  ev.c
15 SRCS+=  id_table.c
16 SRCS+=  mem.c
17 SRCS+=  opt_inet.h
18 SRCS+=  opt_ktr.h
19 SRCS+=  opt_ofed.h
20 SRCS+=  opt_sched.h
21 SRCS+=  pci_if.h
22 SRCS+=  pcib_if.h
23 SRCS+=  provider.c
24 SRCS+=  qp.c
25 SRCS+=  resource.c
26 SRCS+=  vnode_if.h
27
28 CFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED
29
30 .if !defined(KERNBUILDDIR)
31 .if ${MK_INET_SUPPORT} != "no"
32 opt_inet.h:
33         @echo "#define INET 1" > ${.TARGET}
34         @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
35 .endif
36
37 .if ${MK_INET6_SUPPORT} != "no"
38 opt_inet6.h:
39         @echo "#define INET6 1" > ${.TARGET}
40 .endif
41 .endif
42
43 .include <bsd.kmod.mk>