#
# $FreeBSD: stable/7/tools/regression/acct/Makefile 217600 2011-01-19 21:19:23Z keramida $
#
# "make" will compile the acct test programs
#

PROG=	pack
SRCS=	pack.c
NO_MAN=
CFLAGS+= -I${.OBJDIR}

pack.o:	convert.c

CLEANFILES+= convert.c
convert.c: ../../../sys/kern/kern_acct.c
	sed -n '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? | \
	sed -e 's/log(/syslog(/' >$@

regress: pack regress.t
	sh ${.CURDIR}/regress.t

.include <bsd.prog.mk>
