27 lines
462 B
Makefile
27 lines
462 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
# "make" will compile what is needed and run the regression tests.
|
|
#
|
|
PROG= pack
|
|
NO_MAN=
|
|
|
|
CFLAGS= -include /usr/include/sys/limits.h \
|
|
-include /usr/include/sys/syslog.h
|
|
|
|
all: regress
|
|
|
|
pack: pack.c convert.c
|
|
|
|
convert.c: ../../../sys/kern/kern_acct.c
|
|
sed -n -e 's/log(/syslog(/g' \
|
|
-e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
|
|
|
|
regress: pack regress.t
|
|
./regress.t
|
|
|
|
clean:
|
|
rm -f $(PROG) convert.c
|
|
|
|
.include <bsd.prog.mk>
|