VirtualBox

Changeset 71332 in vbox for trunk/src/VBox


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

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

File:
1 edited

Legend:

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

    r71324 r71332  
    166166
    167167
    168 
     168#
     169# Include folders.
     170#
    169171VBOX_GUI_INC_DIRS = \
    170172        ./src \
     
    211213endif
    212214
     215#
     216# VirtualBox - GUI Application.
     217# Include folders.
     218#
    213219VirtualBox_INCS = \
    214220        $(VBOX_GUI_INC_DIRS) \
     
    216222        $(VBOX_GRAPHICS_INCS)
    217223
    218 # Necessary for the hdd backend enumeration
    219 VirtualBox_LIBS = $(LIB_DDU)
    220 
    221 if1of ($(KBUILD_TARGET), linux netbsd openbsd)
    222  VirtualBox_LIBS += dl
    223 endif
    224 
    225 # This library is required for multi-monitor support
    226 VirtualBox_LIBS.linux   += Xinerama
    227 VirtualBox_LIBS.solaris += Xinerama
    228 VirtualBox_LIBS.freebsd += Xinerama
    229 
    230 VirtualBox_LIBS.linux   += xcb
    231 VirtualBox_LIBS.solaris += xcb
    232 VirtualBox_LIBS.freebsd += xcb
    233224
    234225ifneq ($(KBUILD_TARGET),win)
     
    270261endif
    271262
    272 VirtualBox_LIBS.win       = \
     263
     264#
     265# VirtualBox - GUI Application.
     266# Libraries.
     267#
     268
     269# Library required for the hdd backend enumeration:
     270VirtualBox_LIBS = $(LIB_DDU)
     271
     272# Runtime library loader required on X11 hosts:
     273if1of ($(KBUILD_TARGET), linux netbsd openbsd)
     274 VirtualBox_LIBS += dl
     275endif
     276
     277# Xinerama library required for multi-monitor support:
     278VirtualBox_LIBS.linux   += Xinerama
     279VirtualBox_LIBS.solaris += Xinerama
     280VirtualBox_LIBS.freebsd += Xinerama
     281
     282# XCB library required for direct XCB native code support:
     283VirtualBox_LIBS.linux   += xcb
     284VirtualBox_LIBS.solaris += xcb
     285VirtualBox_LIBS.freebsd += xcb
     286
     287# Various Windows hosts libraries:
     288VirtualBox_LIBS.win = \
    273289        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
    274290        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
    275291        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
    276 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
    277  VirtualBox_LIBS         += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
    278 endif
    279 
     292
     293# VBox keyboard shared library for X11 hosts:
     294if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     295 VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
     296endif
     297
     298# These are 2D Video Acceleration and 3D Acceleration related libs:
    280299if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
    281300 VirtualBox_LIBS.win       += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
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