1 2.include <src.opts.mk> 3 4_spath= ${SRCTOP}/contrib/ofed/libibnetdisc 5.PATH: ${_spath} ${_spath}/man 6 7SHLIBDIR?= /usr/lib 8LIB_CXX= ibnetdisc 9SHLIB_MAJOR= 5 10MK_PROFILE= no 11 12SRCS= \ 13chassis.c \ 14g_hash_table.cpp \ 15ibnetdisc.c \ 16ibnetdisc_cache.c \ 17query_smp.c 18 19MAN= \ 20ibnd_discover_fabric.3 \ 21ibnd_find_node_guid.3 \ 22ibnd_iter_nodes.3 23 24MLINKS+=ibnd_discover_fabric.3 ibnd_debug.3 25MLINKS+=ibnd_discover_fabric.3 ibnd_destroy_fabric.3 26MLINKS+=ibnd_discover_fabric.3 ibnd_show_progress.3 27MLINKS+=ibnd_find_node_guid.3 ibnd_find_node_dr.3 28MLINKS+=ibnd_iter_nodes.3 ibnd_iter_nodes_type.3 29 30LIBADD= osmcomp ibmad ibumad 31CFLAGS+= -DHAVE_CONFIG_H=1 32CFLAGS+= -I${_spath} 33CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband 34CXXSTD= c++11 35VERSION_MAP= ${_spath}/libibnetdisc.map 36 37.include <bsd.lib.mk> 38