summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevstat/Makefile')
-rw-r--r--lib/libdevstat/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/libdevstat/Makefile b/lib/libdevstat/Makefile
new file mode 100644
index 0000000..aeb07b9
--- /dev/null
+++ b/lib/libdevstat/Makefile
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+LIB= devstat
+SHLIBDIR?= /lib
+# Bump DEVSTAT_USER_API_VER in devstat.h every time this is incremented.
+SHLIB_MAJOR= 7
+SRCS= devstat.c
+INCS= devstat.h
+
+DPADD= ${LIBKVM}
+LDADD= -lkvm
+
+MAN= devstat.3
+
+MLINKS+=devstat.3 devstat_getnumdevs.3
+MLINKS+=devstat.3 devstat_getgeneration.3
+MLINKS+=devstat.3 devstat_getversion.3
+MLINKS+=devstat.3 devstat_checkversion.3
+MLINKS+=devstat.3 devstat_getdevs.3
+MLINKS+=devstat.3 devstat_selectdevs.3
+MLINKS+=devstat.3 devstat_buildmatch.3
+MLINKS+=devstat.3 devstat_compute_statistics.3
+MLINKS+=devstat.3 devstat_compute_etime.3
+MLINKS+=devstat.3 getnumdevs.3
+MLINKS+=devstat.3 getgeneration.3
+MLINKS+=devstat.3 getversion.3
+MLINKS+=devstat.3 checkversion.3
+MLINKS+=devstat.3 getdevs.3
+MLINKS+=devstat.3 selectdevs.3
+MLINKS+=devstat.3 buildmatch.3
+MLINKS+=devstat.3 compute_stats.3
+MLINKS+=devstat.3 compute_etime.3
+
+CFLAGS+=-I${.CURDIR}
+
+WARNS?= 3
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud