From: Matt Turner Date: Wed, 1 Aug 2012 21:05:36 +0000 (-0700) Subject: build: Fix out-of-tree generation of api_exec_es{1,2}.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e939250b63f70c671b5d7654b6b326237b1e353e;p=mesa.git build: Fix out-of-tree generation of api_exec_es{1,2}.c Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 85cdc1a6559..1049ad49d80 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