freebsd-dev/usr.sbin/fifolog/fifolog_create/Makefile
Poul-Henning Kamp 662cb04c25 Add the fifolog tools to FreeBSD.
Quoth the man-page:

     Fifologs provide a compact round-robin circular storage for recording
     text and binary information to permanent storage in a bounded and pre-
     dictable fashion, time and space wise.

Not yet connected to the build, but feel free to test & review.
2008-03-09 19:14:36 +00:00

23 lines
444 B
Makefile

# $FreeBSD$
PROG = fifolog_create
CFLAGS += -I${.CURDIR}/../lib
DPADD = ${LIBFIFOLOG} ${LIBUTIL}
LDADD = ${LIBFIFOLOG} -lutil
MAN = fifolog.1
MLINKS += fifolog.1 fifolog_create.1
MLINKS += fifolog.1 fifolog_reader.1
MLINKS += fifolog.1 fifolog_writer.1
.include <bsd.prog.mk>
test: ${PROG}
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