]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/ipoib/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / ipoib / Makefile
1 # $FreeBSD$
2 .PATH:  ${.CURDIR}/../../ofed/drivers/infiniband/ulp/ipoib
3 .PATH:  ${.CURDIR}/../../ofed/include/linux
4
5 .include <bsd.own.mk>
6
7 KMOD    = ipoib
8 SRCS    = device_if.h bus_if.h opt_ofed.h vnode_if.h opt_inet.h opt_inet6.h
9 SRCS    += ipoib_cm.c ipoib_ib.c ipoib_main.c ipoib_multicast.c ipoib_verbs.c ipoib.h
10 SRCS+=  linux_compat.c linux_radix.c linux_idr.c
11
12 CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/ulp/ipoib
13 CFLAGS+= -I${.CURDIR}/../ibcore
14 CFLAGS+= -I${.CURDIR}/../../ofed/include/
15 CFLAGS+= -DINET6 -DINET -DOFED
16
17 .if !defined(KERNBUILDDIR)
18 .if ${MK_INET_SUPPORT} != "no"
19 opt_inet.h:
20         @echo "#define INET 1" > ${.TARGET}
21 .endif
22
23 .if ${MK_INET6_SUPPORT} != "no"
24 opt_inet6.h:
25         @echo "#define INET6 1" > ${.TARGET}
26 .endif
27 .endif
28
29 .include <bsd.kmod.mk>
30
31 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions