mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
makefile: Also pefixup .drv files.
This commit is contained in:
parent
959f3665c3
commit
920a2e52f0
@ -388,14 +388,14 @@ module32: private SHELL := $(CONTAINER_SHELL)
|
||||
module32: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure32
|
||||
module32: | all-source wine-configure32
|
||||
+$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ32)/dlls/$(module) && \
|
||||
find $(WINE_OBJ32)/dlls/$(module) -type f -name '*.dll' -printf '%p\0' | \
|
||||
find $(WINE_OBJ32)/dlls/$(module) -type f \( -name '*.dll' -o -name '*.drv' \) -printf '%p\0' | \
|
||||
xargs $(--verbose?) -0 -r -P$(J) -n1 $(SRC)/make/pefixup.py
|
||||
|
||||
module64: private SHELL := $(CONTAINER_SHELL)
|
||||
module64: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure64
|
||||
module64: | all-source wine-configure64
|
||||
+$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ64)/dlls/$(module) && \
|
||||
find $(WINE_OBJ64)/dlls/$(module) -type f -name '*.dll' -printf '%p\0' | \
|
||||
find $(WINE_OBJ64)/dlls/$(module) -type f \( -name '*.dll' -o -name '*.drv' \) -printf '%p\0' | \
|
||||
xargs $(--verbose?) -0 -r -P$(J) -n1 $(SRC)/make/pefixup.py
|
||||
|
||||
module: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure
|
||||
|
@ -64,7 +64,7 @@ $$(OBJ)/.$(1)-dist$(3):
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' ')' \
|
||||
-printf '--add-gnu-debuglink=$$(DST_LIBDIR$(3))/%p.debug\0--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs $(--verbose?) -0 -r -P$$(J) -n4 objcopy --file-alignment=4096
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f -name '*.dll' \
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f \( -name '*.dll' -o -name '*.drv' \) \
|
||||
-printf '$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs $(--verbose?) -0 -r -P$$(J) -n1 $$(SRC)/make/pefixup.py
|
||||
touch $$@
|
||||
@ -79,7 +79,7 @@ $$(OBJ)/.$(1)-dist$(3):
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' ')' \
|
||||
-printf '--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs $(--verbose?) -0 -r -P$$(J) -n3 objcopy --file-alignment=4096
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f -name '*.dll' \
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f \( -name '*.dll' -o -name '*.drv' \) \
|
||||
-printf '$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs $(--verbose?) -0 -r -P$$(J) -n1 $$(SRC)/make/pefixup.py
|
||||
touch $$@
|
||||
|
Loading…
Reference in New Issue
Block a user