2013-09-29 00:35:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/core
|
|
|
|
.PATH: ${.CURDIR}/../../ofed/include/linux
|
|
|
|
|
2015-01-17 16:36:39 +00:00
|
|
|
KMOD= ibcore
|
|
|
|
SRCS= addr.c iwcm.c sa_query.c ucma.c uverbs_cmd.c \
|
2015-02-17 08:40:27 +00:00
|
|
|
agent.c multicast.c smi.c ud_header.c uverbs_main.c \
|
|
|
|
mad.c peer_mem.c umem.c uverbs_marshall.c \
|
2015-01-17 16:36:39 +00:00
|
|
|
cache.c device.c packer.c sysfs.c user_mad.c verbs.c \
|
|
|
|
cm.c fmr_pool.c mad_rmpp.c ucm.c cma.c \
|
|
|
|
vnode_if.h device_if.h bus_if.h pci_if.h \
|
|
|
|
opt_inet.h opt_inet6.h
|
2013-09-29 00:35:03 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/core
|
|
|
|
CFLAGS+= -I${.CURDIR}/../mlx4ib
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include/
|
2015-01-17 16:36:39 +00:00
|
|
|
CFLAGS+= -DINET6 -DINET
|
2013-09-29 00:35:03 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
2015-02-17 19:27:14 +00:00
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|
2013-12-30 20:58:06 +00:00
|
|
|
|
|
|
|
CWARNFLAGS.cm.c= -Wno-unused-function
|