diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-01-25 12:05:21 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-01-25 12:05:21 +0000 |
commit | c5ccc89619f7698fe792267b42b0cbc6b5998e3a (patch) | |
tree | b8eeb8fdbafd8956e6a91ed76916f9c7cbd4790a /Makefile.kmk | |
parent | 6bf4279a6519312a1a617f48bb4a273dada14da8 (diff) | |
download | VirtualBox-svn-c5ccc89619f7698fe792267b42b0cbc6b5998e3a.tar.gz |
/Makefile.kmk: Install the Qt .dSYM bits when VBOX_WITH_QT_DSYMS is defined. Also, use EXEC_SOURCES rather than stuff all into SOURCES with MODE=755.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82854 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'Makefile.kmk')
-rw-r--r-- | Makefile.kmk | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/Makefile.kmk b/Makefile.kmk index 1c18eefc330..fc8c1dcaff9 100644 --- a/Makefile.kmk +++ b/Makefile.kmk @@ -155,19 +155,29 @@ endif ifeq ($(KBUILD_TARGET),darwin) include $(KBUILD_PATH)/units/qt5.kmk INSTALLS += qt5-bin - qt5-bin_MODE = 755 qt5-bin_INST = $(INST_VIRTUALBOX)Contents/ + qt5-bin_EXEC_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ + $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/5/$(qtmod)) qt5-bin_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ - $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/5/$(qtmod) \ - $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/5/Resources/Info.plist) - qt5-bin_SOURCES += \ - $(PATH_SDK_QT5)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \ - $(PATH_SDK_QT5)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \ - $(PATH_SDK_QT5)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL) + $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/5/Resources/Info.plist) + ifdef VBOX_WITH_QT_DSYMS + qt5-bin_SOURCES += $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ + $(PATH_SDK_QT5_LIB)/$(qtmod).framework.dSYM/Contents/Info.plist=>Frameworks/$(qtmod).framework.dSYM/Contents/Info.plist \ + $(PATH_SDK_QT5_LIB)/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)=>Frameworks/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)) + endif + qt5-bin_EXEC_SOURCES += \ + $(PATH_SDK_QT5)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \ + $(PATH_SDK_QT5)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \ + $(PATH_SDK_QT5)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL) + ifdef VBOX_WITH_QT_DSYMS + qt5-bin_SOURCES += $(foreach qtplat, libqcocoa libqminimal libqoffscreen, \ + $(PATH_SDK_QT5)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist \ + $(PATH_SDK_QT5)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)) + endif qt5-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \ - Frameworks/$(qtmod).framework/Versions/Current=>5 \ - Frameworks/$(qtmod).framework/$(qtmod)=>Versions/5/$(qtmod) \ - Frameworks/$(qtmod).framework/Resources=>Versions/5/Resources) + Frameworks/$(qtmod).framework/Versions/Current=>5 \ + Frameworks/$(qtmod).framework/$(qtmod)=>Versions/5/$(qtmod) \ + Frameworks/$(qtmod).framework/Resources=>Versions/5/Resources) else # win x11 if1of ($(KBUILD_TARGET), linux solaris) ifndef VBOX_ONLY_BUILD |