Mesa (master): mesa: fix parser source gen for out-of-tree builds
Dylan Noblesmith
nobled at kemper.freedesktop.org
Mon Jul 2 15:15:55 UTC 2012
Module: Mesa
Branch: master
Commit: 91ecba9d052dccf745144c6fc8be74e203164b75
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91ecba9d052dccf745144c6fc8be74e203164b75
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date: Thu Jun 28 20:28:13 2012 +0000
mesa: fix parser source gen for out-of-tree builds
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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:
More information about the mesa-commit
mailing list