2007-05-22 05:52:04 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# "make" will compile what is needed and run the regression tests.
|
|
|
|
#
|
|
|
|
PROG= pack
|
|
|
|
NO_MAN=
|
|
|
|
|
2010-01-03 08:33:24 +00:00
|
|
|
CFLAGS= -include /usr/include/sys/limits.h \
|
|
|
|
-include /usr/include/sys/syslog.h
|
|
|
|
|
2007-05-22 05:52:04 +00:00
|
|
|
all: regress
|
|
|
|
|
|
|
|
pack: pack.c convert.c
|
|
|
|
|
|
|
|
convert.c: ../../../sys/kern/kern_acct.c
|
2010-01-03 08:33:24 +00:00
|
|
|
sed -n -e 's/log(/syslog(/g' \
|
|
|
|
-e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
|
2007-05-22 05:52:04 +00:00
|
|
|
|
|
|
|
regress: pack regress.t
|
|
|
|
./regress.t
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(PROG) convert.c
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|