From 4b9454025b3a5dc0f7bed051d5026a09b5db6376 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 13 Oct 2000 16:16:30 +0000 Subject: Makefile.in (c-parse.c, tradcif.c): Create atomically. * Makefile.in (c-parse.c, tradcif.c): Create atomically. * objc/Make-lang.in (objc-parse.c): Likewise. cp: * Makefile.in (parse.c, parse.h): Create atomically. java: * Make-lang.in (parse.c, parse-scan.c): Create atomically. * Makefile.in (parse.c, parse-scan.c): Likewise. From-SVN: r36861 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/Make-lang.in | 10 ++++++---- gcc/java/Makefile.in | 10 ++++++---- 3 files changed, 18 insertions(+), 8 deletions(-) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index aa9bb2b..8976390 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2000-10-13 Kaveh R. Ghazi + + * Make-lang.in (parse.c, parse-scan.c): Create atomically. + + * Makefile.in (parse.c, parse-scan.c): Likewise. + 2000-10-12 Mark Mitchell * class.c (temporary_obstack): Remove. diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 6036f60..35a174a 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -122,12 +122,14 @@ JAVABISONFLAGS = --name-prefix=java_ $(PARSE_C): $(srcdir)/java/parse.y $(SET_BISON); \ - cd $(PARSE_DIR) && $$bison -t $(BISONFLAGS) $(JAVABISONFLAGS) \ - -o parse.c $(PARSE_RELDIR)/parse.y + cd $(PARSE_DIR) ; $$bison -t $(BISONFLAGS) $(JAVABISONFLAGS) \ + -o p$$$$.c $(PARSE_RELDIR)/parse.y ; \ + mv -f p$$$$.c parse.c $(PARSE_SCAN_C): $(srcdir)/java/parse-scan.y $(SET_BISON); \ - cd $(PARSE_DIR) && $$bison -t $(BISONFLAGS) -o parse-scan.c \ - $(PARSE_RELDIR)/parse-scan.y + cd $(PARSE_DIR) ; $$bison -t $(BISONFLAGS) -o ps$$$$.c \ + $(PARSE_RELDIR)/parse-scan.y ; \ + mv -f ps$$$$.c parse-scan.c # This must be kept in sync with dependencies in Makefile.in. JV_SCAN_SOURCES = $(srcdir)/java/parse-scan.y $(srcdir)/java/lex.c \ diff --git a/gcc/java/Makefile.in b/gcc/java/Makefile.in index 7db863c..9608178 100644 --- a/gcc/java/Makefile.in +++ b/gcc/java/Makefile.in @@ -230,12 +230,14 @@ PARSE_H = $(srcdir)/parse.h $(PARSE_C): $(srcdir)/parse.y $(SET_BISON); \ - cd $(PARSE_DIR) && $$bison -t $(BISONFLAGS) $(JAVABISONFLAGS) \ - -o parse.c $(PARSE_RELDIR)/parse.y + cd $(PARSE_DIR) ; $$bison -t $(BISONFLAGS) $(JAVABISONFLAGS) \ + -o p$$$$.c $(PARSE_RELDIR)/parse.y ; \ + mv -f p$$$$.c parse.c $(PARSE_SCAN_C): $(srcdir)/parse-scan.y $(SET_BISON); \ - cd $(PARSE_DIR) && $$bison -t $(BISONFLAGS) -o parse-scan.c \ - $(PARSE_RELDIR)/parse-scan.y + cd $(PARSE_DIR) ; $$bison -t $(BISONFLAGS) -o ps$$$$.c \ + $(PARSE_RELDIR)/parse-scan.y ; \ + mv -f ps$$$$.c parse-scan.c lex.c: keyword.h lex.h -- cgit v1.1