VirtualBox

Changeset 72217 in vbox for trunk/src


Ignore:
Timestamp:
May 15, 2018 3:04:04 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: Hide all the VirtualBoxRT Makefile code under ifdef.

File:
1 edited

Legend:

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

    r72216 r72217  
    171171
    172172
    173 #
    174 # VirtualBox Virtual Machine Application
    175 #
    176 VirtualBoxRT_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
    177 VirtualBoxRT_NAME = VirtualBoxRT
    178 VirtualBoxRT_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
    179 
    180 VirtualBoxRT_DEFS           = VBOX_RUNTIME_UI
    181 VirtualBoxRT_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    182 VirtualBoxRT_DEFS.linux     = VBOX_WS_X11
    183 VirtualBoxRT_DEFS.solaris   = VBOX_WS_X11
    184 VirtualBoxRT_DEFS.freebsd   = VBOX_WS_X11
    185 VirtualBoxRT_DEFS.darwin    = VBOX_WS_MAC
    186 VirtualBoxRT_DEFS.win       = VBOX_WS_WIN
    187 VirtualBoxRT_DEFS.linux     += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
    188 VirtualBoxRT_DEFS.solaris   += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
    189 VirtualBoxRT_DEFS.freebsd   += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
    190 VirtualBoxRT_DEFS.darwin    += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
    191 VirtualBoxRT_DEFS.win       += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
    192 VirtualBoxRT_DEFS.darwin    += VBOX_DARWIN_USE_NATIVE_CONTROLS
    193 VirtualBoxRT_DEFS.win       += UNICODE QT_DLL
    194 VirtualBoxRT_DEFS           += \
     173ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     174 #
     175 # VirtualBox Virtual Machine Application
     176 #
     177 VirtualBoxRT_TEMPLATE       := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
     178 VirtualBoxRT_NAME = VirtualBoxRT
     179 VirtualBoxRT_SDKS.win       = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
     180
     181 VirtualBoxRT_DEFS           = VBOX_RUNTIME_UI
     182 VirtualBoxRT_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
     183 VirtualBoxRT_DEFS.linux     = VBOX_WS_X11
     184 VirtualBoxRT_DEFS.solaris   = VBOX_WS_X11
     185 VirtualBoxRT_DEFS.freebsd   = VBOX_WS_X11
     186 VirtualBoxRT_DEFS.darwin    = VBOX_WS_MAC
     187 VirtualBoxRT_DEFS.win       = VBOX_WS_WIN
     188 VirtualBoxRT_DEFS.linux     += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
     189 VirtualBoxRT_DEFS.solaris   += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
     190 VirtualBoxRT_DEFS.freebsd   += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
     191 VirtualBoxRT_DEFS.darwin    += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
     192 VirtualBoxRT_DEFS.win       += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
     193 VirtualBoxRT_DEFS.darwin    += VBOX_DARWIN_USE_NATIVE_CONTROLS
     194 VirtualBoxRT_DEFS.win       += UNICODE QT_DLL
     195 VirtualBoxRT_DEFS           += \
    195196        $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
    196197        $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
     
    218219        $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
    219220        $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
    220 ifdef VBOX_WITH_DEBUGGER_GUI
    221  VirtualBoxRT_DEFS          += VBOX_WITH_DEBUGGER_GUI
    222  if "$(KBUILD_TYPE)" != "release"
    223   VirtualBoxRT_DEFS         += VBOX_WITH_DEBUGGER_GUI_MENU
    224  endif
    225 endif
    226 ifdef VBOX_WITH_VIDEOHWACCEL
    227  VirtualBoxRT_DEFS          += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
    228 else ifdef VBOX_GUI_USE_QGL
    229  VirtualBoxRT_DEFS          += VBOX_GUI_USE_QGL
    230 endif
    231 ifdef VBOX_WITH_LIBCURL
    232  VirtualBoxRT_DEFS          += VBOX_GUI_WITH_NETWORK_MANAGER
    233  VBOX_GUI_WITH_NETWORK_MANAGER := 1
    234 endif
    235 ifneq ($(KBUILD_TYPE),release)
    236  VirtualBoxRT_DEFS          += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    237 endif
    238 ifdef VBOX_WITH_ICHAT_THEATER
    239  VirtualBoxRT_DEFS.darwin   += VBOX_WITH_ICHAT_THEATER
    240 endif
    241 
    242 
    243 #
    244 # VirtualBox - GUI Global Shared Library.
    245 #
    246 VBoxGlobal_TEMPLATE = VBOXQTGUI
    247 VBoxGlobal_NAME = VBoxGlobal
    248 VBoxGlobal_DEFS         =
    249 VBoxGlobal_DEFS         += VBOX_GUI_LIBRARY
    250 VBoxGlobal_DEFS.darwin  = VBOX_WS_MAC
    251 VBoxGlobal_DEFS.freebsd = VBOX_WS_X11
    252 VBoxGlobal_DEFS.linux   = VBOX_WS_X11
    253 VBoxGlobal_DEFS.solaris = VBOX_WS_X11
    254 VBoxGlobal_DEFS.win     = VBOX_WS_WIN
    255 VBoxGlobal_DEFS.debug   = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    256 VBoxGlobal_DEFS.darwin  += VBOX_DARWIN_USE_NATIVE_CONTROLS
    257 #VBoxGlobal_DEFS.win     += UNICODE QT_DLL
    258 VBoxGlobal_DEFS         += \
     221 ifdef VBOX_WITH_DEBUGGER_GUI
     222  VirtualBoxRT_DEFS          += VBOX_WITH_DEBUGGER_GUI
     223  if "$(KBUILD_TYPE)" != "release"
     224   VirtualBoxRT_DEFS         += VBOX_WITH_DEBUGGER_GUI_MENU
     225  endif
     226 endif
     227 ifdef VBOX_WITH_VIDEOHWACCEL
     228  VirtualBoxRT_DEFS          += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
     229 else ifdef VBOX_GUI_USE_QGL
     230  VirtualBoxRT_DEFS          += VBOX_GUI_USE_QGL
     231 endif
     232 ifdef VBOX_WITH_LIBCURL
     233  VirtualBoxRT_DEFS          += VBOX_GUI_WITH_NETWORK_MANAGER
     234  VBOX_GUI_WITH_NETWORK_MANAGER := 1
     235 endif
     236 ifneq ($(KBUILD_TYPE),release)
     237  VirtualBoxRT_DEFS          += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     238 endif
     239 ifdef VBOX_WITH_ICHAT_THEATER
     240  VirtualBoxRT_DEFS.darwin   += VBOX_WITH_ICHAT_THEATER
     241 endif
     242
     243
     244 #
     245 # VirtualBox - GUI Global Shared Library.
     246 #
     247 VBoxGlobal_TEMPLATE = VBOXQTGUI
     248 VBoxGlobal_NAME = VBoxGlobal
     249 VBoxGlobal_DEFS         =
     250 VBoxGlobal_DEFS         += VBOX_GUI_LIBRARY
     251 VBoxGlobal_DEFS.darwin  = VBOX_WS_MAC
     252 VBoxGlobal_DEFS.freebsd = VBOX_WS_X11
     253 VBoxGlobal_DEFS.linux   = VBOX_WS_X11
     254 VBoxGlobal_DEFS.solaris = VBOX_WS_X11
     255 VBoxGlobal_DEFS.win     = VBOX_WS_WIN
     256 VBoxGlobal_DEFS.debug   = VBOX_CHECK_STATE # QT_FATAL_ASSERT
     257 VBoxGlobal_DEFS.darwin  += VBOX_DARWIN_USE_NATIVE_CONTROLS
     258 #VBoxGlobal_DEFS.win     += UNICODE QT_DLL
     259 VBoxGlobal_DEFS         += \
    259260        $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
    260261        $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
     
    274275        $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
    275276        $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
    276 ifdef VBOX_WITH_DEBUGGER_GUI
    277  VBoxGlobal_DEFS        += VBOX_WITH_DEBUGGER_GUI
    278  if "$(KBUILD_TYPE)" != "release"
    279   VBoxGlobal_DEFS       += VBOX_WITH_DEBUGGER_GUI_MENU
    280  endif
    281 endif
    282 ifdef VBOX_WITH_VIDEOHWACCEL
    283  VBoxGlobal_DEFS        += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
    284 else ifdef VBOX_GUI_USE_QGL
    285  VBoxGlobal_DEFS        += VBOX_GUI_USE_QGL
    286 endif
    287 ifdef VBOX_WITH_LIBCURL
    288  VBoxGlobal_DEFS        += VBOX_GUI_WITH_NETWORK_MANAGER
    289  VBOX_GUI_WITH_NETWORK_MANAGER := 1
    290 endif
    291 ifneq ($(KBUILD_TYPE),release)
    292  VBoxGlobal_DEFS        += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    293 endif
    294 ifdef VBOX_WITH_ICHAT_THEATER
    295  VBoxGlobal_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
     277 ifdef VBOX_WITH_DEBUGGER_GUI
     278  VBoxGlobal_DEFS        += VBOX_WITH_DEBUGGER_GUI
     279  if "$(KBUILD_TYPE)" != "release"
     280   VBoxGlobal_DEFS       += VBOX_WITH_DEBUGGER_GUI_MENU
     281  endif
     282 endif
     283 ifdef VBOX_WITH_VIDEOHWACCEL
     284  VBoxGlobal_DEFS        += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
     285 else ifdef VBOX_GUI_USE_QGL
     286  VBoxGlobal_DEFS        += VBOX_GUI_USE_QGL
     287 endif
     288 ifdef VBOX_WITH_LIBCURL
     289  VBoxGlobal_DEFS        += VBOX_GUI_WITH_NETWORK_MANAGER
     290  VBOX_GUI_WITH_NETWORK_MANAGER := 1
     291 endif
     292 ifneq ($(KBUILD_TYPE),release)
     293  VBoxGlobal_DEFS        += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     294 endif
     295 ifdef VBOX_WITH_ICHAT_THEATER
     296  VBoxGlobal_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
     297 endif
    296298endif
    297299
     
    354356        $(VBOX_GRAPHICS_INCS)
    355357
    356 #
    357 # VirtualBox Virtual Machine Application
    358 # Include folders.
    359 #
    360 VirtualBoxRT_INCS = \
     358ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     359 #
     360 # VirtualBox Virtual Machine Application
     361 # Include folders.
     362 #
     363 VirtualBoxRT_INCS = \
    361364        $(VBOX_GUI_INC_DIRS) \
    362365        $(VirtualBoxRT_0_OUTDIR)/include \
     
    364367        $(VBOX_GRAPHICS_INCS)
    365368
    366 #
    367 # VirtualBox - GUI Global Shared Library.
    368 # Include folders.
    369 #
    370 VBoxGlobal_INCS = \
     369 #
     370 # VirtualBox - GUI Global Shared Library.
     371 # Include folders.
     372 #
     373 VBoxGlobal_INCS = \
    371374        $(VBOX_GUI_INC_DIRS) \
    372375        $(VBoxGlobal_0_OUTDIR)/include
     376endif
    373377
    374378
     
    411415
    412416
    413 #
    414 # VirtualBox Virtual Machine Application
    415 # Compiling/linking flags.
    416 #
    417 ifneq ($(KBUILD_TARGET),win)
    418 VirtualBoxRT_CXXFLAGS += -Wno-switch
    419 endif
    420 
    421 ## @todo we're using a number of deprecated APIs, please fix and remove these!
    422 ifdef VBOX_WITH_NEW_XCODE
    423  VirtualBoxRT_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
    424  VirtualBoxRT_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
    425  VirtualBoxRT_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    426 else
    427  VirtualBoxRT_CXXFLAGS.darwin    += -Wno-deprecated-declarations
    428  VirtualBoxRT_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
    429  VirtualBoxRT_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
    430 endif
    431 
    432 ifeq ($(KBUILD_TYPE),release)
    433  VirtualBoxRT_LDFLAGS.win   += /SUBSYSTEM:windows
    434 else
    435  VirtualBoxRT_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
    436  VirtualBoxRT_LDFLAGS.win   += /SUBSYSTEM:console
    437 endif
    438 
    439 VirtualBoxRT_LDFLAGS.darwin = \
     417ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     418 #
     419 # VirtualBox Virtual Machine Application
     420 # Compiling/linking flags.
     421 #
     422 ifneq ($(KBUILD_TARGET),win)
     423  VirtualBoxRT_CXXFLAGS += -Wno-switch
     424 endif
     425
     426 ## @todo we're using a number of deprecated APIs, please fix and remove these!
     427 ifdef VBOX_WITH_NEW_XCODE
     428  VirtualBoxRT_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
     429  VirtualBoxRT_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
     430  VirtualBoxRT_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
     431 else
     432  VirtualBoxRT_CXXFLAGS.darwin    += -Wno-deprecated-declarations
     433  VirtualBoxRT_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
     434  VirtualBoxRT_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
     435 endif
     436
     437 ifeq ($(KBUILD_TYPE),release)
     438  VirtualBoxRT_LDFLAGS.win   += /SUBSYSTEM:windows
     439 else
     440  VirtualBoxRT_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
     441  VirtualBoxRT_LDFLAGS.win   += /SUBSYSTEM:console
     442 endif
     443
     444 VirtualBoxRT_LDFLAGS.darwin = \
    440445        -framework AppKit -framework Carbon -framework IOKit \
    441446        $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBoxRT.dylib)
    442 ifdef VBOX_WITH_ICHAT_THEATER
    443  VirtualBoxRT_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
    444 endif
    445 
    446 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    447  VirtualBoxRT_LDFLAGS.darwin += -framework OpenGL
    448 endif
    449 
    450 
    451 #
    452 # VirtualBox - GUI Global Shared Library.
    453 # Compiling/linking flags.
    454 #
    455 
    456 ## @todo we're using a number of deprecated APIs, please fix and remove these!
    457 ifdef VBOX_WITH_NEW_XCODE
    458  VBoxGlobal_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
    459  VBoxGlobal_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
    460  VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    461 else
    462  VBoxGlobal_CXXFLAGS.darwin    += -Wno-deprecated-declarations
    463  VBoxGlobal_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
    464  VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
    465 endif
    466 
    467 VBoxGlobal_LDFLAGS.darwin = \
     447 ifdef VBOX_WITH_ICHAT_THEATER
     448  VirtualBoxRT_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
     449 endif
     450
     451 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     452  VirtualBoxRT_LDFLAGS.darwin += -framework OpenGL
     453 endif
     454
     455
     456 #
     457 # VirtualBox - GUI Global Shared Library.
     458 # Compiling/linking flags.
     459 #
     460
     461 ## @todo we're using a number of deprecated APIs, please fix and remove these!
     462 ifdef VBOX_WITH_NEW_XCODE
     463  VBoxGlobal_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
     464  VBoxGlobal_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
     465  VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
     466 else
     467  VBoxGlobal_CXXFLAGS.darwin    += -Wno-deprecated-declarations
     468  VBoxGlobal_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
     469  VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
     470 endif
     471
     472 VBoxGlobal_LDFLAGS.darwin = \
    468473        -framework AppKit -framework Carbon -framework IOKit
    469474
    470 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    471  VBoxGlobal_LDFLAGS.darwin += -framework OpenGL
     475 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     476  VBoxGlobal_LDFLAGS.darwin += -framework OpenGL
     477 endif
    472478endif
    473479
     
    528534
    529535
    530 #
    531 # VirtualBox Virtual Machine Application
    532 # Libraries.
    533 #
    534 
    535 # Library required for the hdd backend enumeration:
    536 VirtualBoxRT_LIBS = $(LIB_DDU)
    537 
    538 # Runtime library loader required on X11 hosts:
    539 if1of ($(KBUILD_TARGET), linux netbsd openbsd)
    540  VirtualBoxRT_LIBS += dl
    541 endif
    542 
    543 # Xinerama library required for multi-monitor support:
    544 VirtualBoxRT_LIBS.linux   += Xinerama
    545 VirtualBoxRT_LIBS.solaris += Xinerama
    546 VirtualBoxRT_LIBS.freebsd += Xinerama
    547 
    548 # XCB library required for direct XCB native code support:
    549 VirtualBoxRT_LIBS.linux   += xcb
    550 VirtualBoxRT_LIBS.solaris += xcb
    551 VirtualBoxRT_LIBS.freebsd += xcb
    552 
    553 # Various Windows hosts libraries:
    554 VirtualBoxRT_LIBS.win = \
     536ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     537 #
     538 # VirtualBox Virtual Machine Application
     539 # Libraries.
     540 #
     541
     542 # Library required for the hdd backend enumeration:
     543 VirtualBoxRT_LIBS = $(LIB_DDU)
     544
     545 # Runtime library loader required on X11 hosts:
     546 if1of ($(KBUILD_TARGET), linux netbsd openbsd)
     547  VirtualBoxRT_LIBS += dl
     548 endif
     549
     550 # Xinerama library required for multi-monitor support:
     551 VirtualBoxRT_LIBS.linux   += Xinerama
     552 VirtualBoxRT_LIBS.solaris += Xinerama
     553 VirtualBoxRT_LIBS.freebsd += Xinerama
     554
     555 # XCB library required for direct XCB native code support:
     556 VirtualBoxRT_LIBS.linux   += xcb
     557 VirtualBoxRT_LIBS.solaris += xcb
     558 VirtualBoxRT_LIBS.freebsd += xcb
     559
     560 # Various Windows hosts libraries:
     561 VirtualBoxRT_LIBS.win = \
    555562        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
    556563        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
    557564        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
    558565
    559 # VBox keyboard shared library for X11 hosts:
    560 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
    561  VirtualBoxRT_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
    562 endif
    563 
    564 # These are 2D Video Acceleration and 3D Acceleration related libs:
    565 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    566  VirtualBoxRT_LIBS.win       += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
    567  VirtualBoxRT_LIBS.solaris   += GL
    568  VirtualBoxRT_LIBS.linux     += GL
    569  VirtualBoxRT_LIBS.freebsd   += GL
    570 endif
    571 ifdef VBOX_WITH_CROGL
    572  VirtualBoxRT_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
    573 endif
    574 
    575 # This one is global shared GUI library:
    576 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
    577  ifeq ($(KBUILD_TARGET),win)
    578   VirtualBoxRT_LIBS += $(PATH_STAGE_LIB)/VBoxGlobal$(VBOX_SUFF_LIB)
    579  else
    580   VirtualBoxRT_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
    581  endif
    582 endif
    583 
    584 
    585 #
    586 # VirtualBox - GUI Global Shared Library.
    587 # Libraries.
    588 #
    589 
    590 # Xinerama library required for multi-monitor support:
    591 VBoxGlobal_LIBS.linux   += Xinerama
    592 VBoxGlobal_LIBS.solaris += Xinerama
    593 VBoxGlobal_LIBS.freebsd += Xinerama
    594 
    595 # Various Windows hosts libraries:
    596 VBoxGlobal_LIBS.win = \
     566 # VBox keyboard shared library for X11 hosts:
     567 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     568  VirtualBoxRT_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
     569 endif
     570
     571 # These are 2D Video Acceleration and 3D Acceleration related libs:
     572 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     573  VirtualBoxRT_LIBS.win       += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
     574  VirtualBoxRT_LIBS.solaris   += GL
     575  VirtualBoxRT_LIBS.linux     += GL
     576  VirtualBoxRT_LIBS.freebsd   += GL
     577 endif
     578 ifdef VBOX_WITH_CROGL
     579  VirtualBoxRT_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
     580 endif
     581
     582 # This one is global shared GUI library:
     583 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     584  ifeq ($(KBUILD_TARGET),win)
     585   VirtualBoxRT_LIBS += $(PATH_STAGE_LIB)/VBoxGlobal$(VBOX_SUFF_LIB)
     586  else
     587   VirtualBoxRT_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
     588  endif
     589 endif
     590
     591
     592 #
     593 # VirtualBox - GUI Global Shared Library.
     594 # Libraries.
     595 #
     596
     597 # Xinerama library required for multi-monitor support:
     598 VBoxGlobal_LIBS.linux   += Xinerama
     599 VBoxGlobal_LIBS.solaris += Xinerama
     600 VBoxGlobal_LIBS.freebsd += Xinerama
     601
     602 # Various Windows hosts libraries:
     603 VBoxGlobal_LIBS.win = \
    597604        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
    598605
    599 # VBox keyboard shared library for X11 hosts:
    600 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
    601  VBoxGlobal_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
    602 endif
    603 
    604 # These are 2D Video Acceleration and 3D Acceleration related libs:
    605 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    606  VBoxGlobal_LIBS.win     += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
    607  VBoxGlobal_LIBS.solaris += GL
    608  VBoxGlobal_LIBS.linux   += GL
    609  VBoxGlobal_LIBS.freebsd += GL
    610 endif
    611 ifdef VBOX_WITH_CROGL
    612  VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
    613 endif
    614 if defined(VBOX_WITH_VIDEOHWACCEL)
    615  if1of ($(KBUILD_TARGET), win linux freebsd)
    616   VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB)
     606 # VBox keyboard shared library for X11 hosts:
     607 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     608  VBoxGlobal_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
     609 endif
     610
     611 # These are 2D Video Acceleration and 3D Acceleration related libs:
     612 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     613  VBoxGlobal_LIBS.win     += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
     614  VBoxGlobal_LIBS.solaris += GL
     615  VBoxGlobal_LIBS.linux   += GL
     616  VBoxGlobal_LIBS.freebsd += GL
     617 endif
     618 ifdef VBOX_WITH_CROGL
     619  VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
     620 endif
     621 if defined(VBOX_WITH_VIDEOHWACCEL)
     622  if1of ($(KBUILD_TARGET), win linux freebsd)
     623   VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB)
     624  endif
    617625 endif
    618626endif
     
    899907
    900908
    901 #
    902 # VirtualBox Virtual Machine Application
    903 # Headers containing definitions of classes that use the Q_OBJECT macro.
    904 #
    905 VirtualBoxRT_QT_MOCHDRS = \
     909ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     910 #
     911 # VirtualBox Virtual Machine Application
     912 # Headers containing definitions of classes that use the Q_OBJECT macro.
     913 #
     914 VirtualBoxRT_QT_MOCHDRS = \
    906915        src/globals/UIStarter.h \
    907916        src/runtime/UIConsoleEventHandler.h \
     
    953962        src/wizards/firstrun/UIWizardFirstRunPageBasic.h
    954963
    955 ifdef VBOX_WITH_DRAG_AND_DROP
    956  VirtualBoxRT_QT_MOCHDRS += \
     964 ifdef VBOX_WITH_DRAG_AND_DROP
     965  VirtualBoxRT_QT_MOCHDRS += \
    957966        src/runtime/UIDnDHandler.h
    958  ifdef VBOX_WITH_DRAG_AND_DROP_GH
    959   VirtualBoxRT_QT_MOCHDRS += \
     967  ifdef VBOX_WITH_DRAG_AND_DROP_GH
     968   VirtualBoxRT_QT_MOCHDRS += \
    960969        src/runtime/UIDnDMIMEData.h
    961  endif
    962 endif
    963 
    964 
    965 #
    966 # VirtualBox - GUI Global Shared Library.
    967 # Headers containing definitions of classes that use the Q_OBJECT macro.
    968 #
    969 VBoxGlobal_QT_MOCHDRS = \
     970  endif
     971 endif
     972
     973
     974 #
     975 # VirtualBox - GUI Global Shared Library.
     976 # Headers containing definitions of classes that use the Q_OBJECT macro.
     977 #
     978 VBoxGlobal_QT_MOCHDRS = \
    970979        src/VBoxAboutDlg.h \
    971980        src/VBoxLicenseViewer.h \
     
    10901099        src/wizards/newvd/UIWizardNewVDPageExpert.h
    10911100
    1092 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    1093  VBoxGlobal_QT_MOCHDRS += \
     1101 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
     1102  VBoxGlobal_QT_MOCHDRS += \
    10941103        src/net/UIDownloader.h \
    10951104        src/net/UIDownloaderAdditions.h \
     
    11061115        src/settings/global/UIGlobalSettingsProxy.h \
    11071116        src/settings/global/UIGlobalSettingsUpdate.h
    1108 endif
    1109 
    1110 VBoxGlobal_QT_MOCHDRS.darwin += \
     1117 endif
     1118
     1119 VBoxGlobal_QT_MOCHDRS.darwin += \
    11111120        src/platform/darwin/UICocoaSpecialControls.h \
    11121121        src/platform/darwin/UIWindowMenuManager.h
     1122endif
    11131123
    11141124
     
    11851195
    11861196
    1187 #
    1188 # VirtualBox Virtual Machine Application
    1189 # Sources containing local definitions of classes that use the Q_OBJECT macro.
    1190 #
    1191 VirtualBoxRT_QT_MOCSRCS = \
     1197ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     1198 #
     1199 # VirtualBox Virtual Machine Application
     1200 # Sources containing local definitions of classes that use the Q_OBJECT macro.
     1201 #
     1202 VirtualBoxRT_QT_MOCSRCS = \
    11921203        src/runtime/UIConsoleEventHandler.cpp \
    11931204        src/runtime/UIFrameBuffer.cpp \
     
    12011212
    12021213
    1203 #
    1204 # VirtualBox - GUI Global Shared Library.
    1205 # Sources.
    1206 #
    1207 VBoxGlobal_QT_MOCSRCS = \
     1214 #
     1215 # VirtualBox - GUI Global Shared Library.
     1216 # Sources.
     1217 #
     1218 VBoxGlobal_QT_MOCSRCS = \
    12081219        src/extensions/QIAdvancedSlider.cpp \
    12091220        src/extensions/QIArrowSplitter.cpp \
     
    12321243        src/widgets/UIStatusBarEditorWindow.cpp
    12331244
    1234 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    1235  VBoxGlobal_QT_MOCSRCS += \
     1245 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
     1246  VBoxGlobal_QT_MOCSRCS += \
    12361247        src/net/UINetworkReply.cpp \
    12371248        src/net/UIUpdateManager.cpp
    1238 endif
    1239 
    1240 ifdef VBOX_WITH_XPCOM
    1241  VBoxGlobal_QT_MOCSRCS += \
     1249 endif
     1250
     1251 ifdef VBOX_WITH_XPCOM
     1252  VBoxGlobal_QT_MOCSRCS += \
    12421253        src/globals/COMDefs.cpp
    1243 endif
    1244 
    1245 VBoxGlobal_QT_MOCSRCS.darwin += \
     1254 endif
     1255
     1256 VBoxGlobal_QT_MOCSRCS.darwin += \
    12461257        src/platform/darwin/UIWindowMenuManager.cpp
    12471258
    1248 VBoxGlobal_QT_MOCSRCS.linux += \
     1259 VBoxGlobal_QT_MOCSRCS.linux += \
    12491260        src/globals/UIDesktopWidgetWatchdog.cpp
    1250 VBoxGlobal_QT_MOCSRCS.solaris += \
     1261 VBoxGlobal_QT_MOCSRCS.solaris += \
    12511262        src/globals/UIDesktopWidgetWatchdog.cpp
    1252 VBoxGlobal_QT_MOCSRCS.freebsd += \
     1263 VBoxGlobal_QT_MOCSRCS.freebsd += \
    12531264        src/globals/UIDesktopWidgetWatchdog.cpp
     1265endif
    12541266
    12551267
     
    15941606
    15951607
    1596 #
    1597 # VirtualBox Virtual Machine Application
    1598 # Sources.
    1599 #
    1600 VirtualBoxRT_SOURCES = \
     1608ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     1609 #
     1610 # VirtualBox Virtual Machine Application
     1611 # Sources.
     1612 #
     1613 VirtualBoxRT_SOURCES = \
    16011614        src/main.cpp \
    16021615        src/globals/UIStarter.cpp \
     
    16491662        src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp
    16501663
    1651 ifdef VBOX_WITH_DRAG_AND_DROP
    1652  VirtualBoxRT_SOURCES += \
     1664 ifdef VBOX_WITH_DRAG_AND_DROP
     1665  VirtualBoxRT_SOURCES += \
    16531666        src/runtime/UIDnDHandler.cpp
    1654  ifdef VBOX_WITH_DRAG_AND_DROP_GH
    1655   VirtualBoxRT_SOURCES += \
     1667  ifdef VBOX_WITH_DRAG_AND_DROP_GH
     1668   VirtualBoxRT_SOURCES += \
    16561669        src/runtime/UIDnDMIMEData.cpp
    1657   VirtualBoxRT_SOURCES.win += \
     1670   VirtualBoxRT_SOURCES.win += \
    16581671        src/runtime/UIDnDDropSource_win.cpp \
    16591672        src/runtime/UIDnDDataObject_win.cpp \
    16601673        src/runtime/UIDnDEnumFormat_win.cpp
    1661  endif
    1662 endif
    1663 
    1664 ifdef VBOX_WITH_ICHAT_THEATER
    1665  VirtualBoxRT_SOURCES.darwin += \
     1674  endif
     1675 endif
     1676
     1677 ifdef VBOX_WITH_ICHAT_THEATER
     1678  VirtualBoxRT_SOURCES.darwin += \
    16661679        src/platform/darwin/VBoxIChatTheaterWrapper.m
    1667 endif
    1668 
    1669 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    1670  VirtualBoxRT_SOURCES += \
     1680 endif
     1681
     1682 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     1683  VirtualBoxRT_SOURCES += \
    16711684        src/VBox2DHelpers.cpp \
    16721685        src/VBoxFBOverlay.cpp \
    16731686        src/VBoxGLSupportInfo.cpp
    1674 endif
    1675 
    1676 VirtualBoxRT_SOURCES.darwin += \
     1687 endif
     1688
     1689 VirtualBoxRT_SOURCES.darwin += \
    16771690        src/platform/darwin/UIAbstractDockIconPreview.cpp \
    16781691        src/platform/darwin/UICocoaDockIconPreview.mm
    16791692
    1680 VirtualBoxRT_SOURCES.win += \
     1693 VirtualBoxRT_SOURCES.win += \
    16811694        src/platform/win/VirtualBox.rc
    16821695
    16831696
    1684 #
    1685 # VirtualBox - GUI Global Shared Library.
    1686 # Sources.
    1687 #
    1688 VBoxGlobal_SOURCES = \
     1697 #
     1698 # VirtualBox - GUI Global Shared Library.
     1699 # Sources.
     1700 #
     1701 VBoxGlobal_SOURCES = \
    16891702        src/VBoxAboutDlg.cpp \
    16901703        src/VBoxLicenseViewer.cpp \
     
    18201833        src/wizards/newvd/UIWizardNewVDPageExpert.cpp
    18211834
    1822 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    1823  VBoxGlobal_SOURCES += \
     1835 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
     1836  VBoxGlobal_SOURCES += \
    18241837        src/net/UIDownloader.cpp \
    18251838        src/net/UIDownloaderAdditions.cpp \
     
    18371850        src/settings/global/UIGlobalSettingsProxy.cpp \
    18381851        src/settings/global/UIGlobalSettingsUpdate.cpp
    1839 endif
    1840 
    1841 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
    1842  VBoxGlobal_SOURCES += \
     1852 endif
     1853
     1854 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
     1855  VBoxGlobal_SOURCES += \
    18431856        src/platform/x11/VBoxX11Helper.cpp \
    18441857        src/platform/x11/XKeyboard-new.cpp
    1845 endif
    1846 
    1847 VBoxGlobal_SOURCES.win += \
     1858 endif
     1859
     1860 VBoxGlobal_SOURCES.win += \
    18481861        src/platform/win/VBoxUtils-win.cpp \
    18491862        src/platform/win/WinKeyboard.cpp
    18501863
    1851 VBoxGlobal_SOURCES.darwin += \
     1864 VBoxGlobal_SOURCES.darwin += \
    18521865        src/platform/darwin/CocoaEventHelper.mm \
    18531866        src/platform/darwin/DarwinKeyboard.cpp \
     
    18581871        src/platform/darwin/VBoxUtils-darwin.cpp
    18591872
    1860 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    1861  VBoxGlobal_SOURCES += \
     1873 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     1874  VBoxGlobal_SOURCES += \
    18621875        src/VBox2DHelpers.cpp
     1876 endif
    18631877endif
    18641878
     
    18981912
    18991913
    1900 #
    1901 # VirtualBox Virtual Machine Application
    1902 # The Qt modules we're using.
    1903 # (The include directory and lib/framework for each module will be added by the Qt unit.)
    1904 #
    1905 VirtualBoxRT_QT_MODULES = Core Gui Widgets PrintSupport
    1906 VirtualBoxRT_QT_MODULES.linux   += X11Extras
    1907 VirtualBoxRT_QT_MODULES.solaris += X11Extras
    1908 VirtualBoxRT_QT_MODULES.freebsd += X11Extras
    1909 VirtualBoxRT_QT_MODULES.darwin  += MacExtras
    1910 VirtualBoxRT_QT_MODULES.win     += WinExtras
    1911 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    1912  VirtualBoxRT_QT_MODULES += OpenGL
    1913 endif
    1914 
    1915 
    1916 #
    1917 # VirtualBox - GUI Global Shared Library.
    1918 # The Qt modules we're using.
    1919 # (The include directory and lib/framework for each module will be added by the Qt unit.)
    1920 #
    1921 VBoxGlobal_QT_MODULES = Core Gui Widgets
    1922 VBoxGlobal_QT_MODULES.linux   += X11Extras
    1923 VBoxGlobal_QT_MODULES.solaris += X11Extras
    1924 VBoxGlobal_QT_MODULES.freebsd += X11Extras
    1925 VBoxGlobal_QT_MODULES.darwin  += MacExtras
    1926 VBoxGlobal_QT_MODULES.win     += WinExtras
    1927 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    1928  VBoxGlobal_QT_MODULES += OpenGL
     1914ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     1915 #
     1916 # VirtualBox Virtual Machine Application
     1917 # The Qt modules we're using.
     1918 # (The include directory and lib/framework for each module will be added by the Qt unit.)
     1919 #
     1920 VirtualBoxRT_QT_MODULES = Core Gui Widgets PrintSupport
     1921 VirtualBoxRT_QT_MODULES.linux   += X11Extras
     1922 VirtualBoxRT_QT_MODULES.solaris += X11Extras
     1923 VirtualBoxRT_QT_MODULES.freebsd += X11Extras
     1924 VirtualBoxRT_QT_MODULES.darwin  += MacExtras
     1925 VirtualBoxRT_QT_MODULES.win     += WinExtras
     1926 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     1927  VirtualBoxRT_QT_MODULES += OpenGL
     1928 endif
     1929
     1930
     1931 #
     1932 # VirtualBox - GUI Global Shared Library.
     1933 # The Qt modules we're using.
     1934 # (The include directory and lib/framework for each module will be added by the Qt unit.)
     1935 #
     1936 VBoxGlobal_QT_MODULES = Core Gui Widgets
     1937 VBoxGlobal_QT_MODULES.linux   += X11Extras
     1938 VBoxGlobal_QT_MODULES.solaris += X11Extras
     1939 VBoxGlobal_QT_MODULES.freebsd += X11Extras
     1940 VBoxGlobal_QT_MODULES.darwin  += MacExtras
     1941 VBoxGlobal_QT_MODULES.win     += WinExtras
     1942 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     1943  VBoxGlobal_QT_MODULES += OpenGL
     1944 endif
    19291945endif
    19301946
     
    19321948# Pull in the ui files
    19331949$(eval VirtualBox_SOURCES += $(FORMS))
    1934 $(eval VirtualBoxRT_SOURCES += $(FORMS))
    1935 $(eval VBoxGlobal_SOURCES += $(FORMS))
     1950ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     1951 $(eval VirtualBoxRT_SOURCES += $(FORMS))
     1952 $(eval VBoxGlobal_SOURCES += $(FORMS))
     1953endif
    19361954
    19371955
     
    19611979
    19621980
    1963 # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
    1964 VirtualBoxRT_SOURCES            += VirtualBox1.qrc
    1965 VirtualBox1.qrc_RCCFLAGS       = -name BASIC1
    1966 VirtualBoxRT_SOURCES            += VirtualBox2.qrc
    1967 VirtualBox2.qrc_RCCFLAGS       = -name BASIC2
    1968 VirtualBoxRT_SOURCES             += VirtualBox1_x2.qrc
    1969 VirtualBox1_x2.qrc_RCCFLAGS  = -name BASIC1_X2
    1970 VirtualBoxRT_SOURCES             += VirtualBox2_x2.qrc
    1971 VirtualBox2_x2.qrc_RCCFLAGS  = -name BASIC2_X2
    1972 VirtualBoxRT_SOURCES             += VirtualBox1_x3.qrc
    1973 VirtualBox1_x3.qrc_RCCFLAGS  = -name BASIC1_X3
    1974 VirtualBoxRT_SOURCES             += VirtualBox2_x3.qrc
    1975 VirtualBox2_x3.qrc_RCCFLAGS  = -name BASIC2_X3
    1976 VirtualBoxRT_SOURCES             += VirtualBox1_x4.qrc
    1977 VirtualBox1_x4.qrc_RCCFLAGS  = -name BASIC1_X4
    1978 VirtualBoxRT_SOURCES             += VirtualBox2_x4.qrc
    1979 VirtualBox2_x4.qrc_RCCFLAGS  = -name BASIC2_X4
    1980 VirtualBoxRT_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
    1981 $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
    1982 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    1983  VirtualBoxRT_SOURCES += VirtualBoxShaders.qrc
    1984  VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
     1981ifdef VBOX_GUI_WITH_SHARED_LIBRARY
     1982 # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
     1983 VirtualBoxRT_SOURCES            += VirtualBox1.qrc
     1984 VirtualBox1.qrc_RCCFLAGS       = -name BASIC1
     1985 VirtualBoxRT_SOURCES            += VirtualBox2.qrc
     1986 VirtualBox2.qrc_RCCFLAGS       = -name BASIC2
     1987 VirtualBoxRT_SOURCES             += VirtualBox1_x2.qrc
     1988 VirtualBox1_x2.qrc_RCCFLAGS  = -name BASIC1_X2
     1989 VirtualBoxRT_SOURCES             += VirtualBox2_x2.qrc
     1990 VirtualBox2_x2.qrc_RCCFLAGS  = -name BASIC2_X2
     1991 VirtualBoxRT_SOURCES             += VirtualBox1_x3.qrc
     1992 VirtualBox1_x3.qrc_RCCFLAGS  = -name BASIC1_X3
     1993 VirtualBoxRT_SOURCES             += VirtualBox2_x3.qrc
     1994 VirtualBox2_x3.qrc_RCCFLAGS  = -name BASIC2_X3
     1995 VirtualBoxRT_SOURCES             += VirtualBox1_x4.qrc
     1996 VirtualBox1_x4.qrc_RCCFLAGS  = -name BASIC1_X4
     1997 VirtualBoxRT_SOURCES             += VirtualBox2_x4.qrc
     1998 VirtualBox2_x4.qrc_RCCFLAGS  = -name BASIC2_X4
     1999 VirtualBoxRT_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
     2000 $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
     2001 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
     2002  VirtualBoxRT_SOURCES += VirtualBoxShaders.qrc
     2003  VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
     2004 endif
    19852005endif
    19862006
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