summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevstat/Makefile')
-rw-r--r--lib/libdevstat/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libdevstat/Makefile b/lib/libdevstat/Makefile
new file mode 100644
index 0000000..ce3f9c2
--- /dev/null
+++ b/lib/libdevstat/Makefile
@@ -0,0 +1,13 @@
+
+LIB= devstat
+SRCS= devstat.c
+
+MAN3= devstat.3
+
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/devstat.h \
+ ${DESTDIR}/usr/include
+
+CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../sys
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud