13e9b6029SEnji CooperTESTSDIR= ${TESTSBASE}/sys/kern/acct 23e9b6029SEnji Cooper 33e9b6029SEnji CooperATF_TESTS_C= acct_test 43e9b6029SEnji Cooper 53e9b6029SEnji CooperCFLAGS+= -I${.OBJDIR} 63e9b6029SEnji Cooper 7467afe7bSEnji CooperCLEANFILES+= convert.c convert.c.tmp 83e9b6029SEnji Cooper 93e9b6029SEnji CooperDPSRCS.acct_test= convert.c 1095351216SBryan Dreweryacct_test.o: convert.c 113e9b6029SEnji Cooper 123e9b6029SEnji Cooperconvert.c: ${SRCTOP}/sys/kern/kern_acct.c 133e9b6029SEnji Cooper sed -n -e 's/log(/syslog(/g' \ 14*9b6d9881SEnji Cooper -e 's/exp/exponent/g' \ 15467afe7bSEnji Cooper -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' ${.ALLSRC} >${.TARGET}.tmp 16467afe7bSEnji Cooper mv ${.TARGET}.tmp ${.TARGET} 173e9b6029SEnji Cooper 183e9b6029SEnji Cooper.include <bsd.test.mk> 19