1# $FreeBSD$ 2 3PROG = fifolog_create 4 5CFLAGS += -I${.CURDIR}/../lib 6 7DPADD = ${LIBFIFOLOG} ${LIBUTIL} 8LDADD = ${LIBFIFOLOG} -lutil 9 10MAN = fifolog.1 11MLINKS += fifolog.1 fifolog_create.1 12MLINKS += fifolog.1 fifolog_reader.1 13MLINKS += fifolog.1 fifolog_writer.1 14 15.include <bsd.prog.mk> 16 17test: ${PROG} 18 rm -f /tmp/fifolog.? 19 ./${PROG} /tmp/fifolog.0 20 ./${PROG} -s 10m /tmp/fifolog.1 21 ./${PROG} -l 1k /tmp/fifolog.2 22 ./${PROG} -r 1k /tmp/fifolog.3 23