VirtualBox

Changeset 88179 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Mar 18, 2021 9:19:06 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

    r88176 r88179  
    364364
    365365VBOX_DI_VBAPP_PROGS_HARDENED = \
    366         Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM \
    367366        MacOS/VBoxHeadless \
    368367        MacOS/VBoxNetDHCP \
    369368        MacOS/VBoxNetNAT \
    370369        MacOS/VBoxVMMPreload
     370ifdef VBOX_WITH_QTGUI
     371 VBOX_DI_VBAPP_PROGS_HARDENED += \
     372        Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
     373endif
    371374
    372375VBOX_DI_VBAPP_PROGS = \
     
    380383        MacOS/VBoxAutostart \
    381384        $(if $(VBOX_WITH_WEBSERVICES),MacOS/vboxwebsrv) \
    382         MacOS/VirtualBox \
    383385        $(if $(VBOX_WITH_DTRACE),MacOS/VBoxDTrace,)
     386ifdef VBOX_WITH_QTGUI
     387 VBOX_DI_VBAPP_PROGS += \
     388        MacOS/VirtualBox
     389endif
    384390
    385391VBOX_DI_VBAPP_DYLIBS = \
     
    401407        MacOS/VBoxAuth.dylib \
    402408        MacOS/VBoxAuthSimple.dylib \
    403         $(if $(VBOX_WITH_GUEST_CONTROL),MacOS/VBoxGuestControlSvc.dylib,) \
    404         MacOS/UICommon.dylib
    405 ifneq ($(wildcard $(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/accessible/libqtaccessiblewidgets.dylib),)
     409        $(if $(VBOX_WITH_GUEST_CONTROL),MacOS/VBoxGuestControlSvc.dylib,)
     410ifdef VBOX_WITH_QTGUI
    406411 VBOX_DI_VBAPP_DYLIBS += \
    407         MacOS/accessible/libqtaccessiblewidgets.dylib
     412        MacOS/UICommon.dylib
     413 ifneq ($(wildcard $(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/accessible/libqtaccessiblewidgets.dylib),)
     414  VBOX_DI_VBAPP_DYLIBS += \
     415        MacOS/accessible/libqtaccessiblewidgets.dylib
     416 endif
    408417endif
    409418if defined(VBOX_WITH_VRDP) && !defined(VBOX_WITH_EXTPACK_PUEL)
     
    491500
    492501VBOX_DI_VBAPP_MISC_FILES = \
    493         Info.plist \
    494         PkgInfo \
    495502       $(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES) \
    496503        MacOS/components/VBoxXPCOMBase.xpt \
    497504        MacOS/components/VirtualBox_XPCOM.xpt \
    498         Resources/VirtualBoxVM.app/Contents/Info.plist \
    499         Resources/VirtualBoxVM.app/Contents/PkgInfo \
    500        $(addprefix Resources/VirtualBoxVM.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES)) \
    501505        Resources/vmstarter.app/Contents/Info.plist \
    502506        Resources/vmstarter.app/Contents/PkgInfo \
    503507       $(addprefix Resources/vmstarter.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES))
     508ifdef VBOX_WITH_QTGUI # Yeah, the output w/o the qt gui is a bit useless. But we just want it building now.
     509 VBOX_DI_VBAPP_MISC_FILES += \
     510        Info.plist \
     511        PkgInfo \
     512        Resources/VirtualBoxVM.app/Contents/Info.plist \
     513        Resources/VirtualBoxVM.app/Contents/PkgInfo \
     514        $(addprefix Resources/VirtualBoxVM.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES))
     515endif
    504516ifdef VBOX_WITH_DOCS_PACKING
    505517VBOX_DI_VBAPP_MISC_FILES += \
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