opnsense-src/lib/ofed/libopensm/Makefile
Ed Maste 3750ccefb8 Retire MK_PROFILE infrastructure
It was disabled by default in fe52b7f60e.  We planned to (but did not)
remove the option before FreeBSD 14.  Remove it now, for FreeBSD 15.

Relnotes:	Yes
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31558
2024-11-12 12:11:51 -05:00

18 lines
353 B
Makefile

_spath= ${SRCTOP}/contrib/ofed/opensm/opensm
.PATH: ${_spath}
SHLIBDIR?= /usr/lib
LIB= opensm
SHLIB_MAJOR= 5
SRCS= \
osm_log.c \
osm_mad_pool.c \
osm_helper.c
LIBADD= pthread
CFLAGS+= -I${_spath} -I${_spath}/.. -DHAVE_CONFIG_H=1
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
VERSION_MAP= ${_spath}/libopensm.map
.include <bsd.lib.mk>