summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
-rw-r--r--src/intel/Makefile.vulkan.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 3e385ffd033..7823b608804 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -44,7 +44,17 @@ vulkan/anv_extensions.c: vulkan/anv_extensions_gen.py \
$(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_extensions_gen.py \
--xml $(vulkan_api_xml) \
--xml $(vk_android_native_buffer_xml) \
- --out $@
+ --out-c $@
+
+vulkan/anv_extensions.h: vulkan/anv_extensions_gen.py \
+ vulkan/anv_extensions.py \
+ $(vulkan_api_xml) \
+ $(vk_android_native_buffer_xml)
+ $(MKDIR_GEN)
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_extensions_gen.py \
+ --xml $(vulkan_api_xml) \
+ --xml $(vk_android_native_buffer_xml) \
+ --out-h $@
BUILT_SOURCES += $(VULKAN_GENERATED_FILES)
CLEANFILES += \