summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-12-04 17:34:21 +0000
committerobrien <obrien@FreeBSD.org>2002-12-04 17:34:21 +0000
commit1a06a97440e9f8acbd30c911acf2b5185a98000d (patch)
treecbb3a1c4f15d4366a41cc1e81a29339f2c250204 /gnu
parent776b673a0faf2a47e2f8bf5f9c0d3d027daa4e7d (diff)
downloadFreeBSD-src-1a06a97440e9f8acbd30c911acf2b5185a98000d.zip
FreeBSD-src-1a06a97440e9f8acbd30c911acf2b5185a98000d.tar.gz
Gperf is usable again.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc1plus/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/cc1plus/Makefile b/gnu/usr.bin/cc/cc1plus/Makefile
index 0833f61..97ccdcf 100644
--- a/gnu/usr.bin/cc/cc1plus/Makefile
+++ b/gnu/usr.bin/cc/cc1plus/Makefile
@@ -5,7 +5,7 @@
.PATH: ${GCCDIR}/cp ${GCCDIR}
PROG= cc1plus
-SRCS= parse+%DIKED.c parse.h
+SRCS= parse+%DIKED.c parse.h cfns.h
SRCS+= main.c cp-lang.c \
call.c class.c cvt.c decl.c decl2.c error.c except.c expr.c friend.c \
init.c lex.c mangle.c method.c pt.c ptree.c repo.c rtti.c search.c \
@@ -32,6 +32,10 @@ parse.h: y.tab.h
cp -pf y.tab.h ${.TARGET}
grep '^#define[ ]*YYEMPTY' ${.TARGET:S/h$/c/} >>${.TARGET}
-CLEANFILES= parse+%DIKED.c parse.c parse.h y.tab.h
+cfns.h: cfns.gperf
+ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' \
+ ${.ALLSRC} > ${.TARGET}
+
+CLEANFILES= parse+%DIKED.c parse.c parse.h y.tab.h cfns.h
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud