VirtualBox

Changeset 88183 in vbox


Ignore:
Timestamp:
Mar 18, 2021 9:52:39 AM (4 years ago)
Author:
vboxsync
Message:

Installer/darwin: Try just make stuff build without qt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r88180 r88183  
    474474
    475475VBOX_DI_VBAPP_UNIVERSAL_PROGS = \
    476         MacOS/vmstarter \
    477476        $(if $(VBOX_WITH_VBOX_IMG)$(VBOX_WITH_TESTCASES),MacOS/vbox-img,) \
    478477        $(if $(VBOX_WITH_VBOXIMGMOUNT),MacOS/vboximg-mount,)
     478ifdef VBOX_WITH_QTGUI
     479 VBOX_DI_VBAPP_UNIVERSAL_PROGS += \
     480        MacOS/vmstarter
     481endif
    479482
    480483VBOX_DI_VBAPP_OTHER_UNIVERSAL_BINS = \
     
    505508       $(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES) \
    506509        MacOS/components/VBoxXPCOMBase.xpt \
    507         MacOS/components/VirtualBox_XPCOM.xpt \
    508         Resources/vmstarter.app/Contents/Info.plist \
    509         Resources/vmstarter.app/Contents/PkgInfo \
    510        $(addprefix Resources/vmstarter.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES))
     510        MacOS/components/VirtualBox_XPCOM.xpt
    511511ifdef VBOX_WITH_QTGUI # Yeah, the output w/o the qt gui is a bit useless. But we just want it building now.
    512512 VBOX_DI_VBAPP_MISC_FILES += \
     
    515515        Resources/VirtualBoxVM.app/Contents/Info.plist \
    516516        Resources/VirtualBoxVM.app/Contents/PkgInfo \
    517         $(addprefix Resources/VirtualBoxVM.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES))
     517        $(addprefix Resources/VirtualBoxVM.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES)) \
     518        Resources/vmstarter.app/Contents/Info.plist \
     519        Resources/vmstarter.app/Contents/PkgInfo \
     520        $(addprefix Resources/vmstarter.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES))
    518521endif
    519522ifdef VBOX_WITH_DOCS_PACKING
     
    532535        MacOS/VBoxEFI64.fd
    533536endif
    534 VBOX_DI_VBAPP_SYMLINKS = \
    535         Resources/vmstarter.app/Contents/MacOS=>../../../MacOS/
     537VBOX_DI_VBAPP_SYMLINKS =
    536538ifdef VBOX_WITH_QTGUI
    537539 VBOX_DI_VBAPP_DYLIBS += \
     
    544546        $(foreach qtmod, $(VBOX_QT_MOD_NAMES), Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/Info.plist)
    545547 VBOX_DI_VBAPP_SYMLINKS += \
     548        Resources/vmstarter.app/Contents/MacOS=>../../../MacOS/
    546549        $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \
    547550        ,Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_VERSION_MAJOR) )
     
    756759        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app,,$(if-expr defined(VBOX_WITH_MACOS_HARDENED_RUNTIME)\
    757760                ,--entitlements="$(PATH_ROOT)/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist",))
     761 ifdef VBOX_WITH_QTGUI
    758762        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/vmstarter.app,,)
     763 endif
    759764        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP),,--deep)
    760765 ifdef VBOX_WITH_MACOS_HARDENED_RUNTIME # HACK ALERT! --deep fries the entitlements, so redo w/o --deep now.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette