]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/regression/acct/Makefile
Merge ACPICA 20100428.
[FreeBSD/FreeBSD.git] / tools / regression / acct / Makefile
1 #
2 # $FreeBSD$
3 #
4 # "make" will compile what is needed and run the regression tests.
5 #
6 PROG=   pack
7 NO_MAN=
8
9 CFLAGS= -include /usr/include/sys/limits.h \
10         -include /usr/include/sys/syslog.h
11
12 all: regress
13
14 pack: pack.c convert.c
15
16 convert.c: ../../../sys/kern/kern_acct.c
17         sed -n -e 's/log(/syslog(/g' \
18                -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
19
20 regress: pack regress.t
21         ./regress.t
22
23 clean:
24         rm -f $(PROG) convert.c
25
26 .include <bsd.prog.mk>