1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mthca 4 5KMOD = mthca 6SRCS = device_if.h bus_if.h pci_if.h vnode_if.h 7SRCS+= mthca_allocator.c mthca_av.c mthca_catas.c mthca_cmd.c mthca_cq.c 8SRCS+= mthca_eq.c mthca_mad.c mthca_main.c mthca_mcg.c mthca_memfree.c 9SRCS+= mthca_mr.c mthca_pd.c mthca_profile.c mthca_provider.c mthca_qp.c 10SRCS+= mthca_reset.c mthca_srq.c mthca_uar.c 11SRCS+= opt_inet.h opt_inet6.h 12 13CFLAGS+= -I${.CURDIR}/../../ofed/include 14 15.include <bsd.kmod.mk> 16 17CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 18