summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fifolog/fifolog_create/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/fifolog/fifolog_create/Makefile')
-rw-r--r--usr.sbin/fifolog/fifolog_create/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.sbin/fifolog/fifolog_create/Makefile b/usr.sbin/fifolog/fifolog_create/Makefile
new file mode 100644
index 0000000..8b59b25
--- /dev/null
+++ b/usr.sbin/fifolog/fifolog_create/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PROG= fifolog_create
+
+CFLAGS+= -I${.CURDIR}/../lib
+
+DPADD= ${LIBFIFOLOG} ${LIBUTIL}
+LDADD= ${LIBFIFOLOG} -lutil
+
+MAN= fifolog.1
+MLINKS= fifolog.1 fifolog_create.1 \
+ fifolog.1 fifolog_reader.1 \
+ fifolog.1 fifolog_writer.1
+
+regress:
+ rm -f /tmp/fifolog.?
+ ./${PROG} /tmp/fifolog.0
+ ./${PROG} -s 10m /tmp/fifolog.1
+ ./${PROG} -l 1k /tmp/fifolog.2
+ ./${PROG} -r 1k /tmp/fifolog.3
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud