2017-08-02 16:00:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2018-06-16 15:05:05 +00:00
|
|
|
_spath= ${SRCTOP}/contrib/ofed/opensm/libvendor
|
|
|
|
.PATH: ${_spath}
|
2017-08-02 16:00:30 +00:00
|
|
|
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
|
|
LIB= osmvendor
|
|
|
|
SHLIB_MAJOR= 4
|
|
|
|
MK_PROFILE= no
|
|
|
|
|
|
|
|
SRCS= \
|
|
|
|
osm_vendor_ibumad.c \
|
|
|
|
osm_vendor_ibumad_sa.c
|
|
|
|
|
|
|
|
LIBADD= ibumad pthread
|
2018-06-16 15:05:05 +00:00
|
|
|
CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1
|
2017-12-05 08:25:17 +00:00
|
|
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
2018-06-16 15:05:05 +00:00
|
|
|
VERSION_MAP= ${_spath}/libosmvendor.map
|
2017-08-02 16:00:30 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|