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