1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/dev/mthca 3 4KMOD= mthca 5SRCS= \ 6mthca_allocator.c \ 7mthca_av.c \ 8mthca_catas.c \ 9mthca_cmd.c \ 10mthca_cq.c \ 11mthca_eq.c \ 12mthca_mad.c \ 13mthca_main.c \ 14mthca_mcg.c \ 15mthca_memfree.c \ 16mthca_mr.c \ 17mthca_pd.c \ 18mthca_profile.c \ 19mthca_provider.c \ 20mthca_qp.c \ 21mthca_reset.c \ 22mthca_srq.c \ 23mthca_uar.c 24SRCS+= ${LINUXKPI_GENSRCS} 25SRCS+= opt_inet.h opt_inet6.h 26 27CFLAGS+= -I${SRCTOP}/sys/ofed/include 28CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 29CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 30CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM 31CFLAGS+= -DINET6 -DINET 32 33.include <bsd.kmod.mk> 34 35CFLAGS+= -Wno-cast-qual -Wno-pointer-arith 36