mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
Makefile: Teach module target to copy PE files
This commit is contained in:
parent
f44287aeb8
commit
8531ea2c9d
1 changed files with 10 additions and 2 deletions
12
Makefile
12
Makefile
|
|
@ -22,6 +22,13 @@ else
|
|||
DEPLOY_DIR := $(_build_name)
|
||||
endif
|
||||
|
||||
ifneq ($(module),)
|
||||
ifneq ($(findstring .,$(module)),)
|
||||
MODULE_SFX :=
|
||||
else
|
||||
MODULE_SFX := .dll
|
||||
endif
|
||||
endif
|
||||
|
||||
CONFIGURE_CMD := ../proton/configure.sh \
|
||||
--steam-runtime64=docker:steam-proton-dev --steam-runtime32=docker:steam-proton-dev32 \
|
||||
|
|
@ -104,8 +111,9 @@ deploy: configure
|
|||
module: configure
|
||||
mkdir -p vagrant_share/$(module)/lib/wine/ vagrant_share/$(module)/lib64/wine/
|
||||
vagrant ssh -c 'make -C $(BUILD_DIR)/ module=$(module) module && \
|
||||
cp $(BUILD_DIR)/obj-wine32/dlls/$(module)/$(module)*.so /vagrant/$(module)/lib/wine/ && \
|
||||
cp $(BUILD_DIR)/obj-wine64/dlls/$(module)/$(module)*.so /vagrant/$(module)/lib64/wine/'
|
||||
cp $(BUILD_DIR)/obj-wine32/dlls/$(module)/$(module)$(MODULE_SFX)* /vagrant/$(module)/lib/wine/ && \
|
||||
cp $(BUILD_DIR)/obj-wine64/dlls/$(module)/$(module)$(MODULE_SFX)* /vagrant/$(module)/lib64/wine/'
|
||||
rm -f vagrant_share/$(module)/lib*/wine/*.fake
|
||||
|
||||
dxvk: configure
|
||||
mkdir -p vagrant_share/dxvk/lib/wine/dxvk/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue