From 613bb86ee1f275a4f2c1b223d1e767ff05914ca2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 6 Apr 2001 20:32:09 +0000 Subject: Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build directory. * Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build directory. ($(srcdir)/java/parse.c): Likewise. From-SVN: r41162 --- gcc/java/Make-lang.in | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gcc/java/Make-lang.in') diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 5a52c2d..f8a9b2b 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -80,14 +80,13 @@ $(GCJ)-cross$(exeext): $(GCJ)$(exeext) $(INTL_TARGETS): $(srcdir)/java/parse.c $(srcdir)/java/parse-scan.c $(srcdir)/java/parse.c: $(srcdir)/java/parse.y - (cd $(srcdir)/java && \ - $(BISON) -t --name-prefix=java_ $(BISONFLAGS) -o p$$$$.c parse.y && \ - mv -f p$$$$.c parse.c) + $(BISON) -t --name-prefix=java_ $(BISONFLAGS) \ + -o p$$$$.c $(srcdir)/java/parse.y && \ + mv -f p$$$$.c $(srcdir)/java/parse.c $(srcdir)/java/parse-scan.c: $(srcdir)/java/parse-scan.y - (cd $(srcdir)/java && \ - $(BISON) -t $(BISONFLAGS) -o ps$$$$.c parse-scan.y && \ - mv -f ps$$$$.c parse-scan.c) + $(BISON) -t $(BISONFLAGS) -o ps$$$$.c $(srcdir)/java/parse-scan.y && \ + mv -f ps$$$$.c $(srcdir)/java/parse-scan.c $(srcdir)/java/keyword.h: $(srcdir)/java/keyword.gperf (cd $(srcdir)/java || exit 1; \ -- cgit v1.1