aboutsummaryrefslogtreecommitdiff
path: root/lib/ofed/libvendor
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-06-16 15:05:05 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-06-16 15:05:05 +0000
commitf39bffc62c1395bde25d152c7f68fdf7cbaab414 (patch)
tree332b0ed14aadb5e616872aec9afaddf3dd19ca7f /lib/ofed/libvendor
parent20efcfc602b7a57979da99f0a1f917d9fb4a30e1 (diff)
Notes
Diffstat (limited to 'lib/ofed/libvendor')
-rw-r--r--lib/ofed/libvendor/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/ofed/libvendor/Makefile b/lib/ofed/libvendor/Makefile
new file mode 100644
index 000000000000..8405bd11c3c4
--- /dev/null
+++ b/lib/ofed/libvendor/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+_spath= ${SRCTOP}/contrib/ofed/opensm/libvendor
+.PATH: ${_spath}
+
+SHLIBDIR?= /usr/lib
+LIB= osmvendor
+SHLIB_MAJOR= 4
+MK_PROFILE= no
+
+SRCS= \
+osm_vendor_ibumad.c \
+osm_vendor_ibumad_sa.c
+
+LIBADD= ibumad pthread
+CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1
+CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
+VERSION_MAP= ${_spath}/libosmvendor.map
+
+.include <bsd.lib.mk>