Gperf is usable again.
This commit is contained in:
parent
776b673a0f
commit
1a06a97440
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user