From 2d1fac119fa0d1fccae086605b43b426312b257a Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 15 Aug 2017 16:48:38 -0700 Subject: vulkan/registry: Feed vk_android_native_buffer.xml to gen_enum_to_str.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested on Android and Fedora. Reviewed-by: Tapani Pälli --- src/vulkan/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/vulkan/Makefile.am') diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am index c897a07d6a8..c92748cb8a1 100644 --- a/src/vulkan/Makefile.am +++ b/src/vulkan/Makefile.am @@ -4,6 +4,7 @@ noinst_LTLIBRARIES = libvulkan_wsi.la libvulkan_util.la vulkan_includedir = $(includedir)/vulkan vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml +vk_android_native_buffer_xml = $(top_srcdir)/src/vulkan/registry/vk_android_native_buffer.xml MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) @@ -18,9 +19,13 @@ VULKAN_UTIL_SOURCES = \ BUILT_SOURCES = \ $(VULKAN_UTIL_GENERATED_FILES) -util/vk_enum_to_str.c util/vk_enum_to_str.h: util/gen_enum_to_str.py $(vulkan_api_xml) +util/vk_enum_to_str.c util/vk_enum_to_str.h: util/gen_enum_to_str.py \ + $(vulkan_api_xml) $(vk_android_native_buffer_xml) $(MKDIR_GEN) - $(PYTHON_GEN) $(srcdir)/util/gen_enum_to_str.py --xml $(vulkan_api_xml) --outdir $(top_builddir)/src/vulkan/util + $(PYTHON_GEN) $(srcdir)/util/gen_enum_to_str.py \ + --xml $(vulkan_api_xml) \ + --xml $(vk_android_native_buffer_xml) \ + --outdir $(top_builddir)/src/vulkan/util libvulkan_util_la_SOURCES = $(VULKAN_UTIL_SOURCES) -- cgit v1.2.3