3 .PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mthca
8 SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
9 SRCS+= mthca_allocator.c mthca_av.c mthca_catas.c mthca_cmd.c mthca_cq.c
10 SRCS+= mthca_eq.c mthca_mad.c mthca_main.c mthca_mcg.c mthca_memfree.c
11 SRCS+= mthca_mr.c mthca_pd.c mthca_profile.c mthca_provider.c mthca_qp.c
12 SRCS+= mthca_reset.c mthca_srq.c mthca_uar.c
13 SRCS+= opt_inet.h opt_inet6.h
15 CFLAGS+= -I${.CURDIR}/../../ofed/include
17 .if !defined(KERNBUILDDIR)
18 .if ${MK_INET_SUPPORT} != "no"
20 @echo "#define INET 1" > ${.TARGET}
23 .if ${MK_INET6_SUPPORT} != "no"
25 @echo "#define INET6 1" > ${.TARGET}
29 .include <bsd.kmod.mk>
31 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}