From 0b9076ff551d1111918c192b436b764027580326 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 17 Sep 2012 15:16:06 -0700 Subject: build: mapi/glapi/gen: Use BUILT_SOURCES --- src/mapi/glapi/gen/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index 13943e8396f..65cfb44e922 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glapi/gen/Makefile.am @@ -51,7 +51,7 @@ if HAVE_SPARC_ASM MESA_GLAPI_ASM_OUTPUTS += $(MESA_GLAPI_DIR)/glapi_sparc.S endif -MESA_OUTPUTS = \ +BUILT_SOURCES = \ $(MESA_GLAPI_OUTPUTS) \ $(MESA_GLAPI_ASM_OUTPUTS) \ $(MESA_DIR)/main/enums.c \ @@ -63,6 +63,11 @@ MESA_OUTPUTS = \ $(MESA_GLX_DIR)/indirect_init.c \ $(MESA_GLX_DIR)/indirect_size.h \ $(MESA_GLX_DIR)/indirect_size.c +EXTRA_DIST= \ + $(BUILT_SOURCES) \ + $(MESA_GLAPI_DIR)/glapi_x86.S \ + $(MESA_GLAPI_DIR)/glapi_x86-64.S \ + $(MESA_GLAPI_DIR)/glapi_sparc.S ###################################################################### @@ -154,8 +159,6 @@ PYTHON_GEN = $(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) ###################################################################### -all-local: $(MESA_OUTPUTS) - xorg: check-xorg-source $(XORG_OUTPUTS) check-xorg-source: @@ -169,7 +172,6 @@ check-xorg-source: clean-local: -rm -f *~ *.pyo - -rm -f $(MESA_OUTPUTS) ###################################################################### -- cgit v1.2.3