[patch 10/39] fix out-of-tree build: cscc/java
Robert Schwebel <[email protected]> Sun, 04 Feb 2007 03:31:30 +0100
| Newsgroups | gmane.comp.gnu.dotgnu.developer |
|---|---|
| Message-ID | <[email protected]> |
pnet-20070203-cscc-java-builddir.diff
(application/octet-stream, 1005 B)
Don't use relative paths to refer to dirs; this breaks if we build out-of-tree. We better use $(top_builddir). Signed-off-by: Robert Schwebel <[email protected]> --- cscc/java/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: cscc/java/Makefile.am =================================================================== --- cscc/java/Makefile.am.orig +++ cscc/java/Makefile.am @@ -61,7 +61,7 @@ BUILT_SOURCES = $(STAMP) $(TREECC_OUTPUT libILJava_a_DEPENDENCIES = $(STAMP) -$(STAMP): $(TREECC_INPUTS) ../../codegen/$(STAMP) +$(STAMP): $(TREECC_INPUTS) $(top_builddir)/codegen/$(STAMP) $(TREECC) $(srcdir)/java_defs.tc && touch $@ java_scanner.l: java_grammar.c -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9