[Mesa-dev] [PATCH 3/4] mesa: fix parser source gen for out-of-tree builds

nobled nobled at dreamwidth.org
Sun Jul 1 11:10:53 PDT 2012


---
 src/mesa/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 44ec619..5736c5d 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -86,9 +86,11 @@ main/api_exec_es2.c: main/APIspec.xml
main/es_generator.py main/APIspecutil.py m
 	  -S $(srcdir)/main/APIspec.xml -V GLES2.0 > $@

 program/program_parse.tab.c program/program_parse.tab.h:
program/program_parse.y
+	mkdir -p program
 	$(YACC) -v -d --output=program/program_parse.tab.c $<

 program/lex.yy.c: program/program_lexer.l
+	mkdir -p program
 	$(LEX) --never-interactive --outfile=$@ $<

 all-local:
-- 
1.7.9.5


More information about the mesa-dev mailing list