2 .PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
5 SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
6 opt_inet.h opt_inet6.h \
7 alias_GUID.c mcg.c sysfs.c ah.c cq.c \
9 doorbell.c mad.c main.c mr.c qp.c srq.c wc.c cm.c
11 CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4
12 CFLAGS+= -I${.CURDIR}/../../ofed/include
13 CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
14 CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
15 CFLAGS+= -DINET6 -DINET
17 .include <bsd.kmod.mk>
19 CFLAGS+= -Wno-cast-qual -Wno-pointer-arith