summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc1plus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc1plus/Makefile')
-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