diff options
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
-rw-r--r-- | src/intel/Makefile.vulkan.am | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am index f91fdc62d42..de5c09fd559 100644 --- a/src/intel/Makefile.vulkan.am +++ b/src/intel/Makefile.vulkan.am @@ -50,15 +50,13 @@ EXTRA_DIST += \ vulkan/intel_icd.json.in \ vulkan/TODO -vulkan/dev_icd.json : vulkan/dev_icd.json.in - $(AM_V_GEN) $(SED) \ - -e "s#@build_libdir@#${abs_top_builddir}/${LIB_DIR}#" \ - < $(srcdir)/vulkan/dev_icd.json.in > $@ - -vulkan/intel_icd.@[email protected] : vulkan/intel_icd.json.in - $(AM_V_GEN) $(SED) \ - -e "s#@install_libdir@#${libdir}#" \ - < $(srcdir)/vulkan/intel_icd.json.in > $@ +vulkan/dev_icd.json : vulkan/anv_extensions.py vulkan/anv_icd.py + $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \ + --lib-path="${abs_top_builddir}/${LIB_DIR}" --out $@ + +vulkan/intel_icd.@[email protected] : vulkan/anv_extensions.py vulkan/anv_icd.py + $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \ + --lib-path="${libdir}" --out $@ if HAVE_INTEL_VULKAN |