From 81cdf78761508bd7899d3b79bf0957d685b9b065 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 9 Dec 1994 23:19:15 +0000 Subject: [PATCH] (BISONFLAGS): Delete --yacc. (PARSE_H): Depend on $(PARSE_C), for parallel makes. (PARSE_C): Undo last patch. From-SVN: r8639 --- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/Makefile.in | 27 ++++++++++++++------------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2e957f13209..3abbd860ded 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +Fri Dec 9 18:17:37 1994 Doug Evans + + * Makefile.in (BISONFLAGS): Delete --yacc. + (PARSE_H): Depend on $(PARSE_C), for parallel makes. + (PARSE_C): Undo last patch. + Fri Dec 2 10:44:36 1994 Mike Stump (mrs@wombat.gnu.ai.mit.edu) * Makefile.in (BISONFLAGS): Add --yacc so that output winds up in diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in index ff484333633..8cc6798de26 100644 --- a/gcc/cp/Makefile.in +++ b/gcc/cp/Makefile.in @@ -55,7 +55,7 @@ T_CPPFLAGS = CC = cc BISON = bison -BISONFLAGS = --yacc +BISONFLAGS = LEX = flex LEXFLAGS = AR = ar @@ -194,19 +194,20 @@ parse.o : $(PARSE_C) $(CONFIG_H) $(CXX_TREE_H) $(srcdir)/../flags.h lex.h $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(BIG_SWITCHFLAG) \ `echo $(PARSE_C) | sed 's,^\./,,'` -#$(PARSE_C) $(PARSE_H) : $(srcdir)/parse.y -# @echo expect 1 shift/reduce confict and 34 reduce/reduce conflicts. -# cd $(srcdir); $(BISON) $(BISONFLAGS) -d -o parse.c parse.y -# cd $(srcdir); grep '^#define[ ]*YYEMPTY' parse.c >>parse.h -$(PARSE_C) $(PARSE_H) : stamp-parse ; @true -stamp-parse: $(srcdir)/parse.y +$(PARSE_H) : $(PARSE_C) +$(PARSE_C) : $(srcdir)/parse.y @echo expect 1 shift/reduce confict and 34 reduce/reduce conflicts. - $(BISON) $(BISONFLAGS) -d $(srcdir)/parse.y - grep '^#define[ ]*YYEMPTY' y.tab.c >>y.tab.h - $(srcdir)/../move-if-change y.tab.c $(PARSE_C) - $(srcdir)/../move-if-change y.tab.h $(PARSE_H) - cp $(PARSE_C) y.tab.c - touch stamp-parse + cd $(srcdir); $(BISON) $(BISONFLAGS) -d -o parse.c parse.y + cd $(srcdir); grep '^#define[ ]*YYEMPTY' parse.c >>parse.h +#$(PARSE_C) $(PARSE_H) : stamp-parse ; @true +#stamp-parse: $(srcdir)/parse.y +# @echo expect 1 shift/reduce confict and 34 reduce/reduce conflicts. +# $(BISON) $(BISONFLAGS) -d $(srcdir)/parse.y +# grep '^#define[ ]*YYEMPTY' y.tab.c >>y.tab.h +# $(srcdir)/../move-if-change y.tab.c $(PARSE_C) +# $(srcdir)/../move-if-change y.tab.h $(PARSE_H) +# cp $(PARSE_C) y.tab.c +# touch stamp-parse # hash.h really depends on $(srcdir)/gxx.gperf. # But this would screw things for people that don't have gperf,