[Mesa-dev] [PATCH 01/18] genxml: move the sources (headers) list to Makefile.sources

Emil Velikov emil.l.velikov at gmail.com
Fri May 27 14:35:28 UTC 2016


From: Mauro Rossi <issor.oruam at gmail.com>

[Emil Velikov: use the file in the autoconf build]
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/genxml/Makefile.am      | 9 +++------
 src/intel/genxml/Makefile.sources | 6 ++++++
 2 files changed, 9 insertions(+), 6 deletions(-)
 create mode 100644 src/intel/genxml/Makefile.sources

diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am
index 0b5b3a6..c393ebe 100644
--- a/src/intel/genxml/Makefile.am
+++ b/src/intel/genxml/Makefile.am
@@ -19,12 +19,9 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 # IN THE SOFTWARE.
 
-BUILT_SOURCES =                                         \
-	gen6_pack.h					\
-	gen7_pack.h					\
-	gen75_pack.h					\
-	gen8_pack.h					\
-	gen9_pack.h
+include Makefile.sources
+
+BUILT_SOURCES = $(GENXML_GENERATED_FILES)
 
 PYTHON3_GEN = $(AM_V_GEN)$(PYTHON3) $(PYTHON_FLAGS)
 
diff --git a/src/intel/genxml/Makefile.sources b/src/intel/genxml/Makefile.sources
new file mode 100644
index 0000000..9298b4a
--- /dev/null
+++ b/src/intel/genxml/Makefile.sources
@@ -0,0 +1,6 @@
+GENXML_GENERATED_FILES = \
+	gen6_pack.h \
+	gen7_pack.h \
+	gen75_pack.h \
+	gen8_pack.h \
+	gen9_pack.h
-- 
2.8.2



More information about the mesa-dev mailing list