diff options
author | obrien <obrien@FreeBSD.org> | 2010-01-03 08:33:24 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-01-03 08:33:24 +0000 |
commit | 88d1aeccc5e1b7a9406ef4862952c8d812483b6a (patch) | |
tree | 63aded9d7048e11d3a93bd88d2811ba5ae38b22c /tools | |
parent | 10cde58f3351ae7a0259283bb9d59cf3fa7da6aa (diff) | |
download | FreeBSD-src-88d1aeccc5e1b7a9406ef4862952c8d812483b6a.zip FreeBSD-src-88d1aeccc5e1b7a9406ef4862952c8d812483b6a.tar.gz |
Transform from kernel file to userland source.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/acct/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/regression/acct/Makefile b/tools/regression/acct/Makefile index 6834fcb..09f8b32 100644 --- a/tools/regression/acct/Makefile +++ b/tools/regression/acct/Makefile @@ -6,12 +6,16 @@ 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 '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@ + sed -n -e 's/log(/syslog(/g' \ + -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@ regress: pack regress.t ./regress.t |