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