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 9 10SRCS= \ 11chassis.c \ 12g_hash_table.cpp \ 13ibnetdisc.c \ 14ibnetdisc_cache.c \ 15query_smp.c 16 17MAN= \ 18ibnd_discover_fabric.3 \ 19ibnd_find_node_guid.3 \ 20ibnd_iter_nodes.3 21 22MLINKS+=ibnd_discover_fabric.3 ibnd_debug.3 23MLINKS+=ibnd_discover_fabric.3 ibnd_destroy_fabric.3 24MLINKS+=ibnd_discover_fabric.3 ibnd_show_progress.3 25MLINKS+=ibnd_find_node_guid.3 ibnd_find_node_dr.3 26MLINKS+=ibnd_iter_nodes.3 ibnd_iter_nodes_type.3 27 28LIBADD= osmcomp ibmad ibumad 29CFLAGS+= -DHAVE_CONFIG_H=1 30CFLAGS+= -I${_spath} 31CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband 32CXXSTD= c++11 33VERSION_MAP= ${_spath}/libibnetdisc.map 34 35.include <bsd.lib.mk> 36