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