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