2017-08-02 16:00:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-12-08 21:01:09 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2018-06-16 15:05:05 +00:00
|
|
|
_spath= ${SRCTOP}/contrib/ofed/libibnetdisc
|
|
|
|
.PATH: ${_spath} ${_spath}/man
|
2017-08-02 16:00:30 +00:00
|
|
|
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
|
|
LIB_CXX= ibnetdisc
|
|
|
|
SHLIB_MAJOR= 5
|
|
|
|
MK_PROFILE= no
|
|
|
|
|
|
|
|
SRCS= \
|
|
|
|
chassis.c \
|
|
|
|
g_hash_table.cpp \
|
|
|
|
ibnetdisc.c \
|
|
|
|
ibnetdisc_cache.c \
|
|
|
|
query_smp.c
|
|
|
|
|
|
|
|
MAN= \
|
|
|
|
ibnd_debug.3 \
|
|
|
|
ibnd_destroy_fabric.3 \
|
|
|
|
ibnd_discover_fabric.3 \
|
|
|
|
ibnd_find_node_dr.3 \
|
|
|
|
ibnd_find_node_guid.3 \
|
|
|
|
ibnd_iter_nodes.3 \
|
|
|
|
ibnd_iter_nodes_type.3 \
|
|
|
|
ibnd_show_progress.3
|
|
|
|
|
|
|
|
LIBADD= osmcomp ibmad ibumad
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H=1
|
2018-06-16 15:05:05 +00:00
|
|
|
CFLAGS+= -I${_spath}
|
2017-12-05 08:25:17 +00:00
|
|
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
2018-06-16 15:05:05 +00:00
|
|
|
VERSION_MAP= ${_spath}/libibnetdisc.map
|
2017-08-02 16:00:30 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|