]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/mthca/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / mthca / Makefile
1 # $FreeBSD$
2
3 .PATH:  ${.CURDIR}/../../ofed/drivers/infiniband/hw/mthca
4
5 .include <bsd.own.mk>
6
7 KMOD    = mthca
8 SRCS    = device_if.h bus_if.h pci_if.h vnode_if.h
9 SRCS+=  mthca_allocator.c mthca_av.c mthca_catas.c mthca_cmd.c mthca_cq.c
10 SRCS+=  mthca_eq.c mthca_mad.c mthca_main.c mthca_mcg.c mthca_memfree.c
11 SRCS+=  mthca_mr.c mthca_pd.c mthca_profile.c mthca_provider.c mthca_qp.c
12 SRCS+=  mthca_reset.c mthca_srq.c mthca_uar.c
13 SRCS+=  opt_inet.h opt_inet6.h
14
15 CFLAGS+= -I${.CURDIR}/../../ofed/include
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