Changeset 79365 in vbox for trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
- Timestamp:
- Jun 26, 2019 3:57:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r79244 r79365 35 35 PROGRAMS += VirtualBoxHardenedVM 36 36 DLLS += VirtualBoxVM 37 DLLS += VBoxGlobal37 DLLS += UICommon 38 38 else 39 39 PROGRAMS += VirtualBox 40 40 PROGRAMS += VirtualBoxVM 41 DLLS += VBoxGlobal41 DLLS += UICommon 42 42 endif 43 43 INSTALLS += VirtualBox.nls … … 99 99 VirtualBox_TEMPLATE := VBOXQTGUIEXE 100 100 VirtualBox_NAME = VirtualBox 101 VirtualBox_DEPS = $( VBoxGlobal_0_OUTDIR)/include/COMWrappers101 VirtualBox_DEPS = $(UICommon_0_OUTDIR)/include/COMWrappers 102 102 VirtualBox_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) 103 103 VirtualBox_DEFS = … … 169 169 VirtualBoxVM_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE) 170 170 VirtualBoxVM_NAME = VirtualBoxVM 171 VirtualBoxVM_DEPS = $( VBoxGlobal_0_OUTDIR)/include/COMWrappers171 VirtualBoxVM_DEPS = $(UICommon_0_OUTDIR)/include/COMWrappers 172 172 VirtualBoxVM_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) 173 173 VirtualBoxVM_DEFS += VBOX_RUNTIME_UI … … 237 237 # VirtualBox - GUI Global Shared Library. 238 238 # 239 VBoxGlobal_TEMPLATE = VBOXQTGUI240 VBoxGlobal_NAME = VBoxGlobal 241 VBoxGlobal_DEFS =242 VBoxGlobal_DEFS += VBOX_GUI_LIBRARY243 VBoxGlobal_DEFS.darwin = VBOX_WS_MAC244 VBoxGlobal_DEFS.freebsd = VBOX_WS_X11245 VBoxGlobal_DEFS.linux = VBOX_WS_X11246 VBoxGlobal_DEFS.solaris = VBOX_WS_X11247 VBoxGlobal_DEFS.win = VBOX_WS_WIN248 VBoxGlobal_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT249 VBoxGlobal_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS250 # VBoxGlobal_DEFS.win += UNICODE QT_DLL251 VBoxGlobal_DEFS += \239 UICommon_TEMPLATE = VBOXQTGUI 240 UICommon_NAME = UICommon 241 UICommon_DEFS = 242 UICommon_DEFS += VBOX_GUI_LIBRARY 243 UICommon_DEFS.darwin = VBOX_WS_MAC 244 UICommon_DEFS.freebsd = VBOX_WS_X11 245 UICommon_DEFS.linux = VBOX_WS_X11 246 UICommon_DEFS.solaris = VBOX_WS_X11 247 UICommon_DEFS.win = VBOX_WS_WIN 248 UICommon_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT 249 UICommon_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS 250 #UICommon_DEFS.win += UNICODE QT_DLL 251 UICommon_DEFS += \ 252 252 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \ 253 253 $(if $(VBOX_GUI_WITH_NEW_MEDIA_EVENTS),VBOX_GUI_WITH_NEW_MEDIA_EVENTS) \ … … 268 268 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,) 269 269 ifdef VBOX_WITH_DEBUGGER_GUI 270 VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI270 UICommon_DEFS += VBOX_WITH_DEBUGGER_GUI 271 271 if "$(KBUILD_TYPE)" != "release" 272 VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU272 UICommon_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU 273 273 endif 274 274 endif 275 275 ifdef VBOX_WITH_VIDEOHWACCEL 276 VBoxGlobal_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL276 UICommon_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL 277 277 else ifdef VBOX_GUI_USE_QGL 278 VBoxGlobal_DEFS += VBOX_GUI_USE_QGL278 UICommon_DEFS += VBOX_GUI_USE_QGL 279 279 endif 280 280 ifdef VBOX_WITH_LIBCURL 281 VBoxGlobal_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER281 UICommon_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER 282 282 VBOX_GUI_WITH_NETWORK_MANAGER := 1 283 283 endif 284 284 if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI) 285 VBoxGlobal_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI285 UICommon_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI 286 286 endif 287 287 ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING 288 VBoxGlobal_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING288 UICommon_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING 289 289 endif 290 290 … … 351 351 VirtualBox_INCS = \ 352 352 $(VBOX_GUI_INC_DIRS) \ 353 $( VBoxGlobal_0_OUTDIR)/include \353 $(UICommon_0_OUTDIR)/include \ 354 354 $(VBOX_GRAPHICS_INCS) 355 355 … … 360 360 VirtualBoxVM_INCS = \ 361 361 $(VBOX_GUI_INC_DIRS) \ 362 $( VBoxGlobal_0_OUTDIR)/include \362 $(UICommon_0_OUTDIR)/include \ 363 363 $(VBOX_GRAPHICS_INCS) 364 364 … … 367 367 # Include folders. 368 368 # 369 VBoxGlobal_INCS = \369 UICommon_INCS = \ 370 370 $(VBOX_GUI_INC_DIRS) \ 371 $( VBoxGlobal_0_OUTDIR)/include371 $(UICommon_0_OUTDIR)/include 372 372 373 373 … … 448 448 ## @todo we're using a number of deprecated APIs, please fix and remove these! 449 449 ifdef VBOX_WITH_NEW_XCODE 450 VBoxGlobal_CXXFLAGS.darwin += -Wno-error=deprecated-declarations451 VBoxGlobal_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations452 VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations450 UICommon_CXXFLAGS.darwin += -Wno-error=deprecated-declarations 451 UICommon_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations 452 UICommon_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations 453 453 else 454 VBoxGlobal_CXXFLAGS.darwin += -Wno-deprecated-declarations455 VBoxGlobal_OBJCFLAGS.darwin += -Wno-deprecated-declarations456 VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations457 endif 458 459 VBoxGlobal_LDFLAGS.darwin = \454 UICommon_CXXFLAGS.darwin += -Wno-deprecated-declarations 455 UICommon_OBJCFLAGS.darwin += -Wno-deprecated-declarations 456 UICommon_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations 457 endif 458 459 UICommon_LDFLAGS.darwin = \ 460 460 -framework AppKit -framework Carbon -framework IOKit \ 461 $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/ VBoxGlobal.dylib)461 $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/UICommon.dylib) 462 462 463 463 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 464 VBoxGlobal_LDFLAGS.darwin += -framework OpenGL464 UICommon_LDFLAGS.darwin += -framework OpenGL 465 465 endif 466 466 … … 513 513 # This one is global shared GUI library: 514 514 ifeq ($(KBUILD_TARGET),win) 515 VirtualBox_LIBS += $(PATH_STAGE_LIB)/ VBoxGlobal$(VBOX_SUFF_LIB)515 VirtualBox_LIBS += $(PATH_STAGE_LIB)/UICommon$(VBOX_SUFF_LIB) 516 516 else 517 VirtualBox_LIBS += $(PATH_STAGE_DLL)/ VBoxGlobal$(VBOX_SUFF_DLL)517 VirtualBox_LIBS += $(PATH_STAGE_DLL)/UICommon$(VBOX_SUFF_DLL) 518 518 endif 519 519 … … 565 565 566 566 ifeq ($(KBUILD_TARGET),win) 567 VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/ VBoxGlobal$(VBOX_SUFF_LIB)567 VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/UICommon$(VBOX_SUFF_LIB) 568 568 else 569 VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/ VBoxGlobal$(VBOX_SUFF_DLL)569 VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/UICommon$(VBOX_SUFF_DLL) 570 570 endif 571 571 … … 577 577 578 578 # Xinerama library required for multi-monitor support: 579 VBoxGlobal_LIBS.linux += Xinerama580 VBoxGlobal_LIBS.solaris += Xinerama581 VBoxGlobal_LIBS.freebsd += Xinerama579 UICommon_LIBS.linux += Xinerama 580 UICommon_LIBS.solaris += Xinerama 581 UICommon_LIBS.freebsd += Xinerama 582 582 583 583 # Various Windows hosts libraries: 584 VBoxGlobal_LIBS.win = \584 UICommon_LIBS.win = \ 585 585 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib 586 586 587 587 # VBox keyboard shared library for X11 hosts: 588 588 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) 589 VBoxGlobal_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)589 UICommon_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL) 590 590 endif 591 591 592 592 # These are 2D Video Acceleration and 3D Acceleration related libs: 593 593 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 594 VBoxGlobal_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib595 VBoxGlobal_LIBS.solaris += GL596 VBoxGlobal_LIBS.linux += GL597 VBoxGlobal_LIBS.freebsd += GL594 UICommon_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib 595 UICommon_LIBS.solaris += GL 596 UICommon_LIBS.linux += GL 597 UICommon_LIBS.freebsd += GL 598 598 endif 599 599 ifdef VBOX_WITH_CROGL 600 VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)600 UICommon_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB) 601 601 endif 602 602 if defined(VBOX_WITH_VIDEOHWACCEL) 603 603 if1of ($(KBUILD_TARGET), win linux freebsd) 604 VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB)604 UICommon_LIBS += $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB) 605 605 endif 606 606 endif … … 782 782 # Headers containing definitions of classes that use the Q_OBJECT macro. 783 783 # 784 VBoxGlobal_QT_MOCHDRS = \784 UICommon_QT_MOCHDRS = \ 785 785 src/VBoxAboutDlg.h \ 786 786 src/VBoxLicenseViewer.h \ … … 838 838 src/globals/UITextTable.h \ 839 839 src/globals/UIVirtualBoxEventHandler.h \ 840 src/globals/ VBoxGlobal.h \840 src/globals/UICommon.h \ 841 841 src/globals/VBoxUtils.h \ 842 842 src/logviewer/UIVMLogPage.h \ … … 923 923 924 924 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 925 VBoxGlobal_QT_MOCHDRS += \925 UICommon_QT_MOCHDRS += \ 926 926 src/net/UIDownloader.h \ 927 927 src/net/UIDownloaderAdditions.h \ … … 940 940 endif 941 941 942 VBoxGlobal_QT_MOCHDRS.darwin += \942 UICommon_QT_MOCHDRS.darwin += \ 943 943 src/platform/darwin/UICocoaSpecialControls.h \ 944 944 src/platform/darwin/UIWindowMenuManager.h … … 986 986 # Sources. 987 987 # 988 VBoxGlobal_QT_MOCSRCS = \988 UICommon_QT_MOCSRCS = \ 989 989 src/extensions/QIAdvancedSlider.cpp \ 990 990 src/extensions/QIArrowSplitter.cpp \ … … 1020 1020 1021 1021 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1022 VBoxGlobal_QT_MOCSRCS += \1022 UICommon_QT_MOCSRCS += \ 1023 1023 src/net/UINetworkReply.cpp \ 1024 1024 src/net/UIUpdateManager.cpp … … 1026 1026 1027 1027 ifdef VBOX_WITH_XPCOM 1028 VBoxGlobal_QT_MOCSRCS += \1028 UICommon_QT_MOCSRCS += \ 1029 1029 src/globals/COMDefs.cpp 1030 1030 endif 1031 1031 1032 VBoxGlobal_QT_MOCSRCS.darwin += \1032 UICommon_QT_MOCSRCS.darwin += \ 1033 1033 src/platform/darwin/UIWindowMenuManager.cpp 1034 1034 1035 VBoxGlobal_QT_MOCSRCS.linux += \1035 UICommon_QT_MOCSRCS.linux += \ 1036 1036 src/globals/UIDesktopWidgetWatchdog.cpp 1037 VBoxGlobal_QT_MOCSRCS.solaris += \1037 UICommon_QT_MOCSRCS.solaris += \ 1038 1038 src/globals/UIDesktopWidgetWatchdog.cpp 1039 VBoxGlobal_QT_MOCSRCS.freebsd += \1039 UICommon_QT_MOCSRCS.freebsd += \ 1040 1040 src/globals/UIDesktopWidgetWatchdog.cpp 1041 1041 … … 1257 1257 # Sources. 1258 1258 # 1259 VBoxGlobal_SOURCES = \1259 UICommon_SOURCES = \ 1260 1260 src/VBoxAboutDlg.cpp \ 1261 1261 src/VBoxLicenseViewer.cpp \ … … 1323 1323 src/globals/UIVersion.cpp \ 1324 1324 src/globals/UIVirtualBoxEventHandler.cpp \ 1325 src/globals/ VBoxGlobal.cpp \1325 src/globals/UICommon.cpp \ 1326 1326 src/logviewer/UIVMLogPage.cpp \ 1327 1327 src/logviewer/UIVMLogViewerBookmarksPanel.cpp \ … … 1411 1411 1412 1412 ifdef VBOX_GUI_WITH_NETWORK_MANAGER 1413 VBoxGlobal_SOURCES += \1413 UICommon_SOURCES += \ 1414 1414 src/net/UIDownloader.cpp \ 1415 1415 src/net/UIDownloaderAdditions.cpp \ … … 1430 1430 1431 1431 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11 1432 VBoxGlobal_SOURCES += \1432 UICommon_SOURCES += \ 1433 1433 src/platform/x11/VBoxX11Helper.cpp \ 1434 1434 src/platform/x11/XKeyboard-new.cpp 1435 1435 endif 1436 1436 1437 VBoxGlobal_SOURCES.win += \1437 UICommon_SOURCES.win += \ 1438 1438 src/platform/win/VBoxUtils-win.cpp \ 1439 1439 src/platform/win/WinKeyboard.cpp 1440 1440 1441 VBoxGlobal_SOURCES.darwin += \1441 UICommon_SOURCES.darwin += \ 1442 1442 src/platform/darwin/CocoaEventHelper.mm \ 1443 1443 src/platform/darwin/DarwinKeyboard.cpp \ … … 1449 1449 1450 1450 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 1451 VBoxGlobal_SOURCES += \1451 UICommon_SOURCES += \ 1452 1452 src/VBox2DHelpers.cpp \ 1453 1453 src/VBoxGLSupportInfo.cpp … … 1510 1510 # (The include directory and lib/framework for each module will be added by the Qt unit.) 1511 1511 # 1512 VBoxGlobal_QT_MODULES = Core Gui Widgets1513 VBoxGlobal_QT_MODULES.linux += X11Extras1514 VBoxGlobal_QT_MODULES.solaris += X11Extras1515 VBoxGlobal_QT_MODULES.freebsd += X11Extras1516 VBoxGlobal_QT_MODULES.darwin += MacExtras1517 VBoxGlobal_QT_MODULES.win += WinExtras1512 UICommon_QT_MODULES = Core Gui Widgets 1513 UICommon_QT_MODULES.linux += X11Extras 1514 UICommon_QT_MODULES.solaris += X11Extras 1515 UICommon_QT_MODULES.freebsd += X11Extras 1516 UICommon_QT_MODULES.darwin += MacExtras 1517 UICommon_QT_MODULES.win += WinExtras 1518 1518 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 1519 VBoxGlobal_QT_MODULES += OpenGL1519 UICommon_QT_MODULES += OpenGL 1520 1520 endif 1521 1521 … … 1524 1524 $(eval VirtualBox_SOURCES += $(FORMS)) 1525 1525 $(eval VirtualBoxVM_SOURCES += $(FORMS)) 1526 $(eval VBoxGlobal_SOURCES += $(FORMS))1526 $(eval UICommon_SOURCES += $(FORMS)) 1527 1527 1528 1528 1529 1529 # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down). 1530 VBoxGlobal_SOURCES += VirtualBox1.qrc1530 UICommon_SOURCES += VirtualBox1.qrc 1531 1531 VirtualBox1.qrc_RCCFLAGS = -name BASIC1 1532 VBoxGlobal_SOURCES += VirtualBox2.qrc1532 UICommon_SOURCES += VirtualBox2.qrc 1533 1533 VirtualBox2.qrc_RCCFLAGS = -name BASIC2 1534 VBoxGlobal_SOURCES += VirtualBox1_x2.qrc1534 UICommon_SOURCES += VirtualBox1_x2.qrc 1535 1535 VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2 1536 VBoxGlobal_SOURCES += VirtualBox2_x2.qrc1536 UICommon_SOURCES += VirtualBox2_x2.qrc 1537 1537 VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2 1538 VBoxGlobal_SOURCES += VirtualBox1_x3.qrc1538 UICommon_SOURCES += VirtualBox1_x3.qrc 1539 1539 VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3 1540 VBoxGlobal_SOURCES += VirtualBox2_x3.qrc1540 UICommon_SOURCES += VirtualBox2_x3.qrc 1541 1541 VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3 1542 VBoxGlobal_SOURCES += VirtualBox1_x4.qrc1542 UICommon_SOURCES += VirtualBox1_x4.qrc 1543 1543 VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4 1544 VBoxGlobal_SOURCES += VirtualBox2_x4.qrc1544 UICommon_SOURCES += VirtualBox2_x4.qrc 1545 1545 VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4 1546 VBoxGlobal_SOURCES += VirtualBox_xml.qrc1546 UICommon_SOURCES += VirtualBox_xml.qrc 1547 1547 VirtualBox_xml.qrc_RCCFLAGS = -name BASIC_XML 1548 VBoxGlobal_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc1548 UICommon_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc 1549 1549 $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND 1550 1550 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 1551 VBoxGlobal_SOURCES += VirtualBoxShaders.qrc1551 UICommon_SOURCES += VirtualBoxShaders.qrc 1552 1552 VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS 1553 1553 endif … … 1562 1562 VirtualBox_QT_TRANSLATIONS_INST = $(INST_BIN)nls/ 1563 1563 # All files which contain translatable strings. 1564 VirtualBox_VBOX_ALL_NLS_SOURCES = $(VirtualBox_SOURCES) $(VirtualBoxVM_SOURCES) $( VBoxGlobal_SOURCES)1564 VirtualBox_VBOX_ALL_NLS_SOURCES = $(VirtualBox_SOURCES) $(VirtualBoxVM_SOURCES) $(UICommon_SOURCES) 1565 1565 1566 1566 … … 1578 1578 # VirtualBox - GUI Global Shared Library. 1579 1579 # 1580 includedep $(PATH_TARGET)/ VBoxGlobalComWrapperFiles.dep1581 VBoxGlobal_BLDDIRS += $(VBoxGlobal_0_OUTDIR)/include1582 VBoxGlobal_INTERMEDIATES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers1583 VBoxGlobal_SOURCES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp1584 VBoxGlobal_CLEAN += $(wildcard $(VBoxGlobal_0_OUTDIR)/include/*) $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep1580 includedep $(PATH_TARGET)/UICommonComWrapperFiles.dep 1581 UICommon_BLDDIRS += $(UICommon_0_OUTDIR)/include 1582 UICommon_INTERMEDIATES += $(UICommon_0_OUTDIR)/include/COMWrappers 1583 UICommon_SOURCES += $(UICommon_0_OUTDIR)/include/COMWrappers.cpp 1584 UICommon_CLEAN += $(wildcard $(UICommon_0_OUTDIR)/include/*) $(PATH_TARGET)/UICommonComWrapperFiles.dep 1585 1585 1586 1586 ## @todo kmk doesn't remake optional outputs when they are missing... 1587 $$( VBoxGlobal_0_OUTDIR)/include/COMWrappers \1588 + $(PATH_TARGET)/ VBoxGlobalComWrapperFiles.dep \1589 +| $(if-expr defined( VBoxGlobal_VBOX_COMWRAPPERS) \1590 , $( VBoxGlobal_VBOX_COMWRAPPERS) \1591 , $$( VBoxGlobal_0_OUTDIR)/include/COMEnums.h \1592 $$( VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp \1587 $$(UICommon_0_OUTDIR)/include/COMWrappers \ 1588 + $(PATH_TARGET)/UICommonComWrapperFiles.dep \ 1589 +| $(if-expr defined(UICommon_VBOX_COMWRAPPERS) \ 1590 , $(UICommon_VBOX_COMWRAPPERS) \ 1591 , $$(UICommon_0_OUTDIR)/include/COMEnums.h \ 1592 $$(UICommon_0_OUTDIR)/include/COMWrappers.cpp \ 1593 1593 ): \ 1594 1594 $(VBOX_XIDL_FILE) \ … … 1596 1596 $(VBOX_FILESPLIT) \ 1597 1597 | $$(dir $$@) 1598 $(call MSG_GENERATE, VBoxGlobal,$<,$@)1599 $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/ VBoxGlobalComWrapperFiles.dep"1598 $(call MSG_GENERATE,UICommon,$<,$@) 1599 $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/UICommonComWrapperFiles.dep" 1600 1600 $(QUIET)$(VBOX_XSLTPROC) -o $@ \ 1601 1601 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $< 1602 $(QUIET)$(VBOX_FILESPLIT) $@ $( VBoxGlobal_0_OUTDIR)/include \1603 $(PATH_TARGET)/ VBoxGlobalComWrapperFiles.dep VBoxGlobal_VBOX_COMWRAPPERS1602 $(QUIET)$(VBOX_FILESPLIT) $@ $(UICommon_0_OUTDIR)/include \ 1603 $(PATH_TARGET)/UICommonComWrapperFiles.dep UICommon_VBOX_COMWRAPPERS 1604 1604 $(APPEND) "$@" 1605 1605 1606 1606 # alias for generating the COM Wrappers file. 1607 testwrappers:: $$( VBoxGlobal_0_OUTDIR)/include/COMWrappers1607 testwrappers:: $$(UICommon_0_OUTDIR)/include/COMWrappers 1608 1608 1609 1609 … … 1654 1654 VirtualBoxVM_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h 1655 1655 1656 VBoxGlobal_USES += vccprecomp1657 VBoxGlobal_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h1656 UICommon_USES += vccprecomp 1657 UICommon_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h 1658 1658 1659 1659 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 1660 1660 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 1661 VBoxGlobal_USES += gccprecomp1662 VBoxGlobal_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h1663 # VBoxGlobal_CXXFLAGS.linux += -H1661 UICommon_USES += gccprecomp 1662 UICommon_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 1663 #UICommon_CXXFLAGS.linux += -H 1664 1664 1665 1665 VirtualBox_USES += gccprecomp … … 1847 1847 tstDarwinKeyboard_LIBS = \ 1848 1848 $(LIB_RUNTIME) 1849 tstDarwinKeyboard_LIBS += $(PATH_STAGE_DLL)/ VBoxGlobal$(VBOX_SUFF_DLL)1849 tstDarwinKeyboard_LIBS += $(PATH_STAGE_DLL)/UICommon$(VBOX_SUFF_DLL) 1850 1850 endif 1851 1851
Note:
See TracChangeset
for help on using the changeset viewer.