662cb04c25
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.
23 lines
444 B
Makefile
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
|