Changeset View
Changeset View
Standalone View
Standalone View
lib/ofed/libvendor/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
_spath= ${SRCTOP}/contrib/ofed/opensm/libvendor | _spath= ${SRCTOP}/contrib/ofed/opensm/libvendor | ||||
.PATH: ${_spath} | .PATH: ${_spath} | ||||
SHLIBDIR?= /usr/lib | SHLIBDIR?= /usr/lib | ||||
LIB= osmvendor | LIB= osmvendor | ||||
SHLIB_MAJOR= 4 | SHLIB_MAJOR= 4 | ||||
MK_PROFILE= no | |||||
SRCS= \ | SRCS= \ | ||||
osm_vendor_ibumad.c \ | osm_vendor_ibumad.c \ | ||||
osm_vendor_ibumad_sa.c | osm_vendor_ibumad_sa.c | ||||
LIBADD= ibumad pthread | LIBADD= ibumad pthread | ||||
CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1 | CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1 | ||||
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband | CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband | ||||
VERSION_MAP= ${_spath}/libosmvendor.map | VERSION_MAP= ${_spath}/libosmvendor.map | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |