1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib/ofed/include/Makefile
Konstantin Belousov f39bffc62c Rework ofed build.
Aligns the build with the FreeBSD traditional approach to not build in
contrib/, and to track inter-dependencies between libraries.

With help from:	bdrewery
Reviewed by:	bdrewery, hselasky
Sponsored by:	Mellanox Technologies
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D15648
2018-06-16 15:05:05 +00:00

193 lines
5.2 KiB
Makefile

# $FreeBSD$
OFEDINCS= ${SRCTOP}/contrib/ofed/include
IBVERBS= ${SRCTOP}/contrib/ofed/libibverbs
IBMAD= ${SRCTOP}/contrib/ofed/libibmad
IBUMAD= ${SRCTOP}/contrib/ofed/libibumad
IBCM= ${SRCTOP}/contrib/ofed/libibcm
IBND= ${SRCTOP}/contrib/ofed/libibnetdisc
RDMACM= ${SRCTOP}/contrib/ofed/librdmacm
RDMA= ${SRCTOP}/sys/ofed/include/uapi/rdma
OSM= ${SRCTOP}/contrib/ofed/opensm/include
IBINCS= \
${OFEDINCS}/byteorder.h \
${OFEDINCS}/byteswap.h \
${OFEDINCS}/endian.h \
${OFEDINCS}/types.h \
${OFEDINCS}/udma_barrier.h \
${IBVERBS}/arch.h \
${IBVERBS}/driver.h \
${IBVERBS}/kern-abi.h \
${IBVERBS}/marshall.h \
${IBVERBS}/opcode.h \
${IBVERBS}/sa-kern-abi.h \
${IBVERBS}/sa.h \
${IBVERBS}/verbs.h \
${IBUMAD}/umad.h \
${IBUMAD}/umad_cm.h \
${IBUMAD}/umad_sa.h \
${IBUMAD}/umad_sm.h \
${IBUMAD}/umad_str.h \
${IBUMAD}/umad_types.h \
${IBMAD}/mad.h \
${IBMAD}/mad_osd.h \
${IBCM}/cm.h \
${IBCM}/cm_abi.h \
${IBND}/ibnetdisc.h \
${IBND}/ibnetdisc_osd.h \
${RDMACM}/ib.h
IBINCSDIR= ${INCLUDEDIR}/infiniband
RDMAINCS= \
${RDMACM}/rdma_cma.h \
${RDMACM}/rdma_cma_abi.h \
${RDMACM}/rdma_verbs.h \
${RDMACM}/rsocket.h \
${RDMA}/ib_user_cm.h \
${RDMA}/ib_user_sa.h \
${RDMA}/ib_user_verbs.h \
${RDMA}/rdma_user_cm.h \
${RDMA}/mlx4-abi.h \
${RDMA}/mlx5-abi.h
RDMAINCSDIR= ${INCLUDEDIR}/rdma
COMPINCS= \
${OSM}/complib/cl_atomic.h \
${OSM}/complib/cl_atomic_osd.h \
${OSM}/complib/cl_byteswap.h \
${OSM}/complib/cl_byteswap_osd.h \
${OSM}/complib/cl_comppool.h \
${OSM}/complib/cl_debug.h \
${OSM}/complib/cl_debug_osd.h \
${OSM}/complib/cl_dispatcher.h \
${OSM}/complib/cl_event.h \
${OSM}/complib/cl_event_osd.h \
${OSM}/complib/cl_event_wheel.h \
${OSM}/complib/cl_fleximap.h \
${OSM}/complib/cl_list.h \
${OSM}/complib/cl_log.h \
${OSM}/complib/cl_map.h \
${OSM}/complib/cl_math.h \
${OSM}/complib/cl_nodenamemap.h \
${OSM}/complib/cl_packoff.h \
${OSM}/complib/cl_packon.h \
${OSM}/complib/cl_passivelock.h \
${OSM}/complib/cl_pool.h \
${OSM}/complib/cl_ptr_vector.h \
${OSM}/complib/cl_qcomppool.h \
${OSM}/complib/cl_qlist.h \
${OSM}/complib/cl_qmap.h \
${OSM}/complib/cl_qpool.h \
${OSM}/complib/cl_spinlock.h \
${OSM}/complib/cl_spinlock_osd.h \
${OSM}/complib/cl_thread.h \
${OSM}/complib/cl_thread_osd.h \
${OSM}/complib/cl_threadpool.h \
${OSM}/complib/cl_timer.h \
${OSM}/complib/cl_timer_osd.h \
${OSM}/complib/cl_types.h \
${OSM}/complib/cl_types_osd.h \
${OSM}/complib/cl_vector.h
COMPINCSDIR= ${INCLUDEDIR}/infiniband/complib
OSMINCS= \
${OSM}/opensm/osm_attrib_req.h \
${OSM}/opensm/osm_base.h \
${OSM}/opensm/osm_config.h \
${OSM}/opensm/osm_congestion_control.h \
${OSM}/opensm/osm_console.h \
${OSM}/opensm/osm_console_io.h \
${OSM}/opensm/osm_db.h \
${OSM}/opensm/osm_db_pack.h \
${OSM}/opensm/osm_errors.h \
${OSM}/opensm/osm_event_plugin.h \
${OSM}/opensm/osm_file_ids.h \
${OSM}/opensm/osm_guid.h \
${OSM}/opensm/osm_helper.h \
${OSM}/opensm/osm_inform.h \
${OSM}/opensm/osm_lid_mgr.h \
${OSM}/opensm/osm_log.h \
${OSM}/opensm/osm_mad_pool.h \
${OSM}/opensm/osm_madw.h \
${OSM}/opensm/osm_mcast_mgr.h \
${OSM}/opensm/osm_mcast_tbl.h \
${OSM}/opensm/osm_mcm_port.h \
${OSM}/opensm/osm_mesh.h \
${OSM}/opensm/osm_msgdef.h \
${OSM}/opensm/osm_mtree.h \
${OSM}/opensm/osm_multicast.h \
${OSM}/opensm/osm_node.h \
${OSM}/opensm/osm_opensm.h \
${OSM}/opensm/osm_partition.h \
${OSM}/opensm/osm_path.h \
${OSM}/opensm/osm_perfmgr.h \
${OSM}/opensm/osm_perfmgr_db.h \
${OSM}/opensm/osm_pkey.h \
${OSM}/opensm/osm_port.h \
${OSM}/opensm/osm_port_profile.h \
${OSM}/opensm/osm_prefix_route.h \
${OSM}/opensm/osm_qos_policy.h \
${OSM}/opensm/osm_remote_sm.h \
${OSM}/opensm/osm_router.h \
${OSM}/opensm/osm_sa.h \
${OSM}/opensm/osm_sa_mad_ctrl.h \
${OSM}/opensm/osm_service.h \
${OSM}/opensm/osm_sm.h \
${OSM}/opensm/osm_sm_mad_ctrl.h \
${OSM}/opensm/osm_stats.h \
${OSM}/opensm/osm_subnet.h \
${OSM}/opensm/osm_switch.h \
${OSM}/opensm/osm_ucast_cache.h \
${OSM}/opensm/osm_ucast_lash.h \
${OSM}/opensm/osm_ucast_mgr.h \
${OSM}/opensm/osm_version.h \
${OSM}/opensm/osm_vl15intf.h \
${OSM}/opensm/st.h
OSMINCSDIR= ${INCLUDEDIR}/infiniband/opensm
IBAINCS= \
${OSM}/iba/ib_cm_types.h \
${OSM}/iba/ib_types.h
IBAINCSDIR= ${INCLUDEDIR}/infiniband/iba
VENDORINCS= \
${OSM}/vendor/osm_mtl_bind.h \
${OSM}/vendor/osm_pkt_randomizer.h \
${OSM}/vendor/osm_ts_useraccess.h \
${OSM}/vendor/osm_umadt.h \
${OSM}/vendor/osm_vendor.h \
${OSM}/vendor/osm_vendor_al.h \
${OSM}/vendor/osm_vendor_api.h \
${OSM}/vendor/osm_vendor_ibumad.h \
${OSM}/vendor/osm_vendor_mlx.h \
${OSM}/vendor/osm_vendor_mlx_defs.h \
${OSM}/vendor/osm_vendor_mlx_dispatcher.h \
${OSM}/vendor/osm_vendor_mlx_hca.h \
${OSM}/vendor/osm_vendor_mlx_inout.h \
${OSM}/vendor/osm_vendor_mlx_rmpp_ctx.h \
${OSM}/vendor/osm_vendor_mlx_sar.h \
${OSM}/vendor/osm_vendor_mlx_sender.h \
${OSM}/vendor/osm_vendor_mlx_svc.h \
${OSM}/vendor/osm_vendor_mlx_transport.h \
${OSM}/vendor/osm_vendor_mlx_transport_anafa.h \
${OSM}/vendor/osm_vendor_mlx_txn.h \
${OSM}/vendor/osm_vendor_mtl.h \
${OSM}/vendor/osm_vendor_mtl_hca_guid.h \
${OSM}/vendor/osm_vendor_mtl_transaction_mgr.h \
${OSM}/vendor/osm_vendor_sa_api.h \
${OSM}/vendor/osm_vendor_test.h \
${OSM}/vendor/osm_vendor_ts.h \
${OSM}/vendor/osm_vendor_umadt.h
VENDORINCSDIR= ${INCLUDEDIR}/infiniband/vendor
INCSGROUPS= \
IBINCS \
RDMAINCS \
COMPINCS \
OSMINCS \
IBAINCS \
VENDORINCS
.include <bsd.prog.mk>