xref: /freebsd-12.1/sys/modules/mthca/Makefile (revision 33ec1ccb)
1*33ec1ccbSHans Petter Selasky# $FreeBSD$
2*33ec1ccbSHans Petter Selasky.PATH:	${SRCTOP}/sys/dev/mthca
3*33ec1ccbSHans Petter Selasky
4*33ec1ccbSHans Petter SelaskyKMOD=	mthca
5*33ec1ccbSHans Petter SelaskySRCS= \
6*33ec1ccbSHans Petter Selaskymthca_allocator.c \
7*33ec1ccbSHans Petter Selaskymthca_av.c \
8*33ec1ccbSHans Petter Selaskymthca_catas.c \
9*33ec1ccbSHans Petter Selaskymthca_cmd.c \
10*33ec1ccbSHans Petter Selaskymthca_cq.c \
11*33ec1ccbSHans Petter Selaskymthca_eq.c \
12*33ec1ccbSHans Petter Selaskymthca_mad.c \
13*33ec1ccbSHans Petter Selaskymthca_main.c \
14*33ec1ccbSHans Petter Selaskymthca_mcg.c \
15*33ec1ccbSHans Petter Selaskymthca_memfree.c \
16*33ec1ccbSHans Petter Selaskymthca_mr.c \
17*33ec1ccbSHans Petter Selaskymthca_pd.c \
18*33ec1ccbSHans Petter Selaskymthca_profile.c \
19*33ec1ccbSHans Petter Selaskymthca_provider.c \
20*33ec1ccbSHans Petter Selaskymthca_qp.c \
21*33ec1ccbSHans Petter Selaskymthca_reset.c \
22*33ec1ccbSHans Petter Selaskymthca_srq.c \
23*33ec1ccbSHans Petter Selaskymthca_uar.c \
24*33ec1ccbSHans Petter Selaskydevice_if.h bus_if.h vnode_if.h pci_if.h \
25*33ec1ccbSHans Petter Selasky        opt_inet.h opt_inet6.h
26*33ec1ccbSHans Petter Selasky
27*33ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/ofed/include
28*33ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
29*33ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
30*33ec1ccbSHans Petter SelaskyCFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
31*33ec1ccbSHans Petter SelaskyCFLAGS+= -DINET6 -DINET
32*33ec1ccbSHans Petter Selasky
33*33ec1ccbSHans Petter Selasky.include <bsd.kmod.mk>
34*33ec1ccbSHans Petter Selasky
35*33ec1ccbSHans Petter SelaskyCFLAGS+= -Wno-cast-qual -Wno-pointer-arith
36