2013-09-29 00:35:03 +00:00
|
|
|
# $FreeBSD$
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/core
|
2013-09-29 00:35:03 +00:00
|
|
|
|
2015-01-17 16:36:39 +00:00
|
|
|
KMOD= ibcore
|
2020-03-20 21:06:58 +00:00
|
|
|
SRCS= \
|
2017-06-15 12:47:48 +00:00
|
|
|
ib_addr.c \
|
|
|
|
ib_agent.c \
|
|
|
|
ib_cache.c \
|
|
|
|
ib_cm.c \
|
|
|
|
ib_cma.c \
|
2021-06-16 13:02:00 +00:00
|
|
|
ib_core_uverbs.c \
|
2017-06-15 12:47:48 +00:00
|
|
|
ib_cq.c \
|
|
|
|
ib_device.c \
|
|
|
|
ib_fmr_pool.c \
|
|
|
|
ib_iwcm.c \
|
|
|
|
ib_iwpm_msg.c \
|
|
|
|
ib_iwpm_util.c \
|
|
|
|
ib_mad.c \
|
|
|
|
ib_mad_rmpp.c \
|
|
|
|
ib_multicast.c \
|
|
|
|
ib_packer.c \
|
2021-06-16 13:02:00 +00:00
|
|
|
ib_rdma_core.c \
|
2017-06-15 12:47:48 +00:00
|
|
|
ib_roce_gid_mgmt.c \
|
|
|
|
ib_sa_query.c \
|
|
|
|
ib_smi.c \
|
|
|
|
ib_sysfs.c \
|
|
|
|
ib_ucm.c \
|
|
|
|
ib_ucma.c \
|
|
|
|
ib_ud_header.c \
|
|
|
|
ib_umem.c \
|
|
|
|
ib_user_mad.c \
|
|
|
|
ib_uverbs_cmd.c \
|
2021-06-16 13:02:00 +00:00
|
|
|
ib_uverbs_ioctl.c \
|
2017-06-15 12:47:48 +00:00
|
|
|
ib_uverbs_main.c \
|
|
|
|
ib_uverbs_marshall.c \
|
2021-06-16 13:02:00 +00:00
|
|
|
ib_uverbs_std_types.c \
|
|
|
|
ib_uverbs_std_types_async_fd.c \
|
|
|
|
ib_uverbs_std_types_counters.c \
|
|
|
|
ib_uverbs_std_types_cq.c \
|
|
|
|
ib_uverbs_std_types_device.c \
|
|
|
|
ib_uverbs_std_types_dm.c \
|
|
|
|
ib_uverbs_std_types_flow_action.c \
|
|
|
|
ib_uverbs_std_types_mr.c \
|
|
|
|
ib_uverbs_uapi.c \
|
2017-06-15 12:47:48 +00:00
|
|
|
ib_verbs.c
|
2021-06-16 13:02:00 +00:00
|
|
|
|
2020-03-20 21:06:58 +00:00
|
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
|
|
SRCS+= opt_inet.h opt_inet6.h
|
2013-09-29 00:35:03 +00:00
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
2017-06-15 12:47:48 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
2022-09-23 21:18:45 +00:00
|
|
|
CFLAGS+= ${LINUXKPI_INCLUDES}
|
2017-06-15 12:47:48 +00:00
|
|
|
CFLAGS+= -DINET6 -DINET -DCONFIG_INFINIBAND_USER_MEM
|
2013-09-29 00:35:03 +00:00
|
|
|
|
2021-11-07 08:42:24 +00:00
|
|
|
EXPORT_SYMS= YES
|
|
|
|
|
2013-09-29 00:35:03 +00:00
|
|
|
.include <bsd.kmod.mk>
|
2021-09-15 16:03:18 +00:00
|
|
|
|
2022-02-07 20:47:51 +00:00
|
|
|
CWARNFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|
2022-04-06 23:45:29 +00:00
|
|
|
CWARNFLAGS+= ${NO_WUNUSED_BUT_SET_VARIABLE}
|