]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/mlx4ib/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / mlx4ib / Makefile
1 # $FreeBSD$
2 .PATH:  ${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
3
4 .include <bsd.own.mk>
5
6 KMOD    = mlx4ib
7 SRCS    = device_if.h bus_if.h pci_if.h vnode_if.h
8 SRCS+=  ah.c cq.c doorbell.c mad.c main.c mr.c qp.c srq.c wc.c
9 SRCS+=  opt_inet.h opt_inet6.h
10
11 CFLAGS+= -I${.CURDIR}/../../ofed/include/
12
13 .if !defined(KERNBUILDDIR)
14 .if ${MK_INET_SUPPORT} != "no"
15 opt_inet.h:
16         @echo "#define INET 1" > ${.TARGET}
17 .endif
18
19 .if ${MK_INET6_SUPPORT} != "no"
20 opt_inet6.h:
21         @echo "#define INET6 1" > ${.TARGET}
22 .endif
23 .endif
24
25 .include <bsd.kmod.mk>
26
27 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions