diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-10-13 16:16:30 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-10-13 16:16:30 +0000 |
commit | 4b9454025b3a5dc0f7bed051d5026a09b5db6376 (patch) | |
tree | 1c009b7d7928662a00cf610e735dbde43609ec49 /gcc/java/Make-lang.in | |
parent | c7319d87dbcb3c2b6e7ffa194eb3854690bc9e90 (diff) | |
download | gcc-4b9454025b3a5dc0f7bed051d5026a09b5db6376.zip gcc-4b9454025b3a5dc0f7bed051d5026a09b5db6376.tar.gz gcc-4b9454025b3a5dc0f7bed051d5026a09b5db6376.tar.bz2 |
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
Diffstat (limited to 'gcc/java/Make-lang.in')
-rw-r--r-- | gcc/java/Make-lang.in | 10 |
1 files changed, 6 insertions, 4 deletions
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 \ |