aboutsummaryrefslogtreecommitdiff
path: root/lib/ofed/libibnetdisc/Makefile
blob: eb17061974423789eaae52ead3b28e0284858b1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $FreeBSD$

.include <src.opts.mk>

_spath=	${SRCTOP}/contrib/ofed/libibnetdisc
.PATH: ${_spath} ${_spath}/man

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_discover_fabric.3 \
ibnd_find_node_guid.3 \
ibnd_iter_nodes.3

MLINKS+=ibnd_discover_fabric.3 ibnd_debug.3
MLINKS+=ibnd_discover_fabric.3 ibnd_destroy_fabric.3
MLINKS+=ibnd_discover_fabric.3 ibnd_show_progress.3
MLINKS+=ibnd_find_node_guid.3 ibnd_find_node_dr.3
MLINKS+=ibnd_iter_nodes.3 ibnd_iter_nodes_type.3

LIBADD=		osmcomp ibmad ibumad
CFLAGS+=	-DHAVE_CONFIG_H=1
CFLAGS+=	-I${_spath}
CFLAGS+=	-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
CXXSTD=		c++11
VERSION_MAP=	${_spath}/libibnetdisc.map

.include <bsd.lib.mk>