VirtualBox

Changeset 71324 in vbox for trunk


Ignore:
Timestamp:
Mar 14, 2018 2:20:19 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: Cleanup/rework Makefile first of all: Defines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r71322 r71324  
    9494
    9595#
    96 # VirtualBox - The GUI program.
     96# VirtualBox - GUI Application.
    9797#
    9898USES += qt5
     
    106106VirtualBox_DEFS           =
    107107VirtualBox_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    108 VirtualBox_DEFS.linux     = VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
    109 VirtualBox_DEFS.solaris   = VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
    110 VirtualBox_DEFS.freebsd   = VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
    111 VirtualBox_DEFS.darwin    = VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
    112 VirtualBox_DEFS.win       = VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
     108VirtualBox_DEFS.linux     = VBOX_WS_X11
     109VirtualBox_DEFS.solaris   = VBOX_WS_X11
     110VirtualBox_DEFS.freebsd   = VBOX_WS_X11
     111VirtualBox_DEFS.darwin    = VBOX_WS_MAC
     112VirtualBox_DEFS.win       = VBOX_WS_WIN
     113VirtualBox_DEFS.linux     += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
     114VirtualBox_DEFS.solaris   += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
     115VirtualBox_DEFS.freebsd   += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
     116VirtualBox_DEFS.darwin    += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
     117VirtualBox_DEFS.win       += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
     118VirtualBox_DEFS.darwin    += VBOX_DARWIN_USE_NATIVE_CONTROLS
    113119VirtualBox_DEFS.win       += UNICODE QT_DLL
    114 ifdef VBOX_WITH_ICHAT_THEATER
    115  VirtualBox_DEFS.darwin   += VBOX_WITH_ICHAT_THEATER
    116 endif
    117 VirtualBox_DEFS.linux     += VBOX_WS_X11
    118 VirtualBox_DEFS.solaris   += VBOX_WS_X11
    119 VirtualBox_DEFS.freebsd   += VBOX_WS_X11
    120 VirtualBox_DEFS.darwin    += VBOX_WS_MAC
    121 VirtualBox_DEFS.win       += VBOX_WS_WIN
    122120VirtualBox_DEFS           += \
    123121        $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
     
    146144        $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
    147145ifdef VBOX_WITH_DEBUGGER_GUI
    148  VirtualBox_DEFS        += VBOX_WITH_DEBUGGER_GUI
     146 VirtualBox_DEFS          += VBOX_WITH_DEBUGGER_GUI
    149147 if "$(KBUILD_TYPE)" != "release"
    150   VirtualBox_DEFS       += VBOX_WITH_DEBUGGER_GUI_MENU
     148  VirtualBox_DEFS         += VBOX_WITH_DEBUGGER_GUI_MENU
    151149 endif
    152150endif
    153151ifdef VBOX_WITH_VIDEOHWACCEL
    154  VirtualBox_DEFS        += VBOX_WITH_VIDEOHWACCEL \
    155         VBOX_GUI_USE_QGL
     152 VirtualBox_DEFS          += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
    156153else ifdef VBOX_GUI_USE_QGL
    157  VirtualBox_DEFS        += VBOX_GUI_USE_QGL
     154 VirtualBox_DEFS          += VBOX_GUI_USE_QGL
    158155endif
    159156ifdef VBOX_WITH_LIBCURL
    160  VirtualBox_DEFS        += VBOX_GUI_WITH_NETWORK_MANAGER
     157 VirtualBox_DEFS          += VBOX_GUI_WITH_NETWORK_MANAGER
    161158 VBOX_GUI_WITH_NETWORK_MANAGER := 1
    162159endif
    163160ifneq ($(KBUILD_TYPE),release)
    164  VirtualBox_DEFS        += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     161 VirtualBox_DEFS          += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     162endif
     163ifdef VBOX_WITH_ICHAT_THEATER
     164 VirtualBox_DEFS.darwin   += VBOX_WITH_ICHAT_THEATER
    165165endif
    166166
     
    911911endif
    912912
    913 VirtualBox_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
    914913VirtualBox_SOURCES.darwin += \
    915914        src/platform/darwin/CocoaEventHelper.mm \
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