xref: /freebsd/sys/modules/mthca/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
133ec1ccbSHans Petter Selasky.PATH:	${SRCTOP}/sys/dev/mthca
233ec1ccbSHans Petter Selasky
333ec1ccbSHans Petter SelaskyKMOD=	mthca
433ec1ccbSHans Petter SelaskySRCS= \
533ec1ccbSHans Petter Selaskymthca_allocator.c \
633ec1ccbSHans Petter Selaskymthca_av.c \
733ec1ccbSHans Petter Selaskymthca_catas.c \
833ec1ccbSHans Petter Selaskymthca_cmd.c \
933ec1ccbSHans Petter Selaskymthca_cq.c \
1033ec1ccbSHans Petter Selaskymthca_eq.c \
1133ec1ccbSHans Petter Selaskymthca_mad.c \
1233ec1ccbSHans Petter Selaskymthca_main.c \
1333ec1ccbSHans Petter Selaskymthca_mcg.c \
1433ec1ccbSHans Petter Selaskymthca_memfree.c \
1533ec1ccbSHans Petter Selaskymthca_mr.c \
1633ec1ccbSHans Petter Selaskymthca_pd.c \
1733ec1ccbSHans Petter Selaskymthca_profile.c \
1833ec1ccbSHans Petter Selaskymthca_provider.c \
1933ec1ccbSHans Petter Selaskymthca_qp.c \
2033ec1ccbSHans Petter Selaskymthca_reset.c \
2133ec1ccbSHans Petter Selaskymthca_srq.c \
2215fe2513SKonstantin Belousovmthca_uar.c
2315fe2513SKonstantin BelousovSRCS+=	${LINUXKPI_GENSRCS}
2415fe2513SKonstantin BelousovSRCS+=	opt_inet.h opt_inet6.h
2533ec1ccbSHans Petter Selasky
2633ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/ofed/include
2733ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
28*514fb387SBjoern A. ZeebCFLAGS+= ${LINUXKPI_INCLUDES}
2933ec1ccbSHans Petter SelaskyCFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
3033ec1ccbSHans Petter SelaskyCFLAGS+= -DINET6 -DINET
3133ec1ccbSHans Petter Selasky
3233ec1ccbSHans Petter Selasky.include <bsd.kmod.mk>
3333ec1ccbSHans Petter Selasky
3433ec1ccbSHans Petter SelaskyCFLAGS+= -Wno-cast-qual -Wno-pointer-arith
35