Makefile revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# Top level makefile.
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes# Copyright (C) 2006 InnoTek Systemberatung GmbH
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# This file is part of VirtualBox Open Source Edition (OSE), as
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes# available from http://www.virtualbox.org. This file is free software;
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# you can redistribute it and/or modify it under the terms of the GNU
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# General Public License as published by the Free Software Foundation,
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# distribution. VirtualBox OSE is distributed in the hope that it will
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# be useful, but WITHOUT ANY WARRANTY of any kind.
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# If you received this file as part of a commercial VirtualBox
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# distribution, then only the terms of your commercial VirtualBox
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# license agreement apply instead of the previous paragraph.
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# Install external binaries (mostly redistributable parts of tools we use).
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# This must be done *before* we build the manual.
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes# To avoid dragging in unnecessary tools and sdks here, we don't use the .win
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes# and .linux property suffixes.
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes# The SDL DLLs
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes ifneq ($(VBOX_WITH_VBOXSDL)$(VBOX_WITH_VBOXBFE),)
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes# The Qt DLLs.
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes #include $(PATH_KBUILD)/sdks/QT3.kmk
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes #bin_SOURCES += \
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes # $(DLL_SDK_QT3_QT)
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes $(VBOX_PATH_QT)/bin/qt-mt333.dll=>qt-mt333.dll
2f1d1e46769e539095f74416cad9129d31d2616eGustavo Lopes $(PATH_DEVTOOLS)/win.amd64/Qt/v3.3.6/bin/qt-mt336.dll=>qt-mt336.dll
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes# The compiler runtime DLLs.
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopesifeq ($(BUILD_TARGET).$(VBOX_WITHOUT_COMPILER_REDIST),win.)
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcr80.dll=>Microsoft.VC80.CRT/msvcr80.dll \
9fec1c146f0886a2635fffd846548ccad3c4d1e6Gustavo Lopes $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcp80.dll=>Microsoft.VC80.CRT/msvcp80.dll \
9fec1c146f0886a2635fffd846548ccad3c4d1e6Gustavo Lopes $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>testcase/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
9fec1c146f0886a2635fffd846548ccad3c4d1e6Gustavo Lopes $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcr80.dll=>testcase/Microsoft.VC80.CRT/msvcr80.dll \
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcp80.dll=>testcase/Microsoft.VC80.CRT/msvcp80.dll
9fec1c146f0886a2635fffd846548ccad3c4d1e6Gustavo Lopes $(PATH_TOOL_VCCAMD64)/redist/amd64/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
9fec1c146f0886a2635fffd846548ccad3c4d1e6Gustavo Lopes $(PATH_TOOL_VCCAMD64)/redist/amd64/Microsoft.VC80.CRT/msvcr80.dll=>Microsoft.VC80.CRT/msvcr80.dll \
2563573f45415d9a2a9deb5fa6401c86ed0c326aGustavo Lopes $(PATH_TOOL_VCCAMD64)/redist/amd64/Microsoft.VC80.CRT/msvcp80.dll=>Microsoft.VC80.CRT/msvcp80.dll \
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes $(PATH_TOOL_VCCAMD64)/redist/amd64/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>testcase/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes $(PATH_TOOL_VCCAMD64)/redist/amd64/Microsoft.VC80.CRT/msvcr80.dll=>testcase/Microsoft.VC80.CRT/msvcr80.dll \
4ad8608d676334e57aec8447148ceeae37c2dee0Gustavo Lopes $(PATH_TOOL_VCCAMD64)/redist/amd64/Microsoft.VC80.CRT/msvcp80.dll=>testcase/Microsoft.VC80.CRT/msvcp80.dll
bin_SOURCES += \
bin_SOURCES += \
bin_SOURCES += \
$(MKDIR) -p $@
incs:
$(SED) -e '/__VBox_x86_h__/d' -e '/#define/!d' -e 's/#define/%define/' include/VBox/x86.h > include/VBox/x86.mac
echo '#define RT_SRC_POS_DECL const char *pszFile, unsigned iLine, const char *pszFunction ' >> $@.tmp
echo '#define PDM_SRC_POS_DECL const char *pszFile, unsigned iLine, const char *pszFunction ' >> $@.tmp
-e '/define *DECL..CALLBACKMEMBER(type[^)]*) *RT/d' \
>> $@.tmp