Makefile.kmk revision e49c4c80baa8f9ae4ceb9fb9ace9bc0d57919ea2
81385391418c9a5d4461b395441b70550101708dnd# Makefile for the VirtualBox Qt GUI.
81385391418c9a5d4461b395441b70550101708dnd# Copyright (C) 2006-2013 Oracle Corporation
81385391418c9a5d4461b395441b70550101708dnd# This file is part of VirtualBox Open Source Edition (OSE), as
81385391418c9a5d4461b395441b70550101708dnd# available from http://www.virtualbox.org. This file is free software;
81385391418c9a5d4461b395441b70550101708dnd# you can redistribute it and/or modify it under the terms of the GNU
81385391418c9a5d4461b395441b70550101708dnd# General Public License (GPL) as published by the Free Software
81385391418c9a5d4461b395441b70550101708dnd# Foundation, in version 2 as it comes in the "COPYING" file of the
81385391418c9a5d4461b395441b70550101708dnd# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
81385391418c9a5d4461b395441b70550101708dnd# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
81385391418c9a5d4461b395441b70550101708dndSUB_DEPTH = ../../../..
81385391418c9a5d4461b395441b70550101708dndinclude $(KBUILD_PATH)/subheader.kmk
81385391418c9a5d4461b395441b70550101708dndVBOX_VIRTUALBOX4_SRC := $(PATH_SUB_CURRENT)
81385391418c9a5d4461b395441b70550101708dndVBOX_VIRTUALBOX4_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc
81385391418c9a5d4461b395441b70550101708dnd# Show the update notifier dialog during startup. If this setting is disabled
81385391418c9a5d4461b395441b70550101708dnd# the user can still update using the menu if desired.
81385391418c9a5d4461b395441b70550101708dndifndef VBOX_OSE
208651a016b098f4fa1f6279559f104d70f1632dtakashiVBOX_WITH_UPDATE_REQUEST := 1
81385391418c9a5d4461b395441b70550101708dnd# The targets.
208651a016b098f4fa1f6279559f104d70f1632dtakashiifdef VBOX_WITH_HARDENING
208651a016b098f4fa1f6279559f104d70f1632dtakashiPROGRAMS += VirtualBoxHardened
81385391418c9a5d4461b395441b70550101708dndDLLS += VirtualBox
81385391418c9a5d4461b395441b70550101708dndPROGRAMS += VirtualBox
208651a016b098f4fa1f6279559f104d70f1632dtakashi# Include the language lists.
208651a016b098f4fa1f6279559f104d70f1632dtakashiinclude $(PATH_SUB_CURRENT)/nls/ApprovedLanguages.kmk
81385391418c9a5d4461b395441b70550101708dnd# Hardened VirtualBox.
81385391418c9a5d4461b395441b70550101708dndVirtualBoxHardened_TEMPLATE = VBOXR3HARDENEDEXE
81385391418c9a5d4461b395441b70550101708dndVirtualBoxHardened_SOURCES = src/hardenedmain.cpp
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBoxHardened_NAME = VirtualBox
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBoxHardened_INST.darwin = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM
81385391418c9a5d4461b395441b70550101708dnd# Include Qt project file, we'll use FORMS and TRANSLATIONS in
81385391418c9a5d4461b395441b70550101708dnd# the VirtualBox setup below.
208651a016b098f4fa1f6279559f104d70f1632dtakashiSAVED_TEMPLATE := $(TEMPLATE)
208651a016b098f4fa1f6279559f104d70f1632dtakashiinclude $(PATH_SUB_CURRENT)/VBoxUI.pro
81385391418c9a5d4461b395441b70550101708dnd# VirtualBox - The GUI program.
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQT4GUI,VBOXQT4GUIEXE)
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_NAME = VirtualBox
208651a016b098f4fa1f6279559f104d70f1632dtakashiifndef VBOX_WITH_HARDENING # For the launch trick we need different inode numbers.
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_INST.darwin = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM
81385391418c9a5d4461b395441b70550101708dndVirtualBox_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS =
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS.darwin = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_QUARTZ2D
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS.freebsd = VBOX_GUI_USE_QIMAGE
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS.linux = VBOX_GUI_USE_QIMAGE
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS.netbsd = VBOX_GUI_USE_QIMAGE
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_DEFS.openbsd = VBOX_GUI_USE_QIMAGE
2a16e06ab8ecbd48be594c297834c2282b0e6109takashiVirtualBox_DEFS.solaris = VBOX_GUI_USE_QIMAGE
2a16e06ab8ecbd48be594c297834c2282b0e6109takashiVirtualBox_DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL
81385391418c9a5d4461b395441b70550101708dndifdef VBOX_WITH_ICHAT_THEATER
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
81385391418c9a5d4461b395441b70550101708dndVirtualBox_DEFS += \
81385391418c9a5d4461b395441b70550101708dnd $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_SOLARIS_OSS),VBOX_WITH_SOLARIS_OSS) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_UDPTUNNEL),VBOX_WITH_UDPTUNNEL) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
81385391418c9a5d4461b395441b70550101708dnd $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM) \
81385391418c9a5d4461b395441b70550101708dnd $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
81385391418c9a5d4461b395441b70550101708dnd $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
81385391418c9a5d4461b395441b70550101708dnd $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1)
81385391418c9a5d4461b395441b70550101708dndifdef VBOX_WITH_DEBUGGER_GUI
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI
81385391418c9a5d4461b395441b70550101708dnd if "$(KBUILD_TYPE)" != "release"
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
208651a016b098f4fa1f6279559f104d70f1632dtakashiifdef VBOX_WITH_VIDEOHWACCEL
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_DEFS += VBOX_WITH_VIDEOHWACCEL \
208651a016b098f4fa1f6279559f104d70f1632dtakashi VBOX_GUI_USE_QGL
208651a016b098f4fa1f6279559f104d70f1632dtakashielse ifdef VBOX_GUI_USE_QGL
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_DEFS += VBOX_GUI_USE_QGL
208651a016b098f4fa1f6279559f104d70f1632dtakashiifdef VBOX_BLEEDING_EDGE
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_src/selector/UISelectorWindow.cpp_DEFS += \
208651a016b098f4fa1f6279559f104d70f1632dtakashi VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
81385391418c9a5d4461b395441b70550101708dnd VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
81385391418c9a5d4461b395441b70550101708dnd VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
208651a016b098f4fa1f6279559f104d70f1632dtakashi VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\"
208651a016b098f4fa1f6279559f104d70f1632dtakashiVBOX_GUI_INC_DIRS = \
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_INCS = \
81385391418c9a5d4461b395441b70550101708dnd $(VBOX_GUI_INC_DIRS) \
81385391418c9a5d4461b395441b70550101708dnd $(VirtualBox_0_OUTDIR)/include
81385391418c9a5d4461b395441b70550101708dnd# Necessary for the hdd backend enumeration
81385391418c9a5d4461b395441b70550101708dndVirtualBox_LIBS = $(LIB_DDU)
208651a016b098f4fa1f6279559f104d70f1632dtakashiif1of ($(KBUILD_TARGET), linux freebsd netbsd openbsd)
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_LIBS += dl
208651a016b098f4fa1f6279559f104d70f1632dtakashi# This library is required for multi-monitor support
2a16e06ab8ecbd48be594c297834c2282b0e6109takashiifneq ($(KBUILD_TARGET),win)
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_CXXFLAGS += -Wno-switch
208651a016b098f4fa1f6279559f104d70f1632dtakashiifeq ($(KBUILD_TYPE),release)
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
81385391418c9a5d4461b395441b70550101708dnd# delay loading causes VM process crashes due to the misbehave of the current QtOpenGLVBox4.dll we use
81385391418c9a5d4461b395441b70550101708dnd# (i.e. it does not create the ogl context properly when loaded this way)
81385391418c9a5d4461b395441b70550101708dnd# @todo: investigate a better work-around and enable back delay loading since it is needed to avoid
81385391418c9a5d4461b395441b70550101708dnd# crashes caused by buggy ogl drivers for the case 2D is not used (i.e. no ogl stuff loaded)
81385391418c9a5d4461b395441b70550101708dnd#if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
81385391418c9a5d4461b395441b70550101708dnd# VirtualBox_LDFLAGS.win += /DelayLoad:QtOpenGLVBox4.dll /DelayLoad:OPENGL32.dll
208651a016b098f4fa1f6279559f104d70f1632dtakashi -framework AppKit -framework Carbon \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBox.dylib)
81385391418c9a5d4461b395441b70550101708dndifdef VBOX_WITH_ICHAT_THEATER
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
81385391418c9a5d4461b395441b70550101708dnd $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
208651a016b098f4fa1f6279559f104d70f1632dtakashi $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
2a16e06ab8ecbd48be594c297834c2282b0e6109takashi $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
2a16e06ab8ecbd48be594c297834c2282b0e6109takashiif1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
81385391418c9a5d4461b395441b70550101708dndif defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
208651a016b098f4fa1f6279559f104d70f1632dtakashi VirtualBox_LDFLAGS.darwin += -framework OpenGL
81385391418c9a5d4461b395441b70550101708dndifdef VBOX_WITH_CROGL
81385391418c9a5d4461b395441b70550101708dnd VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
208651a016b098f4fa1f6279559f104d70f1632dtakashi# Headers containing definitions of classes that use the Q_OBJECT macro.
208651a016b098f4fa1f6279559f104d70f1632dtakashiVirtualBox_QT_MOCHDRS = \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/runtime/fullscreen/UIMachineWindowFullscreen.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/selector/graphics/chooser/UIGChooserHandlerMouse.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/selector/graphics/chooser/UIGChooserHandlerKeyboard.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/selector/graphics/chooser/UIGChooserItemGroup.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/selector/graphics/chooser/UIGChooserItemMachine.h \
81385391418c9a5d4461b395441b70550101708dnd src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/settings/global/UIGlobalSettingsNetworkDetailsHost.h \
81385391418c9a5d4461b395441b70550101708dnd src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/exportappliance/UIWizardExportAppPageBasic1.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/exportappliance/UIWizardExportAppPageBasic2.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/exportappliance/UIWizardExportAppPageBasic3.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/exportappliance/UIWizardExportAppPageBasic4.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/exportappliance/UIWizardExportAppPageExpert.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/importappliance/UIWizardImportAppPageBasic1.h \
208651a016b098f4fa1f6279559f104d70f1632dtakashi src/wizards/importappliance/UIWizardImportAppPageBasic2.h \
81385391418c9a5d4461b395441b70550101708dnd src/wizards/importappliance/UIWizardImportAppPageExpert.h \
81385391418c9a5d4461b395441b70550101708dnd# Sources containing local definitions of classes that use the Q_OBJECT macro.
81385391418c9a5d4461b395441b70550101708dndVirtualBox_QT_MOCSRCS = \
VirtualBox_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
# (The include directory and lib/framework for each module will be added by the Qt4 unit.)
# Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
VirtualBox_SOURCES += VirtualBox1.qrc
VirtualBox1.qrc_RCCFLAGS = -name BASIC1
VirtualBox_SOURCES += VirtualBox2.qrc
VirtualBox2.qrc_RCCFLAGS = -name BASIC2
VirtualBox_SOURCES += VirtualBoxMac.qrc
VirtualBoxMac.qrc_RCCFLAGS = -name MAC
VirtualBox_SOURCES += VirtualBoxOther.qrc
VirtualBoxOther.qrc_RCCFLAGS = -name OTHER
VirtualBox_SOURCES += $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc
$(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
VirtualBox_SOURCES += VirtualBoxShaders.qrc
VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
# Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts
# bird: What about $(if $(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-extra))?
VirtualBox_src/globals/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
includedep $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/COMWrappers
VirtualBox_CLEAN += $(wildcard $(VirtualBox_0_OUTDIR)/include/*) $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
VirtualBox_SOURCES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
$$(VirtualBox_0_OUTDIR)/include/COMWrappers \
+ $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep \
, $$(VirtualBox_0_OUTDIR)/include/COMEnums.h \
$$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp \
$(VBOX_VIRTUALBOX4_SRC)/src/globals/COMWrappers.xsl \
$(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VirtualBoxComWrapperFiles.dep"
$(QUIET)$(VBOX_XSLTPROC) -o $@ $(VBOX_VIRTUALBOX4_SRC)/src/globals/COMWrappers.xsl $<
$(PATH_TARGET)/VirtualBoxComWrapperFiles.dep VirtualBox_VBOX_COMWRAPPERS
testwrappers:: $$(VirtualBox_0_OUTDIR)/include/COMWrappers
VirtualBox_CLEAN += $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc
$(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc: \
$(VBOX_VIRTUALBOX4_SRC)/VirtualBoxBrand.qrc \
VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/precomp.h.gch
tstx: $$(VirtualBox_0_OUTDIR)/include/precomp.h.gch
$$(VirtualBox_0_OUTDIR)/include/precomp.h.gch: \
$(PATH_SUB_CURRENT)/src/precomp.h \
$$(VirtualBox_0_OUTDIR)/include/COMWrappers.h \
$$(filter %.gen.h, $$(VirtualBox_INTERMEDIATES) ) \
$(VBOX_PATH_SDK)/bindings/xpcom/include/VirtualBox_XPCOM.h \
$(if-expr "$(KBUILD_TYPE)" == "debug", '-DDEBUG' '-DDEBUG_bird' '-DDEBUG_USERNAME=bird' '-DVBOX_CHECK_STATE' ,) \
# On Windows we'll have to generate/edit part of the resource file.
src/platform/win/VirtualBox.rc_INCS = $(VirtualBox_0_OUTDIR)
$$(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
INSTALLS += VirtualBox.lproj
VirtualBox.lproj_MODE = 755
VirtualBox.lproj_DIRS := $(addsuffix .lproj,$(VBOX_APPROVED_GUI_LANGUAGES))
# The VirtualBoxVM.app helper is for launching VMs (fixes some issues with the dock).
INSTALLS += VirtualBox.app
VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
VirtualBox.app_MODE = 644
$(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns \
$(VBOX_BRAND_GUI_VBOX_64PX_PNG)=>Resources/virtualbox.png \
$(PATH_ROOT)/src/VBox/Resources/darwin/virtualbox-vbox-extpack.icns=>Resources/virtualbox-vbox-extpack.icns \
$$(VirtualBox.app_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
$(call MSG_GENERATE,VirtualBox.app,$<,$@)
INSTALLS += VirtualBoxVM.app
VirtualBoxVM.app_MODE = 644
src/platform/darwin/VM-PkgInfo=>PkgInfo \
$(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
$$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
$(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
vmstarter_SOURCES = src/platform/darwin/vmstarter.mm
INSTALLS += vmstarter.app
vmstarter.app_MODE = 644
src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
$(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
$$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
$(call MSG_GENERATE,vmstarter.app,$<,$@)
VBoxOGL2D_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT QT_SHARED HAVE_CONFIG_H $(ARCH_BITS_DEFS) VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
PROGRAMS.darwin += tstDarwinKeyboard
tstDarwinKeyboard_DEFS.x86 = USE_HID_FOR_MODIFIERS
# Unset everything that was loaded from VBoxUI.pro.
# before a new product release. VirtualBox_xx_YY.ts is a template for new
#VirtualBox_QT_TRANSLATIONS = nls/VirtualBox_de.ts
grep -i "src=[^:%]" $(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))
updatenls:: makeallnls nls/VirtualBox_en.ts