mesa: point to Makefile.old in the srcdir
authorDylan Noblesmith <nobled@dreamwidth.org>
Thu, 28 Jun 2012 20:29:25 +0000 (20:29 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Mon, 2 Jul 2012 15:14:46 +0000 (15:14 +0000)
Gets out-of-tree builds slightly closer to working.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/Makefile.am

index 5736c5d574539edbd17aa5a4c0613e08300f504a..bada7601a8da7d3b0ca684fad88b1572d4f11460 100644 (file)
@@ -94,13 +94,13 @@ program/lex.yy.c: program/program_lexer.l
        $(LEX) --never-interactive --outfile=$@ $<
 
 all-local:
-       $(MAKE) -f Makefile.old
+       $(MAKE) -f $(srcdir)/Makefile.old
 
 install-exec-local:
-       $(MAKE) -f Makefile.old install
+       $(MAKE) -f $(srcdir)/Makefile.old install
 
 clean-local:
-       $(MAKE) -f Makefile.old clean
+       $(MAKE) -f $(srcdir)/Makefile.old clean
 
 pkgconfigdir = $(libdir)/pkgconfig