summaryrefslogtreecommitdiff
path: root/lib/ofed/libcxgb4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ofed/libcxgb4/Makefile')
-rw-r--r--lib/ofed/libcxgb4/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/ofed/libcxgb4/Makefile b/lib/ofed/libcxgb4/Makefile
new file mode 100644
index 0000000000000..7611e228b8399
--- /dev/null
+++ b/lib/ofed/libcxgb4/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+_spath= ${SRCTOP}/contrib/ofed/libcxgb4
+.PATH: ${_spath}
+
+SHLIBDIR?= /usr/lib
+LIB= cxgb4
+SHLIB_MAJOR= 1
+MK_PROFILE= no
+
+SRCS= \
+cq.c \
+dev.c \
+qp.c \
+verbs.c
+
+LIBADD= ibverbs pthread
+CFLAGS+= -I${_spath}
+
+.include <bsd.lib.mk>