genxml: move the sources (headers) list to Makefile.sources
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 27 May 2016 14:35:28 +0000 (15:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 May 2016 09:26:36 +0000 (10:26 +0100)
[Emil Velikov: use the file in the autoconf build]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/genxml/Makefile.am
src/intel/genxml/Makefile.sources [new file with mode: 0644]

index 0b5b3a67918045afbee5f7c7e042251a4a783b30..c393ebe31631566aae943553943dd2c8770026f9 100644 (file)
 # 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 (file)
index 0000000..9298b4a
--- /dev/null
@@ -0,0 +1,6 @@
+GENXML_GENERATED_FILES = \
+       gen6_pack.h \
+       gen7_pack.h \
+       gen75_pack.h \
+       gen8_pack.h \
+       gen9_pack.h