mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
All supported compilers have C++11 support so these checks can be replaced with MK_CXX guards. See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252759 PR: 252759 Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D28234
37 lines
668 B
Makefile
37 lines
668 B
Makefile
# $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_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
|
|
CFLAGS+= -I${_spath}
|
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
|
CXXSTD= c++11
|
|
VERSION_MAP= ${_spath}/libibnetdisc.map
|
|
|
|
.include <bsd.lib.mk>
|