aboutsummaryrefslogtreecommitdiff
path: root/lib/ofed/libvendor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ofed/libvendor/Makefile')
-rw-r--r--lib/ofed/libvendor/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/ofed/libvendor/Makefile b/lib/ofed/libvendor/Makefile
new file mode 100644
index 000000000000..c78e9da07e5f
--- /dev/null
+++ b/lib/ofed/libvendor/Makefile
@@ -0,0 +1,17 @@
+_spath= ${SRCTOP}/contrib/ofed/opensm/libvendor
+.PATH: ${_spath}
+
+SHLIBDIR?= /usr/lib
+LIB= osmvendor
+SHLIB_MAJOR= 4
+
+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>