Deleted Added
full compact
Makefile (256819) Makefile (270297)
1# $FreeBSD: stable/10/sys/modules/cxgbe/iw_cxgbe/Makefile 256694 2013-10-17 18:37:25Z np $
1# $FreeBSD: stable/10/sys/modules/cxgbe/iw_cxgbe/Makefile 270297 2014-08-21 19:54:02Z np $
2
3.include <bsd.own.mk>
4
2
3.include <bsd.own.mk>
4
5CXGBE = ${.CURDIR}/../../../dev/cxgbe
5CXGBE= ${.CURDIR}/../../../dev/cxgbe
6.PATH: ${CXGBE}/iw_cxgbe
7
6.PATH: ${CXGBE}/iw_cxgbe
7
8KMOD= iw_cxgbe
9SRCS= device.c cm.c provider.c mem.c cq.c qp.c resource.c ev.c id_table.c
10SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h
11SRCS+= opt_inet.h opt_ofed.h vnode_if.h
8KMOD= iw_cxgbe
9SRCS= bus_if.h
10SRCS+= cm.c
11SRCS+= cq.c
12SRCS+= device.c
13SRCS+= device_if.h
14SRCS+= ev.c
15SRCS+= id_table.c
16SRCS+= mem.c
17SRCS+= opt_inet.h
18SRCS+= opt_ktr.h
19SRCS+= opt_ofed.h
20SRCS+= opt_sched.h
21SRCS+= pci_if.h
22SRCS+= pcib_if.h
23SRCS+= provider.c
24SRCS+= qp.c
25SRCS+= resource.c
26SRCS+= vnode_if.h
27
12CFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED
13
14.if !defined(KERNBUILDDIR)
15.if ${MK_INET_SUPPORT} != "no"
16opt_inet.h:
17 @echo "#define INET 1" > ${.TARGET}
18 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
19.endif
20
21.if ${MK_INET6_SUPPORT} != "no"
22opt_inet6.h:
23 @echo "#define INET6 1" > ${.TARGET}
24.endif
25.endif
26
27.include <bsd.kmod.mk>
28CFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED
29
30.if !defined(KERNBUILDDIR)
31.if ${MK_INET_SUPPORT} != "no"
32opt_inet.h:
33 @echo "#define INET 1" > ${.TARGET}
34 @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
35.endif
36
37.if ${MK_INET6_SUPPORT} != "no"
38opt_inet6.h:
39 @echo "#define INET6 1" > ${.TARGET}
40.endif
41.endif
42
43.include <bsd.kmod.mk>