133ec1ccbSHans Petter Selasky# $FreeBSD$ 233ec1ccbSHans Petter Selasky.PATH: ${SRCTOP}/sys/dev/mthca 333ec1ccbSHans Petter Selasky 433ec1ccbSHans Petter SelaskyKMOD= mthca 533ec1ccbSHans Petter SelaskySRCS= \ 633ec1ccbSHans Petter Selaskymthca_allocator.c \ 733ec1ccbSHans Petter Selaskymthca_av.c \ 833ec1ccbSHans Petter Selaskymthca_catas.c \ 933ec1ccbSHans Petter Selaskymthca_cmd.c \ 1033ec1ccbSHans Petter Selaskymthca_cq.c \ 1133ec1ccbSHans Petter Selaskymthca_eq.c \ 1233ec1ccbSHans Petter Selaskymthca_mad.c \ 1333ec1ccbSHans Petter Selaskymthca_main.c \ 1433ec1ccbSHans Petter Selaskymthca_mcg.c \ 1533ec1ccbSHans Petter Selaskymthca_memfree.c \ 1633ec1ccbSHans Petter Selaskymthca_mr.c \ 1733ec1ccbSHans Petter Selaskymthca_pd.c \ 1833ec1ccbSHans Petter Selaskymthca_profile.c \ 1933ec1ccbSHans Petter Selaskymthca_provider.c \ 2033ec1ccbSHans Petter Selaskymthca_qp.c \ 2133ec1ccbSHans Petter Selaskymthca_reset.c \ 2233ec1ccbSHans Petter Selaskymthca_srq.c \ 23*15fe2513SKonstantin Belousovmthca_uar.c 24*15fe2513SKonstantin BelousovSRCS+= ${LINUXKPI_GENSRCS} 25*15fe2513SKonstantin BelousovSRCS+= opt_inet.h opt_inet6.h 2633ec1ccbSHans Petter Selasky 2733ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/ofed/include 2833ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 2933ec1ccbSHans Petter SelaskyCFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 3033ec1ccbSHans Petter SelaskyCFLAGS+= -DCONFIG_INFINIBAND_USER_MEM 3133ec1ccbSHans Petter SelaskyCFLAGS+= -DINET6 -DINET 3233ec1ccbSHans Petter Selasky 3333ec1ccbSHans Petter Selasky.include <bsd.kmod.mk> 3433ec1ccbSHans Petter Selasky 3533ec1ccbSHans Petter SelaskyCFLAGS+= -Wno-cast-qual -Wno-pointer-arith 36