parent
3e4e8be82c
commit
856c5e422e
2 changed files with 41 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -220,5 +220,13 @@ wineopenxr: downloads
|
|||
$(MAKE) $(MFLAGS) $(MAKEOVERRIDES) -C $(BUILD_DIR)/ $(UNSTRIPPED) $(CCACHE_FLAG) wineopenxr && \
|
||||
cp -f $(BUILD_DIR)/dist/dist/lib64/wine/wineopenxr.dll.so /vagrant/wineopenxr/lib64/wine
|
||||
|
||||
battleye: | vagrant_share/battleye/v1/lib/wine
|
||||
battleye: | vagrant_share/battleye/v1/lib64/wine
|
||||
battleye: private SHELL := $(VAGRANT_SHELL)
|
||||
battleye: downloads
|
||||
$(MAKE) $(MFLAGS) $(MAKEOVERRIDES) -C $(BUILD_DIR)/ $(UNSTRIPPED) $(CCACHE_FLAG) battleye && \
|
||||
cp -f $(BUILD_DIR)/dist-battleye/v1/lib/wine/beclient.dll.so /vagrant/battleye/v1/lib/wine && \
|
||||
cp -f $(BUILD_DIR)/dist-battleye/v1/lib64/wine/beclient_x64.dll.so /vagrant/battleye/v1/lib64/wine
|
||||
|
||||
vagrant_share/%:
|
||||
mkdir -p $@
|
||||
|
|
|
@ -905,6 +905,39 @@ $(OBJ)/.mediaconv-post-build32:
|
|||
touch $@
|
||||
|
||||
|
||||
##
|
||||
## BattlEye Bridge
|
||||
##
|
||||
|
||||
ifneq ($(wildcard $(SRCDIR)/battleye-bridge/.*),)
|
||||
|
||||
BATTLEYE_LDFLAGS = -static-libgcc -static-libstdc++ -ldl
|
||||
|
||||
BATTLEYE_DEPENDS = wine
|
||||
|
||||
$(eval $(call rules-source,battleye,$(SRCDIR)/battleye-bridge))
|
||||
$(eval $(call rules-winemaker,battleye,32,beclient.dll))
|
||||
$(eval $(call rules-winemaker,battleye,64,beclient_x64.dll))
|
||||
|
||||
$(OBJ)/.battleye-post-source:
|
||||
mkdir -p $(BATTLEYE_OBJ32) && cp -a $(BATTLEYE_SRC)/beclient.spec $(BATTLEYE_OBJ32)/beclient.spec
|
||||
mkdir -p $(BATTLEYE_OBJ64) && cp -a $(BATTLEYE_SRC)/beclient.spec $(BATTLEYE_OBJ64)/beclient_x64.spec
|
||||
touch $@
|
||||
|
||||
$(OBJ)/.battleye-post-build64:
|
||||
mkdir -p $(OBJ)/dist-battleye/v1
|
||||
cp -r $(BATTLEYE_DST64)/* $(OBJ)/dist-battleye/v1/
|
||||
rm -rf $(BATTLEYE_DST64)/*
|
||||
touch $@
|
||||
|
||||
$(OBJ)/.battleye-post-build32:
|
||||
mkdir -p $(OBJ)/dist-battleye/v1
|
||||
cp -r $(BATTLEYE_DST32)/* $(OBJ)/dist-battleye/v1/
|
||||
rm -rf $(BATTLEYE_DST32)/*
|
||||
touch $@
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(CONTAINER),)
|
||||
ALL_TARGETS += fonts
|
||||
GOAL_TARGETS += fonts
|
||||
|
|
Loading…
Reference in a new issue