aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-03-03 14:22:44 -0800
committerDylan Baker <[email protected]>2017-03-22 16:22:00 -0700
commit8211e3e60d941ed62c4a0d22de3967a8ded7d805 (patch)
treedc8b5e9b1a51b572931e8998656738465328de7f /src/intel/Makefile.vulkan.am
parent383032c70068938575f609fef0d442ba3e4d7c68 (diff)
anv: Generate anv_entrypoints header and code in one command
This produces the header and the code in one command, saving the need to call the same script twice, which parses the same XML file. Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
-rw-r--r--src/intel/Makefile.vulkan.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 96962861d8f..da1ee93d91c 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -24,11 +24,10 @@
# out and we'll fail at `make dist'
vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml
-vulkan/anv_entrypoints.h : vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
- $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py header $@ --xml $(vulkan_api_xml)
-
-vulkan/anv_entrypoints.c : vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
- $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py code $@ --xml $(vulkan_api_xml)
+vulkan/anv_entrypoints.c: vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py \
+ --xml $(vulkan_api_xml) --outdir $(builddir)/vulkan
+vulkan/anv_entrypoints.h: vulkan/anv_entrypoints.c
BUILT_SOURCES += $(VULKAN_GENERATED_FILES)
CLEANFILES += \