1.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/core 2 3KMOD= ibcore 4SRCS= \ 5 ib_addr.c \ 6 ib_agent.c \ 7 ib_cache.c \ 8 ib_cm.c \ 9 ib_cma.c \ 10 ib_core_uverbs.c \ 11 ib_cq.c \ 12 ib_device.c \ 13 ib_fmr_pool.c \ 14 ib_iwcm.c \ 15 ib_iwpm_msg.c \ 16 ib_iwpm_util.c \ 17 ib_mad.c \ 18 ib_mad_rmpp.c \ 19 ib_multicast.c \ 20 ib_packer.c \ 21 ib_rdma_core.c \ 22 ib_roce_gid_mgmt.c \ 23 ib_sa_query.c \ 24 ib_smi.c \ 25 ib_sysfs.c \ 26 ib_ucm.c \ 27 ib_ucma.c \ 28 ib_ud_header.c \ 29 ib_umem.c \ 30 ib_user_mad.c \ 31 ib_uverbs_cmd.c \ 32 ib_uverbs_ioctl.c \ 33 ib_uverbs_main.c \ 34 ib_uverbs_marshall.c \ 35 ib_uverbs_std_types.c \ 36 ib_uverbs_std_types_async_fd.c \ 37 ib_uverbs_std_types_counters.c \ 38 ib_uverbs_std_types_cq.c \ 39 ib_uverbs_std_types_device.c \ 40 ib_uverbs_std_types_dm.c \ 41 ib_uverbs_std_types_flow_action.c \ 42 ib_uverbs_std_types_mr.c \ 43 ib_uverbs_uapi.c \ 44 ib_verbs.c 45 46SRCS+= ${LINUXKPI_GENSRCS} 47SRCS+= opt_inet.h opt_inet6.h 48 49CFLAGS+= -I${SRCTOP}/sys/ofed/include 50CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi 51CFLAGS+= ${LINUXKPI_INCLUDES} 52CFLAGS+= -DINET6 -DINET -DCONFIG_INFINIBAND_USER_MEM 53 54EXPORT_SYMS= YES 55 56.include <bsd.kmod.mk> 57 58CWARNFLAGS+= -Wno-cast-qual -Wno-pointer-arith 59CWARNFLAGS+= ${NO_WUNUSED_BUT_SET_VARIABLE} 60