Makefile revision e97c9df4a1136232fd00f2b9dedd8f00a17e7a1f
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# Makefile for the VirtualBox Qt GUI.
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# Copyright (C) 2006 InnoTek Systemberatung GmbH
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# available from http://www.virtualbox.org. This file is free software;
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# you can redistribute it and/or modify it under the terms of the GNU
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# General Public License as published by the Free Software Foundation,
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# distribution. VirtualBox OSE is distributed in the hope that it will
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# be useful, but WITHOUT ANY WARRANTY of any kind.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# If you received this file as part of a commercial VirtualBox
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# distribution, then only the terms of your commercial VirtualBox
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# license agreement apply instead of the previous paragraph.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# include qmake project file
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# Import QDesigner UI sources
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# Import translation sources
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# Import images
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# reset things to avoid possible conflicts with kBuild
7db630a55be9d955c8ac125da609b304cbcc6010vboxsyncDEPTH = ../../../..
bd53394d08b77c8294f14b32dd26aa4670f888eevboxsync# Each nls/VirtualBox_xx_YY.ts file must have a qt_xx_YY.ts counterpart
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync $(filter nls/VirtualBox_%.ts,$(VirtualBox_QT_TRANSLATIONS)))
7db630a55be9d955c8ac125da609b304cbcc6010vboxsync# QDesigner UI sources are imported from VBoxUI.pro as VirtualBox_QT_UISRC
# UI headers (ui.h) containing local definitions of classes that use the Q_OBJECT macro
$(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCHDRS))), $(PATH_VirtualBox)/moc/moc_$(moc).cpp) \
$(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS))), $(PATH_VirtualBox)/ui/$(ui).cpp $(PATH_VirtualBox)/moc/moc_$(ui).cpp) \
$(foreach mocui,$(notdir $(basename $(VirtualBox_QT_MOCUIHDRS))), $(PATH_VirtualBox)/moc/$(mocui).moc) \
# All existing .ui.h files for known .ui sources
$(VirtualBox_GENHDRS) \
$(VirtualBox_GENSRCS) \
VirtualBox_INCS = \
./include \
OTHER_CLEAN = \
$(VirtualBox_GENSRCS) \
$(VirtualBox_GENHDRS) \
$(WRAPPERSFILE)
$(call MSG_L1,Generating $@)
VirtualBox.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS)))
VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS_QT)))
$(LIB_RUNTIME)
## Generate a rule to create a MOC include file from a UI header (ui.h) containing
# static images imported from VBoxUI.pro as VirtualBox_QT_IMAGES
#$(patsubst %,$(PATH_VirtualBox)/ui/%.cpp,$(notdir $(basename $(VirtualBox_QT_UISRCS)))) : $(VirtualBox_GENHDRS)
# before a new product release. VirtualBox_xx_YY.ts is a template for new