From 69d6b82e9458f1bd538dfde5ac659be55350704f Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Wed, 20 Jul 2022 17:10:51 +0200 Subject: [PATCH] Build vkd3d as ELF. --- Makefile.in | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index e56aa190..467898fc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -703,6 +703,35 @@ $(OBJ)/.steamexe-post-build64: cp $(STEAMEXE_SRC)/64/libsteam_api.so $(DST_LIBDIR64)/ touch $@ +## +## vkd3d +## + +VKD3D_D3D12_SOURCE_ARGS = \ + --exclude aclocal.m4 \ + --exclude autom4te.cache \ + --exclude bin/ \ + --exclude configure \ + --exclude include/config.h.in \ + --exclude Makefile.in \ + --exclude m4/libtool.m4 \ + --exclude m4/ltoptions.m4 \ + --exclude m4/ltsugar.m4 \ + --exclude m4/ltversion.m4 \ + --exclude m4/lt~obsolete.m4 \ + +VKD3D_D3D12_CONFIGURE_ARGS = \ + --disable-doxygen-doc \ + --disable-tests \ + --disable-demos \ + --without-ncurses \ + +VKD3D_D3D12_DEPENDS = vulkan-loader vulkan-headers spirv-headers + +$(eval $(call rules-source,vkd3d_d3d12,$(SRCDIR)/vkd3d)) +$(eval $(call rules-autoconf,vkd3d_d3d12,32)) +$(eval $(call rules-autoconf,vkd3d_d3d12,64)) + ## ## wine @@ -719,7 +748,7 @@ WINE_CONFIGURE_ARGS = \ WINE_CONFIGURE_ARGS64 = --enable-win64 -WINE_DEPENDS = gst_orc gstreamer gst_base +WINE_DEPENDS = gst_orc gstreamer gst_base vkd3d_d3d12 $(eval $(call rules-source,wine,$(SRCDIR)/wine)) $(eval $(call rules-autoconf,wine,32))