mirror of
https://github.com/opnsense/src.git
synced 2026-03-13 14:12:38 -04:00
the OFED buildworld target, WITH_OFED=YES, when the include files are not already installed locally, but only in the temporary object directory. Found by: kib Sponsored by: Mellanox Technologies
20 lines
347 B
Makefile
20 lines
347 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../opensm
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
LIB= opensm
|
|
SHLIB_MAJOR= 5
|
|
MK_PROFILE= no
|
|
|
|
SRCS= \
|
|
osm_log.c \
|
|
osm_mad_pool.c \
|
|
osm_helper.c
|
|
|
|
LIBADD= pthread
|
|
CFLAGS+= -I${.CURDIR}/.. -DHAVE_CONFIG_H=1
|
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
|
VERSION_MAP= ${.CURDIR}/../opensm/libopensm.map
|
|
|
|
.include <bsd.lib.mk>
|