From: Christopher James Halse Rogers Date: Thu, 19 Jul 2012 02:30:08 +0000 (+1000) Subject: build: fix out of tree generation of glapi_mapi_tmp.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fe69bac498aa87052768507a04c640050ee9d98;p=mesa.git build: fix out of tree generation of glapi_mapi_tmp.h Reviewed-by: Eric Anholt Signed-off-by: Christopher James Halse Rogers --- diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index 52aeb3a6de6..499ec09a8d2 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glapi/gen/Makefile.am @@ -176,7 +176,7 @@ $(XORG_GLAPI_DIR)/%.h: $(MESA_GLAPI_DIR)/%.h $(MESA_GLAPI_DIR)/glapi_mapi_tmp.h: $(MESA_MAPI_DIR)/mapi_abi.py $(COMMON_ES) $(PYTHON_GEN) $< \ - --printer glapi --mode lib gl_and_es_API.xml > $@ + --printer glapi --mode lib $(srcdir)/gl_and_es_API.xml > $@ $(MESA_GLAPI_DIR)/glprocs.h: gl_procs.py $(COMMON) $(PYTHON_GEN) $< -f $(srcdir)/gl_API.xml > $@