xref: /freebsd/tests/sys/kern/acct/Makefile (revision 273c26a3c3bea87a241d6879abd4f991db180bf0)
1# $FreeBSD$
2
3TESTSDIR=	${TESTSBASE}/sys/kern/acct
4
5ATF_TESTS_C=	acct_test
6
7CFLAGS+=	-I${.OBJDIR}
8
9CLEANFILES+=	convert.c convert.c.tmp
10
11DPSRCS.acct_test=	convert.c
12acct_test.o: convert.c
13
14convert.c: ${SRCTOP}/sys/kern/kern_acct.c
15	sed -n -e 's/log(/syslog(/g' \
16	       -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' ${.ALLSRC} >${.TARGET}.tmp
17	mv ${.TARGET}.tmp ${.TARGET}
18
19.include <bsd.test.mk>
20