Mesa (master): build: Fix out-of-tree generation of api_exec_es{1, 2}.c
Matt Turner
mattst88 at kemper.freedesktop.org
Tue Aug 14 18:33:33 UTC 2012
Module: Mesa
Branch: master
Commit: e939250b63f70c671b5d7654b6b326237b1e353e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e939250b63f70c671b5d7654b6b326237b1e353e
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Aug 1 14:05:36 2012 -0700
build: Fix out-of-tree generation of api_exec_es{1,2}.c
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 85cdc1a..1049ad4 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -77,11 +77,11 @@ main/api_exec_es2_remap_helper.h: $(GLAPI)/gl_and_es_API.xml $(glapi_gen_remap_d
main/api_exec_es2.o: main/api_exec_es2_dispatch.h main/api_exec_es2_remap_helper.h
main/api_exec_es1.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py main/APIspec.py
- $(PYTHON2) $(PYTHON_FLAGS) main/es_generator.py \
+ $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/main/es_generator.py \
-S $(srcdir)/main/APIspec.xml -V GLES1.1 > $@
main/api_exec_es2.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py main/APIspec.py
- $(PYTHON2) $(PYTHON_FLAGS) main/es_generator.py \
+ $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/main/es_generator.py \
-S $(srcdir)/main/APIspec.xml -V GLES2.0 > $@
program/program_parse.tab.c program/program_parse.tab.h: program/program_parse.y
More information about the mesa-commit
mailing list