[2478] | 1 | # $Id: Makefile.kmk 98103 2023-01-17 14:15:46Z vboxsync $
|
---|
| 2 | ## @file
|
---|
[1] | 3 | # Top level makefile.
|
---|
| 4 | #
|
---|
[2478] | 5 |
|
---|
[1] | 6 | #
|
---|
[98103] | 7 | # Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[4398] | 8 | #
|
---|
[96407] | 9 | # This file is part of VirtualBox base platform packages, as
|
---|
| 10 | # available from https://www.virtualbox.org.
|
---|
[5999] | 11 | #
|
---|
[96407] | 12 | # This program is free software; you can redistribute it and/or
|
---|
| 13 | # modify it under the terms of the GNU General Public License
|
---|
| 14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
| 15 | # License.
|
---|
| 16 | #
|
---|
| 17 | # This program is distributed in the hope that it will be useful, but
|
---|
| 18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 20 | # General Public License for more details.
|
---|
| 21 | #
|
---|
| 22 | # You should have received a copy of the GNU General Public License
|
---|
| 23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 24 | #
|
---|
| 25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
| 26 | #
|
---|
[1] | 27 |
|
---|
[10195] | 28 | SUB_DEPTH = .
|
---|
| 29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
[1] | 30 |
|
---|
[12243] | 31 | #
|
---|
| 32 | # Sub-makefiles / Sub-directories.
|
---|
| 33 | #
|
---|
[51770] | 34 | ifndef VBOX_ONLY_ROOT_MAKEFILE
|
---|
[56347] | 35 | if (defined(VBOX_WITH_DOCS) || defined(VBOX_WITH_MAIN)) \
|
---|
[79891] | 36 | && (!defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)) \
|
---|
| 37 | && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
|
---|
[51770] | 38 | include $(PATH_SUB_CURRENT)/doc/manual/Makefile.kmk
|
---|
| 39 | endif
|
---|
| 40 | include $(PATH_SUB_CURRENT)/src/Makefile.kmk
|
---|
[68676] | 41 | ifdef VBOX_WITH_INCLUDE_SYNTAX_CHECKING
|
---|
| 42 | include $(PATH_SUB_CURRENT)/include/Makefile.kmk
|
---|
| 43 | endif
|
---|
[10195] | 44 | endif
|
---|
[1] | 45 |
|
---|
[48584] | 46 | #
|
---|
| 47 | # Below we might need TOOL_ZIP_UNPACK (for the additions/docs/efifw packages
|
---|
| 48 | # from the build server), and it's not really worth the effort of dragging in
|
---|
| 49 | #q this tool only if absolutely needed.
|
---|
| 50 | #
|
---|
| 51 | ## @todo Hack to get at TOOL_ZIP_UNPACK; see if this can be integrated somehow...
|
---|
| 52 | include $(KBUILD_PATH)/tools/ZIP.kmk
|
---|
| 53 | ifndef TOOL_ZIP_PACK
|
---|
| 54 | TOOL_ZIP_PACK = zip
|
---|
| 55 | endif
|
---|
[12243] | 56 |
|
---|
[48584] | 57 |
|
---|
[42276] | 58 | ## @todo split up this file!
|
---|
| 59 |
|
---|
| 60 |
|
---|
[15800] | 61 | #
|
---|
| 62 | # Clean up global stuff that Config.kmk generates.
|
---|
| 63 | #
|
---|
| 64 | OTHER_CLEAN += \
|
---|
| 65 | $(VBOX_PACKAGE_HEADER) \
|
---|
| 66 | $(VBOX_LICENSE_VER_KMK) \
|
---|
| 67 | $(VBOX_VERSION_MK) \
|
---|
| 68 | $(VBOX_VERSION_HEADER) \
|
---|
| 69 | $(VBOX_VERSION_STAMP) \
|
---|
| 70 | $(wildcard $(PATH_OUT)/version-stamp-*.*.*) \
|
---|
| 71 | $(VBOX_SVN_REV_KMK).ts \
|
---|
[15802] | 72 | $(VBOX_SVN_REV_KMK) \
|
---|
[47046] | 73 | $(PATH_OUT)/DynamicConfig.kmk
|
---|
[15800] | 74 |
|
---|
| 75 |
|
---|
[34482] | 76 | if !defined(VBOX_ONLY_ADDITIONS) \
|
---|
| 77 | && !defined(VBOX_ONLY_DOCS) \
|
---|
| 78 | && !defined(VBOX_ONLY_EXTPACKS) \
|
---|
[51346] | 79 | && !defined(VBOX_ONLY_VALIDATIONKIT) # -> line 426b ;-)
|
---|
[12576] | 80 |
|
---|
[42276] | 81 | if !defined(VBOX_OSE) && defined(VBOX_LICENSE_FILES)
|
---|
| 82 | #
|
---|
| 83 | # Install the license (and misc non-executable stuff).
|
---|
| 84 | #
|
---|
| 85 | INSTALLS += InstallLicenseFiles
|
---|
| 86 | InstallLicenseFiles_INST = $(INST_BIN)
|
---|
| 87 | InstallLicenseFiles_MODE = 0644
|
---|
| 88 | InstallLicenseFiles_SOURCES =
|
---|
| 89 | InstallLicenseFiles_SOURCES += \
|
---|
[13264] | 90 | $(VBOX_BRAND_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER).html \
|
---|
[42276] | 91 | $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES),$(VBOX_BRAND_$(f)_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER)-$(f).html)
|
---|
[12576] | 92 | endif
|
---|
| 93 |
|
---|
| 94 |
|
---|
[1] | 95 | #
|
---|
| 96 | # Install external binaries (mostly redistributable parts of tools we use).
|
---|
| 97 | #
|
---|
| 98 | # To avoid dragging in unnecessary tools and sdks here, we don't use the .win
|
---|
| 99 | # and .linux property suffixes.
|
---|
| 100 | #
|
---|
[42276] | 101 | INSTALLS += InstallExternalLibs
|
---|
[1] | 102 |
|
---|
[42276] | 103 | InstallExternalLibs_INST = $(INST_BIN)
|
---|
[1] | 104 |
|
---|
| 105 | # The SDL DLLs
|
---|
[8758] | 106 | if1of ($(KBUILD_TARGET), win os2)
|
---|
[44580] | 107 | ifdef VBOX_WITH_VBOXSDL
|
---|
[8760] | 108 | include $(KBUILD_PATH)/sdks/LIBSDL.kmk
|
---|
[42276] | 109 | InstallExternalLibs_SOURCES += \
|
---|
[51770] | 110 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDL))
|
---|
[1] | 111 | ifdef VBOX_WITH_SECURELABEL
|
---|
[42276] | 112 | InstallExternalLibs_SOURCES += \
|
---|
[51770] | 113 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDLTTF))
|
---|
[1] | 114 | endif
|
---|
[8758] | 115 | ifeq ($(KBUILD_TARGET),os2)
|
---|
[42276] | 116 | InstallExternalLibs_SOURCES += \
|
---|
[1] | 117 | $(DLL_SDK_LIBSDL_FSLIB)
|
---|
| 118 | endif
|
---|
| 119 | endif
|
---|
| 120 | endif
|
---|
| 121 |
|
---|
[3405] | 122 |
|
---|
[1] | 123 | # The compiler runtime DLLs.
|
---|
[8758] | 124 | ifeq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COMPILER_REDIST),win.)
|
---|
[84467] | 125 | ifndef TOOL_$(VBOX_VCC_TOOL)
|
---|
| 126 | include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk
|
---|
| 127 | endif
|
---|
| 128 | ifndef TOOL_$(VBOX_VCC_TOOL_STEM)X86
|
---|
| 129 | include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL_STEM)X86.kmk
|
---|
| 130 | endif
|
---|
[83836] | 131 | ifdef PATH_TOOL_$(VBOX_VCC_TOOL_STEM)_REDIST
|
---|
| 132 | InstallExternalLibs_SOURCES += \
|
---|
| 133 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT)/), \
|
---|
[84370] | 134 | $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)) \
|
---|
[83836] | 135 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \
|
---|
| 136 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll)))
|
---|
| 137 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
| 138 | InstallExternalLibs_SOURCES += \
|
---|
| 139 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT)/), \
|
---|
[84370] | 140 | $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)) \
|
---|
[83836] | 141 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll)))
|
---|
| 142 | endif
|
---|
| 143 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
| 144 | InstallExternalLibs_SOURCES += \
|
---|
| 145 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_DEBUG_CRT)/), \
|
---|
[84370] | 146 | $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)))) \
|
---|
[83836] | 147 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \
|
---|
| 148 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll)))
|
---|
| 149 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
| 150 | InstallExternalLibs_SOURCES += \
|
---|
| 151 | $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_DEBUG_CRT)/), \
|
---|
[84370] | 152 | $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)))) \
|
---|
[83836] | 153 | ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll)))
|
---|
| 154 | endif
|
---|
| 155 | endif
|
---|
[93322] | 156 | ifeq ($(KBUILD_TYPE),asan)
|
---|
| 157 | ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
| 158 | InstallExternalLibs_SOURCES += \
|
---|
| 159 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll) \
|
---|
| 160 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dynamic-x86_64.dll
|
---|
| 161 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
| 162 | InstallExternalLibs_SOURCES += \
|
---|
| 163 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll) \
|
---|
| 164 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dbg_dynamic-x86_64.dll
|
---|
| 165 | endif
|
---|
| 166 | endif
|
---|
| 167 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
| 168 | InstallExternalLibs_SOURCES += \
|
---|
| 169 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll) \
|
---|
| 170 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll)=>testcase/clang_rt.asan_dynamic-i386.dll
|
---|
| 171 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
| 172 | InstallExternalLibs_SOURCES += \
|
---|
| 173 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll) \
|
---|
| 174 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll)=>testcase/clang_rt.asan_dbg_dynamic-i386.dll
|
---|
| 175 | endif
|
---|
| 176 | endif
|
---|
| 177 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
| 178 | InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dynamic-i386.dll
|
---|
| 179 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
| 180 | InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dbg_dynamic-i386.dll
|
---|
| 181 | endif
|
---|
| 182 | endif
|
---|
| 183 | endif
|
---|
[83836] | 184 | else
|
---|
| 185 | VBOX_VCC_REDIR_BASE := Microsoft.VC$(substr $(VBOX_VCC_TOOL),4,3)
|
---|
| 186 | VBOX_PATH_VCC_REDIST = $(PATH_TOOL_$(VBOX_VCC_TOOL))/redist/
|
---|
| 187 | VBOX_PATH_VCC_REDIST_CRT = $(VBOX_PATH_VCC_REDIST)/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).CRT
|
---|
| 188 | VBOX_PATH_VCC_REDIST_CRT_DBG = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).DebugCRT
|
---|
| 189 | VBOX_PATH_VCC_REDIST_CRT_X86 = $(VBOX_PATH_VCC_REDIST)/x86/$(VBOX_VCC_REDIR_BASE).CRT
|
---|
| 190 | VBOX_PATH_VCC_REDIST_CRT_DBG_X86 = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/x86/$(VBOX_VCC_REDIR_BASE).DebugCRT
|
---|
[51770] | 191 |
|
---|
[83836] | 192 | InstallExternalLibs_SOURCES += \
|
---|
| 193 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \
|
---|
| 194 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \
|
---|
| 195 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \
|
---|
| 196 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll
|
---|
[49537] | 197 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
[83836] | 198 | InstallExternalLibs_SOURCES += \
|
---|
| 199 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \
|
---|
| 200 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll
|
---|
[49537] | 201 | endif
|
---|
[83836] | 202 | ifeq ($(VBOX_VCC_CRT_TYPE),d)
|
---|
| 203 | InstallExternalLibs_SOURCES += \
|
---|
| 204 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \
|
---|
| 205 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \
|
---|
| 206 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \
|
---|
| 207 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll
|
---|
| 208 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
| 209 | InstallExternalLibs_SOURCES += \
|
---|
| 210 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \
|
---|
| 211 | $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll
|
---|
| 212 | endif
|
---|
| 213 | endif
|
---|
[42221] | 214 | endif
|
---|
[1] | 215 | endif
|
---|
| 216 |
|
---|
[1648] | 217 | #
|
---|
[12173] | 218 | # Install our Qt DLLs / Shared Objects / Frameworks.
|
---|
[12952] | 219 | # Note: The installer fixes the darwin .dylibs when hardening is enabled.
|
---|
[54680] | 220 | # Note: Contents/Info.plist is where it's in 4.7.x, not sure if the location is kosher... According to
|
---|
| 221 | # https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
|
---|
| 222 | # the Info.plist file goes into Resources.
|
---|
[12173] | 223 | #
|
---|
[67067] | 224 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
[94073] | 225 | ifdef VBOX_WITH_QT6
|
---|
| 226 | include $(KBUILD_PATH)/units/qt6.kmk
|
---|
| 227 | VBOX_QT_FWRK_VER = A
|
---|
| 228 | VBOX_QT_PATH = $(PATH_SDK_QT6)
|
---|
| 229 | VBOX_QT_PATH_LIB = $(PATH_SDK_QT6_LIB)
|
---|
| 230 | else
|
---|
| 231 | include $(KBUILD_PATH)/units/qt5.kmk
|
---|
| 232 | VBOX_QT_FWRK_VER = 5
|
---|
| 233 | VBOX_QT_PATH = $(PATH_SDK_QT5)
|
---|
| 234 | VBOX_QT_PATH_LIB = $(PATH_SDK_QT5_LIB)
|
---|
| 235 | endif
|
---|
[88177] | 236 | ifdef VBOX_WITH_QTGUI
|
---|
| 237 | INSTALLS += qt5-bin
|
---|
| 238 | endif
|
---|
[67067] | 239 | qt5-bin_INST = $(INST_VIRTUALBOX)Contents/
|
---|
[82854] | 240 | qt5-bin_EXEC_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
|
---|
[94073] | 241 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod))
|
---|
[67067] | 242 | qt5-bin_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
|
---|
[94073] | 243 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist)
|
---|
[82854] | 244 | ifdef VBOX_WITH_QT_DSYMS
|
---|
| 245 | qt5-bin_SOURCES += $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
|
---|
[94073] | 246 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Info.plist=>Frameworks/$(qtmod).framework.dSYM/Contents/Info.plist \
|
---|
| 247 | $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)=>Frameworks/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod))
|
---|
[82854] | 248 | endif
|
---|
| 249 | qt5-bin_EXEC_SOURCES += \
|
---|
[94073] | 250 | $(VBOX_QT_PATH)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \
|
---|
| 251 | $(VBOX_QT_PATH)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \
|
---|
| 252 | $(VBOX_QT_PATH)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL) \
|
---|
| 253 | $(VBOX_QT_PATH)/plugins/sqldrivers/libqsqlite$(SUFF_DLL)=>plugins/sqldrivers/libqsqlite$(SUFF_DLL) \
|
---|
| 254 | $(VBOX_QT_PATH)/plugins/styles/libqmacstyle$(SUFF_DLL)=>plugins/styles/libqmacstyle$(SUFF_DLL)
|
---|
[82854] | 255 | ifdef VBOX_WITH_QT_DSYMS
|
---|
| 256 | qt5-bin_SOURCES += $(foreach qtplat, libqcocoa libqminimal libqoffscreen, \
|
---|
[94073] | 257 | $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist \
|
---|
| 258 | $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL))
|
---|
[88316] | 259 | qt5-bin_SOURCES += $(foreach qtsqldrv, libqsqlite, \
|
---|
[94073] | 260 | $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist \
|
---|
| 261 | $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL)=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL))
|
---|
[88141] | 262 | qt5-bin_SOURCES += $(foreach qtstyl, libqmacstyle, \
|
---|
[94073] | 263 | $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist \
|
---|
| 264 | $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL)=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL))
|
---|
[82854] | 265 | endif
|
---|
[67067] | 266 | qt5-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \
|
---|
[94859] | 267 | Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_FWRK_VER) \
|
---|
[94073] | 268 | Frameworks/$(qtmod).framework/$(qtmod)=>Versions/$(VBOX_QT_FWRK_VER)/$(qtmod) \
|
---|
| 269 | Frameworks/$(qtmod).framework/Resources=>Versions/$(VBOX_QT_FWRK_VER)/Resources)
|
---|
[83033] | 270 | qt5-bin_INSTALLER = $(INSTALL) $(if $(uid),-o $(uid)) $(if $(gid),-g $(gid)) $(if $(mode),-m $(mode)) $(4) -- \
|
---|
| 271 | "$(1)" "$(2)" $(if-expr "$(source_type_prefix)" == "EXEC_" \
|
---|
| 272 | ,$(NLTAB)install_name_tool \
|
---|
[94073] | 273 | $(if-expr "$(suffix $2)" == "", -id "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Framework,@rpath)/$(notdir $(2)).framework/Version/$(VBOX_QT_FWRK_VER)/$(notdir $(2))",) \
|
---|
[83033] | 274 | $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \
|
---|
[94073] | 275 | $(foreach prefix, @executable_path/../Frameworks/ $(VBOX_PATH_QT)/Frameworks/ $(VBOX_QT_PATH)/, \
|
---|
| 276 | -change "$(prefix)$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" \
|
---|
| 277 | "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Frameworks,@rpath)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" ) ) \
|
---|
[83033] | 278 | "$(2)",) # HACK ALERT! Using $(source_type_prefix) to detect EXEC_SOURCES.
|
---|
[67067] | 279 | else # win x11
|
---|
| 280 | if1of ($(KBUILD_TARGET), linux solaris)
|
---|
[97892] | 281 | if !defined(VBOX_ONLY_BUILD) && defined(VBOX_WITH_QTGUI)
|
---|
[67067] | 282 | ifneq ($(VBOX_GCC_VERSION_CXX),)
|
---|
[85048] | 283 | if $(VBOX_GCC_VERSION_CXX) < 40400
|
---|
[67067] | 284 | $(error gcc >= 4.4 required when compiling against Qt5!)
|
---|
[59509] | 285 | endif
|
---|
[52609] | 286 | endif
|
---|
[67067] | 287 | endif
|
---|
[59509] | 288 | endif
|
---|
[67067] | 289 | if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD)
|
---|
[59509] | 290 | include $(KBUILD_PATH)/units/qt5.kmk
|
---|
[67067] | 291 | ifeq ($(KBUILD_TARGET),win)
|
---|
[88177] | 292 | ifdef VBOX_WITH_QTGUI
|
---|
| 293 | INSTALLS += qt5-bin
|
---|
| 294 | endif
|
---|
[67067] | 295 | qt5-bin_MODE = 755
|
---|
| 296 | qt5-bin_INST = $(INST_BIN)
|
---|
| 297 | qt5-bin_SOURCES = \
|
---|
| 298 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/bin/$(qtmod)$(SUFF_DLL)))
|
---|
| 299 | qt5-bin_SOURCES += \
|
---|
| 300 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qwindows$(SUFF_DLL))=>platforms/qwindows$(SUFF_DLL) \
|
---|
| 301 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qminimal$(SUFF_DLL))=>platforms/qminimal$(SUFF_DLL) \
|
---|
[88142] | 302 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qoffscreen$(SUFF_DLL))=>platforms/qoffscreen$(SUFF_DLL) \
|
---|
[88315] | 303 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/sqldrivers/qsqlite$(SUFF_DLL))=>sqldrivers/qsqlite$(SUFF_DLL) \
|
---|
[88142] | 304 | $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/styles/qwindowsvistastyle$(SUFF_DLL))=>styles/qwindowsvistastyle$(SUFF_DLL)
|
---|
[67067] | 305 | ifdef VBOX_WITH_QT_PDBS
|
---|
| 306 | qt5-bin_SOURCES += \
|
---|
| 307 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(PATH_SDK_QT5)/qt*/$(VBOX_PATH_QT_LIB)/$(qtmod).pdb))
|
---|
| 308 | endif # VBOX_WITH_QT_PDBS
|
---|
| 309 | else # x11
|
---|
[88177] | 310 | ifdef VBOX_WITH_QTGUI
|
---|
| 311 | INSTALLS += qt5-bin
|
---|
| 312 | endif
|
---|
[67067] | 313 | qt5-bin_MODE = 755
|
---|
| 314 | qt5-bin_INST = $(INST_BIN)
|
---|
| 315 | ifdef VBOX_WITH_HARDENING
|
---|
| 316 | # The wildcards are necessary to install the libs instead of the symlinks
|
---|
| 317 | qt5-bin_SOURCES = \
|
---|
[88349] | 318 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod).so.*.*.*[0-9])=>lib$(qtmod).so.5) \
|
---|
[67067] | 319 | $(foreach lib,$(VBOX_QT_PLUGINS),$(VBOX_PATH_QT)/$(lib)=>$(lib))
|
---|
| 320 | else # !VBOX_WITH_HARDENING
|
---|
| 321 | # For non-hardened builds we need to remove the RUNPATH. This stuff is
|
---|
| 322 | # ugly but we need to prevent kBuild from hard-linking otherwise we
|
---|
| 323 | # (indirectly) change the binaries in tools
|
---|
| 324 | ifneq ($(KBUILD_TARGET),solaris)
|
---|
[88285] | 325 | QT5_VERSION = 5.15.2
|
---|
[67067] | 326 | else
|
---|
[88325] | 327 | QT5_VERSION = 5.15.2
|
---|
[62313] | 328 | endif
|
---|
[59509] | 329 | qt5-bin_SOURCES = \
|
---|
[67067] | 330 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)=>lib$(qtmod).so.5) \
|
---|
| 331 | $(foreach lib,$(VBOX_QT_PLUGINS),$(qt5-bin_0_OUTDIR)/$(lib)=>$(lib))
|
---|
[60081] | 332 |
|
---|
[62828] | 333 | $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)): \
|
---|
[67126] | 334 | $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/% | $$(qt5-bin_0_OUTDIR)/
|
---|
| 335 | $(call MSG_INST_FILE,$^,$@)
|
---|
| 336 | $(QUIET)$(CP) $^ $@
|
---|
[86566] | 337 | $(QUIET)chrpath --replace "\$$ORIGIN" $@
|
---|
[62472] | 338 |
|
---|
[69134] | 339 | ifn1of ($(KBUILD_TARGET),solaris linux)
|
---|
[60117] | 340 | $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \
|
---|
[67126] | 341 | $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/
|
---|
| 342 | $(call MSG_INST_FILE,$^,$@)
|
---|
| 343 | $(QUIET)$(MKDIR) -p $(@D)
|
---|
| 344 | $(QUIET)$(CP) $^ $@
|
---|
| 345 | $(QUIET)chrpath --delete $@
|
---|
[69134] | 346 | endif # !solaris and !linux
|
---|
[60081] | 347 |
|
---|
[69134] | 348 | # @todo For solaris and some linuxes dlopen fails to navigate executable rpath to dependent libraries,
|
---|
[67067] | 349 | # so add explicit rpath for libqxcb.so, find better solution later.
|
---|
[69134] | 350 | if1of ($(KBUILD_TARGET),solaris linux)
|
---|
[60690] | 351 | $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \
|
---|
[67126] | 352 | $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/
|
---|
| 353 | $(call MSG_INST_FILE,$^,$@)
|
---|
| 354 | $(QUIET)$(MKDIR) -p $(@D)
|
---|
| 355 | $(QUIET)$(CP) $^ $@
|
---|
| 356 | $(QUIET)chrpath --replace "\$$ORIGIN/../../" $@
|
---|
[69134] | 357 | endif # solaris linux
|
---|
[60690] | 358 |
|
---|
[67067] | 359 | endif # !VBOX_WITH_HARDENING
|
---|
| 360 | endif # x11
|
---|
| 361 | endif # VBOX_WITH_ORACLE_QT || VBOX_WITH_QT_PAYLOAD
|
---|
| 362 | endif # win x11
|
---|
[12173] | 363 |
|
---|
[61846] | 364 |
|
---|
[12173] | 365 | #
|
---|
[61846] | 366 | # Install additions iso from the build server if configured to do so.
|
---|
[17250] | 367 | #
|
---|
[61846] | 368 | # Note! For building the combined package, just get the additions .ISO
|
---|
| 369 | # once for amd64 to prevent version inconsistences. In all other
|
---|
| 370 | # cases we get the .ISO per target architecture.
|
---|
[17250] | 371 | #
|
---|
[61846] | 372 | if defined(VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER) \
|
---|
| 373 | && ( !defined(VBOX_WITH_COMBINED_PACKAGE) \
|
---|
| 374 | || "$(KBUILD_TARGET_ARCH)" == "amd64" )
|
---|
| 375 | INSTALLS += buildserver-additions
|
---|
| 376 | buildserver-additions_INST = $(INST_ADDITIONS_ISO)
|
---|
| 377 | buildserver-additions_MODE = 0644
|
---|
| 378 | buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso
|
---|
| 379 | buildserver-additions_CLEANS = \
|
---|
| 380 | $(buildserver-additions_0_OUTDIR)/unpacked.ts \
|
---|
| 381 | $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip \
|
---|
| 382 | $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp \
|
---|
| 383 | $(PATH_TARGET)/VBoxGuestAdditions.iso
|
---|
[6129] | 384 |
|
---|
[61846] | 385 | $$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \
|
---|
| 386 | $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip
|
---|
[45056] | 387 | $(call MSG_L1,Unpacking additions archive)
|
---|
[68790] | 388 | $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
|
---|
[69094] | 389 | $(TOUCH) -c -- $(PATH_TARGET)/VBoxGuestAdditions.iso
|
---|
[45056] | 390 | $(APPEND) -t $@ "done"
|
---|
| 391 |
|
---|
[85654] | 392 | $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/additions.sh | $$(dir $$@)
|
---|
[58530] | 393 | $(RM) -f -- "$@" "$@.tmp"
|
---|
[85654] | 394 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/additions.sh --cmd fetch --filename "$@.tmp" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
[58530] | 395 | $(MV) -f -- "$@.tmp" "$@"
|
---|
[6129] | 396 |
|
---|
[61846] | 397 | endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER unless win.x86+combined
|
---|
[6129] | 398 |
|
---|
| 399 |
|
---|
| 400 | #
|
---|
[11686] | 401 | # Install documentation files (at the moment the .chm) from the build server.
|
---|
| 402 | #
|
---|
| 403 | ifdef VBOX_WITH_DOCS_FROM_BUILD_SERVER
|
---|
[13348] | 404 | ## @todo r=bird: Too much mess now for $(PATH_TARGET); move to doc/manual/.
|
---|
[11686] | 405 | INSTALLS += buildserver-docs
|
---|
| 406 | buildserver-docs_INST = $(INST_BIN)
|
---|
| 407 | buildserver-docs_MODE = 0644
|
---|
[13228] | 408 | buildserver-docs_SOURCES = \
|
---|
[13246] | 409 | $(addprefix $(PATH_TARGET)/, \
|
---|
[88303] | 410 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox.chm,) \
|
---|
[88323] | 411 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),UserManual.qch UserManual.qhc,) \
|
---|
[88303] | 412 | UserManual.pdf \
|
---|
| 413 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
| 414 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox_$(f).chm,) \
|
---|
[88323] | 415 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),UserManual_$(f).qch UserManual_$(f).qhc,) \
|
---|
[88303] | 416 | UserManual_$(f).pdf))
|
---|
[13228] | 417 | buildserver-docs_CLEANS = \
|
---|
[21925] | 418 | $(buildserver-docs_0_OUTDIR)/unpacked.ts \
|
---|
| 419 | $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip \
|
---|
| 420 | $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip.tmp \
|
---|
[13246] | 421 | $(addprefix $(PATH_TARGET)/, \
|
---|
[88323] | 422 | VirtualBox.chm UserManual.qch UserManual.qhc UserManual.pdf \
|
---|
| 423 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
| 424 | VirtualBox_$(f).chm \
|
---|
| 425 | UserManual_$(f).qch UserManual_$(f).qhc \
|
---|
| 426 | UserManual_$(f).pdf))
|
---|
[11686] | 427 |
|
---|
[88303] | 428 | $$(buildserver-docs_0_OUTDIR)/unpacked.ts +| \
|
---|
| 429 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \
|
---|
[88323] | 430 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual.qch $(PATH_TARGET)/UserManual.qhc,) \
|
---|
[88303] | 431 | $(PATH_TARGET)/UserManual.pdf \
|
---|
[88323] | 432 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
| 433 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox_$(f).chm,) \
|
---|
| 434 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual_$(f).qch $(PATH_TARGET)/UserManual_$(f).qhc,) \
|
---|
| 435 | $(PATH_TARGET)/UserManual_$(f).pdf): \
|
---|
[21925] | 436 | $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip
|
---|
[11686] | 437 | $(call MSG_L1,Unpacking documentation)
|
---|
[68790] | 438 | $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
|
---|
[88303] | 439 | $(TOUCH) -c -- \
|
---|
| 440 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \
|
---|
[88323] | 441 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual.qch $(PATH_TARGET)/UserManual.qhc,) \
|
---|
[69094] | 442 | $(PATH_TARGET)/UserManual.pdf \
|
---|
[88303] | 443 | $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
|
---|
| 444 | $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox_$(f).chm,) \
|
---|
[88323] | 445 | $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual_$(f).qch $(PATH_TARGET)/UserManual_$(f).qhc,) \
|
---|
[88303] | 446 | $(PATH_TARGET)/UserManual_$(f).pdf)
|
---|
[21925] | 447 | $(APPEND) -t $@ "done"
|
---|
[11686] | 448 |
|
---|
[85654] | 449 | $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/documentation.sh | $$(dir $$@)
|
---|
[58530] | 450 | $(RM) -f -- "$@" "$@.tmp"
|
---|
[85654] | 451 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/documentation.sh --cmd fetch --filename "$@.tmp" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
[58530] | 452 | $(MV) -f -- "$@.tmp" "$@"
|
---|
[11686] | 453 |
|
---|
[13348] | 454 | endif # VBOX_WITH_DOCS_FROM_BUILD_SERVER
|
---|
[11686] | 455 |
|
---|
| 456 |
|
---|
[29079] | 457 | ifdef VBOX_WITH_EFI
|
---|
| 458 | #
|
---|
| 459 | # Install EFI firmware image
|
---|
| 460 | #
|
---|
| 461 | ifdef VBOX_WITH_EFIFW_FROM_BUILD_SERVER
|
---|
| 462 | #
|
---|
| 463 | # Either from the build server.
|
---|
| 464 | #
|
---|
[58529] | 465 | ifndef VBOX_EFI_FIRMWARE_EFI_MODULES_KMK_INCLUDED
|
---|
[85788] | 466 | include $(PATH_ROOT)/src/VBox/Devices/EFI/Firmware/EfiModules.kmk
|
---|
[58528] | 467 | endif
|
---|
[29079] | 468 | INSTALLS += buildserver-efifw
|
---|
| 469 | buildserver-efifw_INST = $(INST_BIN)
|
---|
| 470 | buildserver-efifw_MODE = 0644
|
---|
| 471 | buildserver-efifw_SOURCES = \
|
---|
[48584] | 472 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
| 473 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
|
---|
[29079] | 474 | buildserver-efifw_CLEANS = \
|
---|
| 475 | $(buildserver-efifw_0_OUTDIR)/unpacked.ts \
|
---|
[48584] | 476 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
| 477 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \
|
---|
[29079] | 478 | $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip \
|
---|
[58528] | 479 | $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip.tmp \
|
---|
| 480 | $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb))
|
---|
[23650] | 481 |
|
---|
[58528] | 482 | INSTALLS += buildserver-efifw-dbg-amd64
|
---|
| 483 | buildserver-efifw-dbg-amd64_INST = $(INST_VBOXDBG_SYMS)amd64/
|
---|
| 484 | buildserver-efifw-dbg-amd64_MODE = 0644
|
---|
| 485 | buildserver-efifw-dbg-amd64_SOURCES = \
|
---|
| 486 | $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$(buildserver-efifw_0_OUTDIR)/amd64/$(mod).pdb)
|
---|
| 487 |
|
---|
| 488 | INSTALLS += buildserver-efifw-dbg-x86
|
---|
| 489 | buildserver-efifw-dbg-x86_INST = $(INST_VBOXDBG_SYMS)x86/
|
---|
| 490 | buildserver-efifw-dbg-x86_MODE = 0644
|
---|
| 491 | buildserver-efifw-dbg-x86_SOURCES = \
|
---|
| 492 | $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$(buildserver-efifw_0_OUTDIR)/x86/$(mod).pdb)
|
---|
| 493 |
|
---|
[29079] | 494 | $$(buildserver-efifw_0_OUTDIR)/unpacked.ts \
|
---|
[48584] | 495 | +| $$(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
[58528] | 496 | $$(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \
|
---|
| 497 | $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb)): \
|
---|
[29079] | 498 | $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip
|
---|
[25706] | 499 | $(call MSG_L1,Unpacking EFI firmware)
|
---|
[68790] | 500 | $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(buildserver-efifw_0_OUTDIR)
|
---|
[58528] | 501 | $(foreach arch, amd64 x86, \
|
---|
[58533] | 502 | $(NLTAB) $(QUIET)$(TEST) '!' -d $(dir $@)/$(arch) -- $(MKDIR_EXT) -- $(dir $@)/$(arch) \
|
---|
[58528] | 503 | $(foreach mod,$(VBOX_EFI_MODULES_FLAT) \
|
---|
[58533] | 504 | ,$(NLTAB) $(QUIET)$(TEST) '!' -f $(dir $@)/$(arch)/$(mod).pdb -- $(APPEND_EXT) $(dir $@)/$(arch)/$(mod).pdb ))
|
---|
[69094] | 505 | $(TOUCH) -c -- $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
|
---|
[69071] | 506 | $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
|
---|
[25706] | 507 | $(APPEND) -t $@ "done"
|
---|
[23656] | 508 |
|
---|
[29079] | 509 | $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip: \
|
---|
[85654] | 510 | $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@)
|
---|
[58528] | 511 | $(RM) -f -- "$@" "$@.tmp"
|
---|
[85654] | 512 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename "$@.tmp" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
[58528] | 513 | $(MV) -f -- "$@.tmp" "$@"
|
---|
[23650] | 514 |
|
---|
[29079] | 515 | else # !VBOX_WITH_EFIFW_FROM_BUILD_SERVER
|
---|
| 516 | #
|
---|
[58528] | 517 | # Or from the local copy (no debug).
|
---|
[29079] | 518 | #
|
---|
| 519 | INSTALLS += local-efifw
|
---|
| 520 | local-efifw_INST = $(INST_BIN)
|
---|
| 521 | local-efifw_MODE = 0644
|
---|
| 522 | local-efifw_SOURCES = \
|
---|
| 523 | $(PATH_ROOT)/src/VBox/Devices/EFI/FirmwareBin/VBoxEFI32.fd=>VBoxEFI32.fd \
|
---|
| 524 | $(PATH_ROOT)/src/VBox/Devices/EFI/FirmwareBin/VBoxEFI64.fd=>VBoxEFI64.fd
|
---|
| 525 | endif # !VBOX_WITH_EFIFW_FROM_BUILD_SERVER
|
---|
| 526 | endif # VBOX_WITH_EFI
|
---|
[23658] | 527 |
|
---|
| 528 |
|
---|
[44272] | 529 | ifdef VBOX_WITH_EXTPACKS_FROM_BUILD_SERVER
|
---|
[11686] | 530 | #
|
---|
[44272] | 531 | # Get the extension pack from from the build server to facility the automatic
|
---|
| 532 | # testing (everything in one tarball (VBoxAll-*)).
|
---|
| 533 | #
|
---|
| 534 | # Note! Using the plural here as we might be downloading more packages eventually.
|
---|
| 535 | #
|
---|
| 536 | INSTALLS += buildserver-extpacks
|
---|
| 537 | buildserver-extpacks_INST = $(INST_DIST)
|
---|
| 538 | buildserver-extpacks_MODE = 0644
|
---|
| 539 | buildserver-extpacks_SOURCES = \
|
---|
| 540 | $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
|
---|
| 541 | buildserver-extpacks_CLEANS = \
|
---|
| 542 | $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack \
|
---|
| 543 | $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack.tmp
|
---|
| 544 |
|
---|
| 545 | $$(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack: \
|
---|
[85654] | 546 | $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/extpacks.sh | $$(dir $$@)
|
---|
[44272] | 547 | $(RM) -f -- "$@.tmp" "$@"
|
---|
[85654] | 548 | $(SHELL) $(KBUILD_DEVTOOLS)/bin/extpacks.sh --cmd fetch --filename "$@.tmp" --vbox-version "$(VBOX_VERSION_STRING_NO_PUB)" \
|
---|
[72069] | 549 | $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
|
---|
[44272] | 550 | $(MV) -f -- "$@.tmp" "$@"
|
---|
[69096] | 551 | $(TOUCH) -- "$@"
|
---|
[44272] | 552 |
|
---|
| 553 | endif
|
---|
| 554 |
|
---|
| 555 |
|
---|
| 556 | #
|
---|
[4398] | 557 | # Install staged binaries on platforms where we can't cross
|
---|
[1648] | 558 | # compile things.
|
---|
| 559 | #
|
---|
[46035] | 560 | ifn1of ($(KBUILD_TARGET), linux win)
|
---|
[1648] | 561 | VBOX_PATH_STAGED ?= .
|
---|
| 562 |
|
---|
| 563 | # Additions.
|
---|
| 564 | ifndef VBOX_WITH_LINUX_ADDITIONS
|
---|
| 565 | ifndef VBOX_WITH_WIN32_ADDITIONS
|
---|
| 566 | ifneq ($(wildcard $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso),)
|
---|
| 567 | INSTALLS += staged-additions
|
---|
[16957] | 568 | staged-additions_INST = $(INST_ADDITIONS_ISO)
|
---|
[1648] | 569 | staged-additions_MODE = 0644
|
---|
| 570 | staged-additions_SOURCES = $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso
|
---|
| 571 | endif
|
---|
| 572 | endif
|
---|
| 573 | endif
|
---|
| 574 |
|
---|
| 575 | # guesttool.exe
|
---|
| 576 | ifndef VBOX_WITH_WIN32_ADDITIONS
|
---|
| 577 | ifneq ($(wildcard $(VBOX_PATH_STAGED)/guesttool.exe),)
|
---|
| 578 | INSTALLS += staged-guesttool
|
---|
| 579 | staged-guesttool_INST = $(INST_BIN)
|
---|
| 580 | staged-guesttool_SOURCES = $(VBOX_PATH_STAGED)/guesttool.exe
|
---|
| 581 | endif
|
---|
| 582 | endif
|
---|
| 583 |
|
---|
| 584 | endif
|
---|
| 585 |
|
---|
[51346] | 586 | endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS && !VBOX_ONLY_EXTPACKS && !VBOX_ONLY_VALIDATIONKIT
|
---|
[1648] | 587 |
|
---|
| 588 |
|
---|
[12780] | 589 | ifdef VBOX_ONLY_DOCS
|
---|
| 590 | # It may sound a bit odd, but for preparing the documentation package the
|
---|
| 591 | # doxygen documentation isn't needed and increases the build time a lot.
|
---|
[12781] | 592 | docs:
|
---|
[12780] | 593 | else # !VBOX_ONLY_DOCS
|
---|
[1] | 594 | #
|
---|
| 595 | # Generate documentation.
|
---|
| 596 | # (This should be converted into a separate pass or merged with an existing one later.)
|
---|
| 597 | #
|
---|
[34609] | 598 | ifdef VBOX_WITH_ALL_DOXYGEN_TARGETS
|
---|
[12780] | 599 | docs: docs.Core
|
---|
[79895] | 600 | else
|
---|
| 601 | docs:
|
---|
[34609] | 602 | endif
|
---|
[11703] | 603 | endif # !VBOX_ONLY_DOCS
|
---|
[1] | 604 |
|
---|
| 605 | #
|
---|
[81150] | 606 | # The core (VMM+Devices+Main) documentation.
|
---|
[1] | 607 | #
|
---|
[6288] | 608 | # This includes so much because we wish to have the complete CFGM
|
---|
| 609 | # and GCFGM lists.
|
---|
| 610 | #
|
---|
[65153] | 611 | VBOX_CORE_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/Core
|
---|
| 612 | BLDDIRS += $(VBOX_CORE_DOXYFILE_OUTPUT)
|
---|
[6288] | 613 | OTHER_CLEAN += \
|
---|
[65138] | 614 | $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core \
|
---|
| 615 | $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core.dep
|
---|
[1] | 616 |
|
---|
[10226] | 617 | VBOX_CORE_DOXYFILE_INPUT_DIRS = \
|
---|
[6288] | 618 | include/iprt \
|
---|
[25647] | 619 | include/iprt/cpp \
|
---|
[58341] | 620 | include/iprt/crypto \
|
---|
| 621 | include/iprt/formats \
|
---|
[25647] | 622 | include/iprt/linux \
|
---|
[58341] | 623 | include/iprt/nt \
|
---|
| 624 | include/iprt/solaris \
|
---|
| 625 | include/iprt/win \
|
---|
| 626 | include/iprt/nocrt \
|
---|
[6288] | 627 | include/VBox \
|
---|
[35350] | 628 | include/VBox/vmm \
|
---|
[6288] | 629 | include/VBox/com \
|
---|
[35350] | 630 | include/VBox/ExtPack \
|
---|
[6288] | 631 | include/VBox/HostServices \
|
---|
[25647] | 632 | include/VBox/GuestHost \
|
---|
| 633 | include/VBox/HGSMI \
|
---|
[6288] | 634 | src/VBox/VMM \
|
---|
| 635 | src/VBox/VMM/VMMR0 \
|
---|
[35350] | 636 | src/VBox/VMM/VMMRC \
|
---|
| 637 | src/VBox/VMM/VMMR3 \
|
---|
[6288] | 638 | src/VBox/VMM/VMMAll \
|
---|
| 639 | src/VBox/VMM/VMMSwitcher \
|
---|
[58127] | 640 | src/VBox/VMM/include \
|
---|
[6288] | 641 | src/VBox/Debugger \
|
---|
[10029] | 642 | src/VBox/Devices \
|
---|
[6288] | 643 | src/VBox/Devices/Audio \
|
---|
| 644 | src/VBox/Devices/Bus \
|
---|
| 645 | src/VBox/Devices/Graphics \
|
---|
| 646 | src/VBox/Devices/Graphics/BIOS \
|
---|
[58132] | 647 | src/VBox/Devices/Graphics/shaderlib \
|
---|
[6288] | 648 | src/VBox/Devices/Input \
|
---|
| 649 | src/VBox/Devices/Networking \
|
---|
| 650 | src/VBox/Devices/PC \
|
---|
| 651 | src/VBox/Devices/PC/BIOS \
|
---|
| 652 | src/VBox/Devices/Parallel \
|
---|
| 653 | src/VBox/Devices/Serial \
|
---|
| 654 | src/VBox/Devices/Storage \
|
---|
| 655 | src/VBox/Devices/USB \
|
---|
| 656 | src/VBox/Devices/USB/darwin \
|
---|
| 657 | src/VBox/Devices/USB/linux \
|
---|
| 658 | src/VBox/Devices/USB/os2 \
|
---|
| 659 | src/VBox/Devices/USB/solaris \
|
---|
| 660 | src/VBox/Devices/USB/vrdp \
|
---|
| 661 | src/VBox/Devices/USB/win32 \
|
---|
| 662 | src/VBox/Devices/VMMDev \
|
---|
| 663 | src/VBox/Main/include \
|
---|
| 664 | src/VBox/Main/include/hgcm \
|
---|
[10029] | 665 | src/VBox/Main \
|
---|
[6288] | 666 | src/VBox/Main/glue \
|
---|
| 667 | src/VBox/Main/webservice \
|
---|
| 668 | src/VBox/Main/xml \
|
---|
[35379] | 669 | src/VBox/Main/src-all \
|
---|
| 670 | src/VBox/Main/src-all/win \
|
---|
| 671 | src/VBox/Main/src-client \
|
---|
| 672 | src/VBox/Main/src-client/win \
|
---|
| 673 | src/VBox/Main/src-client/xpcom \
|
---|
| 674 | src/VBox/Main/src-server \
|
---|
| 675 | src/VBox/Main/src-server/darwin \
|
---|
| 676 | src/VBox/Main/src-server/linux \
|
---|
| 677 | src/VBox/Main/src-server/os2 \
|
---|
| 678 | src/VBox/Main/src-server/solaris \
|
---|
| 679 | src/VBox/Main/src-server/win \
|
---|
| 680 | src/VBox/Main/src-server/xpcom \
|
---|
[10029] | 681 | src/VBox/HostServices \
|
---|
[39687] | 682 | src/VBox/HostServices/DragAndDrop \
|
---|
| 683 | src/VBox/HostServices/GuestControl \
|
---|
| 684 | src/VBox/HostServices/GuestProperties \
|
---|
[6307] | 685 | src/VBox/HostServices/SharedClipboard \
|
---|
| 686 | src/VBox/HostServices/SharedFolders \
|
---|
| 687 | src/VBox/HostServices/SharedOpenGL \
|
---|
[39689] | 688 | src/VBox/HostServices/SharedOpenGL/crserver \
|
---|
| 689 | src/VBox/HostServices/SharedOpenGL/crserverlib \
|
---|
| 690 | src/VBox/HostServices/SharedOpenGL/render \
|
---|
| 691 | src/VBox/HostServices/SharedOpenGL/unpacker \
|
---|
[39687] | 692 | src/VBox/HostServices/auth \
|
---|
[39689] | 693 | src/VBox/HostServices/auth/directoryservice \
|
---|
| 694 | src/VBox/HostServices/auth/pam \
|
---|
| 695 | src/VBox/HostServices/auth/simple \
|
---|
| 696 | src/VBox/HostServices/auth/winlogon \
|
---|
[6307] | 697 | src/VBox/HostDrivers/Support \
|
---|
| 698 | src/VBox/HostDrivers/Support/darwin \
|
---|
| 699 | src/VBox/HostDrivers/Support/freebsd \
|
---|
| 700 | src/VBox/HostDrivers/Support/linux \
|
---|
| 701 | src/VBox/HostDrivers/Support/os2 \
|
---|
| 702 | src/VBox/HostDrivers/Support/solaris \
|
---|
| 703 | src/VBox/HostDrivers/Support/win \
|
---|
[10029] | 704 | src/VBox/HostDrivers/VBoxNetFlt \
|
---|
[10020] | 705 | src/VBox/HostDrivers/VBoxNetFlt/darwin \
|
---|
| 706 | src/VBox/HostDrivers/VBoxNetFlt/linux \
|
---|
| 707 | src/VBox/HostDrivers/VBoxNetFlt/solaris \
|
---|
| 708 | src/VBox/HostDrivers/VBoxNetFlt/win \
|
---|
[10029] | 709 | src/VBox/HostDrivers/VBoxNetNat \
|
---|
[10020] | 710 | src/VBox/HostDrivers/VBoxNetNat/darwin \
|
---|
| 711 | src/VBox/HostDrivers/VBoxNetNat/linux \
|
---|
| 712 | src/VBox/HostDrivers/VBoxNetNat/solaris \
|
---|
| 713 | src/VBox/HostDrivers/VBoxNetNat/win \
|
---|
[17850] | 714 | src/VBox/HostDrivers/VBoxNetAdp \
|
---|
| 715 | src/VBox/HostDrivers/VBoxNetAdp/darwin \
|
---|
| 716 | src/VBox/HostDrivers/VBoxNetAdp/linux \
|
---|
| 717 | src/VBox/HostDrivers/VBoxNetAdp/solaris \
|
---|
| 718 | src/VBox/HostDrivers/VBoxNetAdp/win \
|
---|
[39687] | 719 | src/VBox/HostDrivers/VBoxPci \
|
---|
| 720 | src/VBox/HostDrivers/VBoxPci/darwin \
|
---|
| 721 | src/VBox/HostDrivers/VBoxPci/linux \
|
---|
| 722 | src/VBox/HostDrivers/VBoxPci/solaris \
|
---|
| 723 | src/VBox/HostDrivers/VBoxPci/win \
|
---|
[10029] | 724 | src/VBox/HostDrivers/VBoxUSB \
|
---|
[6307] | 725 | src/VBox/HostDrivers/VBoxUSB/darwin \
|
---|
| 726 | src/VBox/HostDrivers/VBoxUSB/os2 \
|
---|
[10020] | 727 | src/VBox/HostDrivers/VBoxUSB/solaris \
|
---|
[6307] | 728 | src/VBox/HostDrivers/VBoxUSB/win \
|
---|
| 729 | src/VBox/HostDrivers/VBoxUSB/win/Device \
|
---|
| 730 | src/VBox/HostDrivers/VBoxUSB/win/Device/amd64 \
|
---|
| 731 | src/VBox/HostDrivers/VBoxUSB/win/Device/x86 \
|
---|
| 732 | src/VBox/HostDrivers/VBoxUSB/win/Filter \
|
---|
| 733 | src/VBox/HostDrivers/VBoxUSB/win/Install \
|
---|
| 734 | src/VBox/HostDrivers/VBoxUSB/win/Monitor \
|
---|
| 735 | src/VBox/HostDrivers/VBoxUSB/win/Monitor/win32 \
|
---|
| 736 | src/VBox/HostDrivers/VBoxUSB/win/Monitor/win64 \
|
---|
| 737 | src/VBox/HostDrivers/VBoxUSB/win/usbd \
|
---|
[39687] | 738 | src/VBox/Additions \
|
---|
[39689] | 739 | src/VBox/Additions/WINNT \
|
---|
| 740 | src/VBox/Additions/WINNT/Graphics \
|
---|
| 741 | src/VBox/Additions/WINNT/Graphics/Video \
|
---|
| 742 | src/VBox/Additions/WINNT/Graphics/Video/common \
|
---|
| 743 | src/VBox/Additions/WINNT/Graphics/Video/common/wddm \
|
---|
| 744 | src/VBox/Additions/WINNT/Graphics/Video/common/xpdm \
|
---|
| 745 | src/VBox/Additions/WINNT/Graphics/Video/disp \
|
---|
| 746 | src/VBox/Additions/WINNT/Graphics/Video/disp/common \
|
---|
| 747 | src/VBox/Additions/WINNT/Graphics/Video/disp/wddm \
|
---|
| 748 | src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dbg \
|
---|
| 749 | src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm \
|
---|
| 750 | src/VBox/Additions/WINNT/Graphics/Video/mp \
|
---|
| 751 | src/VBox/Additions/WINNT/Graphics/Video/mp/common \
|
---|
| 752 | src/VBox/Additions/WINNT/Graphics/Video/mp/wddm \
|
---|
| 753 | src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm \
|
---|
[55708] | 754 | src/VBox/Additions/WINNT/Graphics/Wine_new \
|
---|
| 755 | src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8 \
|
---|
| 756 | src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9 \
|
---|
| 757 | src/VBox/Additions/WINNT/Graphics/Wine_new/libWine \
|
---|
| 758 | src/VBox/Additions/WINNT/Graphics/Wine_new/switcher \
|
---|
| 759 | src/VBox/Additions/WINNT/Graphics/Wine_new/vbox \
|
---|
| 760 | src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d \
|
---|
[39689] | 761 | src/VBox/Additions/WINNT/Installer \
|
---|
| 762 | src/VBox/Additions/WINNT/Installer/ISO \
|
---|
| 763 | src/VBox/Additions/WINNT/Installer/InstallHelper \
|
---|
| 764 | src/VBox/Additions/WINNT/Installer/Languages \
|
---|
| 765 | src/VBox/Additions/WINNT/Installer/Loader \
|
---|
| 766 | src/VBox/Additions/WINNT/Mouse \
|
---|
| 767 | src/VBox/Additions/WINNT/Mouse/NT5 \
|
---|
| 768 | src/VBox/Additions/WINNT/Mouse/common \
|
---|
| 769 | src/VBox/Additions/WINNT/SharedFolders \
|
---|
| 770 | src/VBox/Additions/WINNT/SharedFolders/redirector \
|
---|
| 771 | src/VBox/Additions/WINNT/SharedFolders/redirector/dll \
|
---|
| 772 | src/VBox/Additions/WINNT/SharedFolders/redirector/sys \
|
---|
| 773 | src/VBox/Additions/WINNT/SharedFolders/redirector/sys/rdbss \
|
---|
| 774 | src/VBox/Additions/WINNT/VBoxCredProv \
|
---|
| 775 | src/VBox/Additions/WINNT/VBoxGINA \
|
---|
| 776 | src/VBox/Additions/WINNT/VBoxHook \
|
---|
| 777 | src/VBox/Additions/WINNT/VBoxTray \
|
---|
| 778 | src/VBox/Additions/WINNT/VBoxUSB \
|
---|
| 779 | src/VBox/Additions/WINNT/i8042prt \
|
---|
| 780 | src/VBox/Additions/WINNT/i8042prt/i386 \
|
---|
| 781 | src/VBox/Additions/WINNT/i8042prt/include \
|
---|
| 782 | src/VBox/Additions/WINNT/include \
|
---|
[39687] | 783 | src/VBox/Additions/common \
|
---|
[39689] | 784 | src/VBox/Additions/common/VBoxControl \
|
---|
[39687] | 785 | src/VBox/Additions/common/VBoxGuest \
|
---|
[39689] | 786 | src/VBox/Additions/common/VBoxGuest/freebsd \
|
---|
| 787 | src/VBox/Additions/common/VBoxGuest/linux \
|
---|
| 788 | src/VBox/Additions/common/VBoxGuest/win \
|
---|
[39687] | 789 | src/VBox/Additions/common/VBoxGuestLib \
|
---|
| 790 | src/VBox/Additions/common/VBoxService \
|
---|
| 791 | src/VBox/Additions/common/VBoxVideo \
|
---|
| 792 | src/VBox/Additions/common/crOpenGL \
|
---|
[39689] | 793 | src/VBox/Additions/common/crOpenGL/array \
|
---|
| 794 | src/VBox/Additions/common/crOpenGL/feedback \
|
---|
| 795 | src/VBox/Additions/common/crOpenGL/pack \
|
---|
| 796 | src/VBox/Additions/common/crOpenGL/passthrough \
|
---|
[39687] | 797 | src/VBox/Additions/common/pam \
|
---|
[39689] | 798 | src/VBox/Additions/darwin \
|
---|
| 799 | src/VBox/Additions/freebsd \
|
---|
| 800 | src/VBox/Additions/freebsd/Installer \
|
---|
| 801 | src/VBox/Additions/freebsd/drm \
|
---|
| 802 | src/VBox/Additions/freebsd/vboxvfs \
|
---|
| 803 | src/VBox/Additions/linux \
|
---|
| 804 | src/VBox/Additions/linux/drm \
|
---|
| 805 | src/VBox/Additions/linux/installer \
|
---|
| 806 | src/VBox/Additions/linux/selinux-fedora \
|
---|
| 807 | src/VBox/Additions/linux/sharedfolders \
|
---|
| 808 | src/VBox/Additions/os2 \
|
---|
| 809 | src/VBox/Additions/os2/VBoxGradd \
|
---|
| 810 | src/VBox/Additions/os2/VBoxGradd/graddlib \
|
---|
| 811 | src/VBox/Additions/os2/VBoxGrext \
|
---|
| 812 | src/VBox/Additions/os2/VBoxMouse \
|
---|
| 813 | src/VBox/Additions/os2/VBoxSF \
|
---|
| 814 | src/VBox/Additions/solaris \
|
---|
| 815 | src/VBox/Additions/solaris/DRM \
|
---|
| 816 | src/VBox/Additions/solaris/Installer \
|
---|
| 817 | src/VBox/Additions/solaris/SharedFolders \
|
---|
| 818 | src/VBox/Additions/solaris/SharedFolders/solaris10 \
|
---|
| 819 | src/VBox/Additions/solaris/SharedFolders/solaris10/sys \
|
---|
| 820 | src/VBox/Additions/solaris/Virtio \
|
---|
| 821 | src/VBox/Additions/x11 \
|
---|
| 822 | src/VBox/Additions/x11/Installer \
|
---|
| 823 | src/VBox/Additions/x11/VBoxClient \
|
---|
| 824 | src/VBox/Additions/x11/vboxmouse \
|
---|
| 825 | src/VBox/Additions/x11/vboxmouse/xorg70 \
|
---|
| 826 | src/VBox/Additions/x11/vboxmouse/xorg71 \
|
---|
| 827 | src/VBox/Additions/x11/vboxvideo \
|
---|
[39688] | 828 | src/VBox/NetworkServices \
|
---|
[79861] | 829 | src/VBox/NetworkServices/Dhcpd \
|
---|
[39688] | 830 | src/VBox/NetworkServices/NAT \
|
---|
| 831 | src/VBox/NetworkServices/NetLib \
|
---|
[58167] | 832 | src/VBox/Storage \
|
---|
| 833 | src/VBox/ValidationKit/ \
|
---|
| 834 | src/VBox/ValidationKit/docs/ \
|
---|
| 835 | src/VBox/ValidationKit/testdriver/ \
|
---|
| 836 | src/VBox/ValidationKit/bootsectors/ \
|
---|
[58629] | 837 | src/VBox/ValidationKit/bootsectors/bs3kit/ \
|
---|
[58167] | 838 | src/VBox/ValidationKit/tests/ \
|
---|
| 839 | src/VBox/ValidationKit/tests/additions/ \
|
---|
| 840 | src/VBox/ValidationKit/tests/api/ \
|
---|
| 841 | src/VBox/ValidationKit/tests/autostart/ \
|
---|
| 842 | src/VBox/ValidationKit/tests/benchmarks/ \
|
---|
| 843 | src/VBox/ValidationKit/tests/cpu/ \
|
---|
| 844 | src/VBox/ValidationKit/tests/installation/ \
|
---|
| 845 | src/VBox/ValidationKit/tests/network/ \
|
---|
| 846 | src/VBox/ValidationKit/tests/selftests/ \
|
---|
| 847 | src/VBox/ValidationKit/tests/smoketests/ \
|
---|
| 848 | src/VBox/ValidationKit/tests/storage/ \
|
---|
| 849 | src/VBox/ValidationKit/tests/teleportation/ \
|
---|
| 850 | src/VBox/ValidationKit/tests/unittests/ \
|
---|
| 851 | src/VBox/ValidationKit/tests/usb/ \
|
---|
| 852 | src/VBox/ValidationKit/common/ \
|
---|
| 853 | src/VBox/ValidationKit/utils/ \
|
---|
| 854 | src/VBox/ValidationKit/utils/TestExecServ/ \
|
---|
| 855 | src/VBox/ValidationKit/utils/cpu/ \
|
---|
| 856 | src/VBox/ValidationKit/utils/misc/ \
|
---|
| 857 | src/VBox/ValidationKit/utils/network/ \
|
---|
| 858 | src/VBox/ValidationKit/utils/nt/ \
|
---|
| 859 | src/VBox/ValidationKit/utils/usb/ \
|
---|
| 860 | src/VBox/ValidationKit/vms/ \
|
---|
| 861 | src/VBox/ValidationKit/testmanager/ \
|
---|
| 862 | src/VBox/ValidationKit/testmanager/core/ \
|
---|
| 863 | src/VBox/ValidationKit/testmanager/db/ \
|
---|
| 864 | src/VBox/ValidationKit/testmanager/debug/ \
|
---|
| 865 | src/VBox/ValidationKit/testmanager/cgi/ \
|
---|
| 866 | src/VBox/ValidationKit/testmanager/webui/ \
|
---|
| 867 | src/VBox/ValidationKit/testboxscript/ \
|
---|
[6288] | 868 |
|
---|
| 869 | # These must come first in order to make things look nice.
|
---|
[10226] | 870 | VBOX_CORE_DOXYFILE_INPUT_FIRST =\
|
---|
[6288] | 871 | $(PATH_ROOT)/doc/VBox-doc.c \
|
---|
| 872 | $(PATH_ROOT)/doc/VBox-CodingGuidelines.cpp \
|
---|
[19010] | 873 | $(PATH_ROOT)/doc/VBox-MakefileGuidelines.cpp \
|
---|
[35350] | 874 | $(PATH_ROOT)/src/VBox/VMM/Docs-CodingGuidelines.cpp \
|
---|
| 875 | $(PATH_ROOT)/src/VBox/VMM/Docs-RawMode.cpp \
|
---|
[6288] | 876 | $(PATH_ROOT)/include/VBox/cdefs.h \
|
---|
[58114] | 877 | $(PATH_ROOT)/include/VBox/vmm/vmm.h \
|
---|
[35350] | 878 | $(PATH_ROOT)/include/VBox/vmm/vmapi.h \
|
---|
| 879 | $(PATH_ROOT)/include/VBox/vmm/cpum.h \
|
---|
| 880 | $(PATH_ROOT)/include/VBox/vmm/mm.h \
|
---|
| 881 | $(PATH_ROOT)/include/VBox/vmm/pgm.h \
|
---|
| 882 | $(PATH_ROOT)/include/VBox/vmm/selm.h \
|
---|
| 883 | $(PATH_ROOT)/include/VBox/vmm/trpm.h \
|
---|
| 884 | $(PATH_ROOT)/include/VBox/vmm/dbgf.h \
|
---|
| 885 | $(PATH_ROOT)/include/VBox/vmm/stam.h \
|
---|
| 886 | $(PATH_ROOT)/include/VBox/vmm/em.h \
|
---|
[58127] | 887 | $(PATH_ROOT)/include/VBox/vmm/hm.h \
|
---|
| 888 | $(PATH_ROOT)/include/VBox/vmm/hm_svm.h \
|
---|
| 889 | $(PATH_ROOT)/include/VBox/vmm/hm_vmx.h \
|
---|
| 890 | $(PATH_ROOT)/include/VBox/vmm/iem.h \
|
---|
[70918] | 891 | $(PATH_ROOT)/include/VBox/vmm/nem.h \
|
---|
[35350] | 892 | $(PATH_ROOT)/include/VBox/vmm/pdm.h \
|
---|
[75436] | 893 | $(PATH_ROOT)/include/VBox/vmm/pdmifs.h \
|
---|
| 894 | $(PATH_ROOT)/include/VBox/vmm/pdmaudioifs.h \
|
---|
| 895 | $(PATH_ROOT)/include/VBox/vmm/pdmnetifs.h \
|
---|
| 896 | $(PATH_ROOT)/include/VBox/vmm/pdmserialifs.h \
|
---|
| 897 | $(PATH_ROOT)/include/VBox/vmm/pdmstorageifs.h \
|
---|
[35350] | 898 | $(PATH_ROOT)/include/VBox/vmm/iom.h \
|
---|
| 899 | $(PATH_ROOT)/include/VBox/vmm/cfgm.h \
|
---|
[58127] | 900 | $(PATH_ROOT)/include/VBox/vmm/gim.h \
|
---|
[35350] | 901 | $(PATH_ROOT)/include/VBox/vmm/tm.h \
|
---|
| 902 | $(PATH_ROOT)/include/VBox/vmm/ssm.h \
|
---|
[10029] | 903 | \
|
---|
[35338] | 904 | $(PATH_ROOT)/src/VBox/VMM/include/CFGMInternal.h \
|
---|
| 905 | $(PATH_ROOT)/src/VBox/VMM/include/CPUMInternal.h \
|
---|
| 906 | $(PATH_ROOT)/src/VBox/VMM/include/DBGFInternal.h \
|
---|
| 907 | $(PATH_ROOT)/src/VBox/VMM/include/EMInternal.h \
|
---|
[43387] | 908 | $(PATH_ROOT)/src/VBox/VMM/include/HMInternal.h \
|
---|
[58127] | 909 | $(PATH_ROOT)/src/VBox/VMM/include/IEMInternal.h \
|
---|
[35338] | 910 | $(PATH_ROOT)/src/VBox/VMM/include/IOMInternal.h \
|
---|
| 911 | $(PATH_ROOT)/src/VBox/VMM/include/MMInternal.h \
|
---|
[70918] | 912 | $(PATH_ROOT)/src/VBox/VMM/include/NEMInternal.h \
|
---|
[35338] | 913 | $(PATH_ROOT)/src/VBox/VMM/include/PDMInternal.h \
|
---|
| 914 | $(PATH_ROOT)/src/VBox/VMM/include/PGMInternal.h \
|
---|
[58127] | 915 | $(PATH_ROOT)/src/VBox/VMM/include/GIMInternal.h \
|
---|
[35338] | 916 | $(PATH_ROOT)/src/VBox/VMM/include/SELMInternal.h \
|
---|
| 917 | $(PATH_ROOT)/src/VBox/VMM/include/SSMInternal.h \
|
---|
| 918 | $(PATH_ROOT)/src/VBox/VMM/include/STAMInternal.h \
|
---|
| 919 | $(PATH_ROOT)/src/VBox/VMM/include/TMInternal.h \
|
---|
| 920 | $(PATH_ROOT)/src/VBox/VMM/include/TRPMInternal.h \
|
---|
| 921 | $(PATH_ROOT)/src/VBox/VMM/include/VMInternal.h \
|
---|
| 922 | $(PATH_ROOT)/src/VBox/VMM/include/VMMInternal.h \
|
---|
[10029] | 923 | \
|
---|
[35350] | 924 | $(PATH_ROOT)/include/VBox/vmm/vm.h \
|
---|
[6288] | 925 | \
|
---|
| 926 | $(PATH_ROOT)/include/VBox/sup.h \
|
---|
[33573] | 927 | $(PATH_ROOT)/include/VBox/vd.h \
|
---|
[6288] | 928 | $(PATH_ROOT)/include/VBox/types.h \
|
---|
| 929 | $(PATH_ROOT)/include/VBox/err.h \
|
---|
[35350] | 930 | $(PATH_ROOT)/include/VBox/vmm/cpumdis.h \
|
---|
[6288] | 931 | $(PATH_ROOT)/include/VBox/dbggui.h \
|
---|
| 932 | $(PATH_ROOT)/include/VBox/dis.h \
|
---|
| 933 | $(PATH_ROOT)/include/VBox/disopcode.h \
|
---|
| 934 | $(PATH_ROOT)/include/VBox/intnet.h \
|
---|
| 935 | $(PATH_ROOT)/include/VBox/settings.h \
|
---|
| 936 | $(PATH_ROOT)/include/VBox/pci.h \
|
---|
| 937 | $(PATH_ROOT)/include/VBox/scsi.h \
|
---|
| 938 | $(PATH_ROOT)/include/VBox/shflsvc.h \
|
---|
| 939 | $(PATH_ROOT)/include/VBox/hgcmsvc.h \
|
---|
| 940 | $(PATH_ROOT)/include/VBox/usb.h \
|
---|
| 941 | $(PATH_ROOT)/include/VBox/vusb.h \
|
---|
[10029] | 942 | \
|
---|
[6288] | 943 | $(PATH_ROOT)/include/VBox/log.h \
|
---|
| 944 | $(PATH_ROOT)/include/VBox/param.h \
|
---|
[58114] | 945 | $(PATH_ROOT)/include/VBox/version.h \
|
---|
| 946 | \
|
---|
[79899] | 947 | $(PATH_ROOT)/include/VBox/com/com.h \
|
---|
| 948 | $(PATH_ROOT)/include/VBox/com/utils.h
|
---|
[6288] | 949 |
|
---|
[10226] | 950 | VBOX_CORE_DOXYFILE_INPUT := \
|
---|
| 951 | $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(VBOX_CORE_DOXYFILE_INPUT_DIRS)))) ) \
|
---|
[58167] | 952 | $(foreach dir, $(VBOX_CORE_DOXYFILE_INPUT_DIRS) \
|
---|
| 953 | , $(wildcard $(dir)/*.cpp $(dir)/*.c $(dir)/*.m $(dir)/*.mm $(dir)/*.py $(dir)/.asm))
|
---|
[10226] | 954 | VBOX_CORE_DOXYFILE_INPUT := \
|
---|
| 955 | $(VBOX_CORE_DOXYFILE_INPUT_FIRST) \
|
---|
[65153] | 956 | $(sort $(filter-out $(VBOX_CORE_DOXYFILE_INPUT_FIRST), $(VBOX_CORE_DOXYFILE_INPUT)))
|
---|
[6288] | 957 |
|
---|
[94618] | 958 | VBOX_CORE_DOXYFILE_INPUT += \
|
---|
[94621] | 959 | $(wildcard $(PATH_ROOT)/src/VBox/VMM/VMMAll/*.h $(PATH_ROOT)/src/VBox/VMM/VMMR3/*.h $(PATH_ROOT)/src/VBox/VMM/VMMR0/*.h )
|
---|
[94618] | 960 |
|
---|
| 961 |
|
---|
[65153] | 962 | includedep $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core.dep
|
---|
[6288] | 963 |
|
---|
| 964 | # Generate the Doxyfile
|
---|
[65138] | 965 | $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core: Doxyfile.Core \
|
---|
[65153] | 966 | $(comp-vars VBOX_CORE_DOXYFILE_INPUT,DOXYGEN_CORE_INPUT_PREV,FORCE) \
|
---|
| 967 | $(comp-vars VBOX_CORE_DOXYFILE_OUTPUT,DOXYGEN_CORE_OUTPUT_PREV,FORCE) \
|
---|
[16532] | 968 | | $$(dir $$@)
|
---|
[65138] | 969 | $(QUIET)$(RM) -f $@ $@.tmp $@.dep
|
---|
[58127] | 970 | $(QUIET)$(CP) -f Doxyfile.Core $@.tmp
|
---|
| 971 | $(QUIET)$(APPEND) $@.tmp
|
---|
| 972 | $(QUIET)$(APPEND) $@.tmp "OUTPUT_DIRECTORY = $(VBOX_CORE_DOXYFILE_OUTPUT)"
|
---|
| 973 | $(QUIET)$(APPEND) $@.tmp "WARN_LOGFILE = $(VBOX_CORE_DOXYFILE_OUTPUT)/errors"
|
---|
| 974 | $(QUIET)$(APPEND) $@.tmp "INCLUDE_PATH = $(PATH_ROOT)/include $(PATH_ROOT)/src/VBox/VMM $(PATH_ROOT)/src/VBox/Main/include "
|
---|
| 975 | $(QUIET)$(APPEND) $@.tmp "INCLUDE_FILE_PATTERNS = *.cpp.h"
|
---|
[58144] | 976 | $(QUIET)$(APPEND) $@.tmp "EXCLUDE = " \
|
---|
| 977 | "$(PATH_ROOT)/src/VBox/Additions/common/crOpenGL/utils.c" \
|
---|
| 978 | "$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserver/main.c" \
|
---|
| 979 | "$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c" \
|
---|
| 980 | "$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.c" \
|
---|
| 981 | "$(PATH_ROOT)/src/VBox/Additions/common/crOpenGL/context.c"
|
---|
[58127] | 982 | $(QUIET)$(APPEND) $@.tmp
|
---|
[58144] | 983 | $(QUIET)$(APPEND) $@.tmp 'INPUT = $(foreach x,$(VBOX_CORE_DOXYFILE_INPUT),\$(NLTAB)$(x))'
|
---|
[58127] | 984 | $(QUIET)$(APPEND) $@.tmp
|
---|
| 985 | $(QUIET)$(APPEND) $@.tmp "PREDEFINED += $(DEFS) $(DEFS.$(KBUILD_TARGET)) $(DEFS.$(KBUILD_TARGET_ARCH)) $(ARCH_BITS_DEFS)"
|
---|
| 986 | $(QUIET)$(APPEND) $@.tmp "PREDEFINED += ARCH_BITS=HC_ARCH_BITS R3_ARCH_BITS=HC_ARCH_BITS R0_ARCH_BITS=HC_ARCH_BITS "
|
---|
| 987 | $(QUIET)$(APPEND) $@.tmp
|
---|
[89785] | 988 | $(QUIET)$(APPEND) $@.tmp "PLANTUML_JAR_PATH = $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS)/common/plantuml/v*/plantuml*.jar)))"
|
---|
| 989 | $(QUIET)$(APPEND) $@.tmp
|
---|
[58127] | 990 | $(QUIET)$(MV) -f $@.tmp $@
|
---|
[65153] | 991 | @$(APPEND) $@.dep "DOXYGEN_CORE_OUTPUT_PREV = $(VBOX_CORE_DOXYFILE_OUTPUT)"
|
---|
| 992 | @$(APPEND) $@.dep "DOXYGEN_CORE_INPUT_PREV = $(VBOX_CORE_DOXYFILE_INPUT)"
|
---|
[6288] | 993 |
|
---|
| 994 | # Do the actual job.
|
---|
[89791] | 995 | # Note! We must add the VBOX_JAVA dir to the path so doxygen can run plantuml.jar.
|
---|
[65153] | 996 | $(VBOX_CORE_DOXYFILE_OUTPUT)/docs.Core: $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core $$(VBOX_CORE_DOXYFILE_INPUT) \
|
---|
| 997 | | $(VBOX_CORE_DOXYFILE_OUTPUT)/
|
---|
| 998 | $(QUIET)$(RM) -f $@
|
---|
| 999 | $(QUIET)$(RM) -Rf $(VBOX_CORE_DOXYFILE_OUTPUT)/html/
|
---|
[89799] | 1000 | $(if-expr $(VBOX_JAVA_VERSION)+0 >= 70000, $(REDIRECT) -E "PATH=$(VBOX_JAVA_BIN_PATH)$(HOST_PATH_SEP)$(PATH)" --,) \
|
---|
| 1001 | doxygen $(VBOX_CORE_DOXYFILE_OUTPUT)/Doxyfile.Core
|
---|
[58144] | 1002 | $(SED) -n \
|
---|
[65127] | 1003 | -e ':nextwarning' \
|
---|
[58147] | 1004 | -e '/^ *$(DOLLAR)/d' \
|
---|
[65426] | 1005 | -e '/\/src\/VBox\/Main\/.* warning: documented symbol.*::~.* was not declared or defined/b ignore' \
|
---|
| 1006 | -e '/\/src\/VBox\/Main\/.* warning: explicit link request to.* could not be resolved/b ignore' \
|
---|
[58167] | 1007 | -e '/\/src\/VBox\/Additions\/common\/crOpenGL\/.* warning/b ignore' \
|
---|
| 1008 | -e '/\/src\/VBox\/Additions\/x11\/VBoxClient\/seamless-x11\.h.* warning/b ignore' \
|
---|
[64250] | 1009 | -e '/\/src\/VBox\/HostDrivers\/Support\/win\/SUPR3HardenedMain-win\.cpp.* warning/b ignore' \
|
---|
[58167] | 1010 | -e '/\/src\/VBox\/ValidationKit\/.* warning/b ignore' \
|
---|
[58341] | 1011 | \
|
---|
| 1012 | -e '/unable to resolve link to .dtrace_pops_t./b ignore' \
|
---|
| 1013 | \
|
---|
[58144] | 1014 | -e 'b end' \
|
---|
| 1015 | -e ':ignore' \
|
---|
| 1016 | -e 'n' \
|
---|
| 1017 | -e '/^[[:space:]]/b ignore' \
|
---|
| 1018 | -e '/^Possible candidates/b ignore' \
|
---|
[65081] | 1019 | -e '/^def testmanager::webui::wuicontentbase::__init__/b ignore' \
|
---|
[58144] | 1020 | -e 'b nextwarning' \
|
---|
| 1021 | -e ':end' \
|
---|
| 1022 | -e 'p' \
|
---|
| 1023 | --output $(VBOX_CORE_DOXYFILE_OUTPUT)/errors2 \
|
---|
[65127] | 1024 | $(VBOX_CORE_DOXYFILE_OUTPUT)/errors
|
---|
[58148] | 1025 | $(CAT) $(VBOX_CORE_DOXYFILE_OUTPUT)/errors2
|
---|
| 1026 | $(SED) -e "/[^ ]/q 1" $(VBOX_CORE_DOXYFILE_OUTPUT)/errors2
|
---|
[65153] | 1027 | $(APPEND) $@
|
---|
[1] | 1028 |
|
---|
[65153] | 1029 | docs.Core docs.core: $(VBOX_CORE_DOXYFILE_OUTPUT)/docs.Core
|
---|
[6288] | 1030 |
|
---|
[69508] | 1031 | #
|
---|
| 1032 | # This is a bit odd, but we attach the optional scm check run onto the 'docs' pass
|
---|
| 1033 | # so the build box output is less confusing on failure.
|
---|
| 1034 | #
|
---|
| 1035 | ifeq ($(KBUILD_HOST),$(KBUILD_TARGET))
|
---|
| 1036 | ifdef VBOX_WITH_SCM_CHECK_RUN
|
---|
| 1037 | docs: scm.check.run
|
---|
| 1038 | endif
|
---|
| 1039 | .PHONY: scm.check.run
|
---|
[69514] | 1040 | scm.check.run: $(VBOX_PATH_TOOLS)/scm$(HOSTSUFF_EXE)
|
---|
[76597] | 1041 | $(REDIRECT) -E VBOX_LOG_FLAGS="disabled" -E VBOX_LOG_DEST="nofile" \
|
---|
| 1042 | $(if-expr "$(KBUILD_HOST)" == "darwin",-E DYLD_FALLBACK_LIBRARY_PATH="$(VBOX_PATH_TOOLS)/..",) -- \
|
---|
[69517] | 1043 | $(VBOX_PATH_TOOLS)/scm$(HOSTSUFF_EXE) -qvv --check-run $(PATH_ROOT)
|
---|
[69508] | 1044 | endif
|
---|
[65153] | 1045 |
|
---|
[69508] | 1046 |
|
---|
[27014] | 1047 | #
|
---|
[71485] | 1048 | # Combined package build (windows only).
|
---|
| 1049 | #
|
---|
| 1050 | # The combined package is created by the x86 environment, so we do the amd64
|
---|
| 1051 | # packaging in the build phase since it's just a few very slow jobs. We hold
|
---|
| 1052 | # back the x86 build until the amd64 packaging starts, to try encourage
|
---|
| 1053 | # parallel execution.
|
---|
| 1054 | #
|
---|
| 1055 | # Note! VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER=1 is required because the additions
|
---|
| 1056 | # packing must be done in amd64 mode as it picks files from the x86 build.
|
---|
| 1057 | #
|
---|
| 1058 |
|
---|
| 1059 | VBOX_COMBINED_PACKAGE_DEFS := \
|
---|
| 1060 | VBOX_WITH_COMBINED_PACKAGE=1 \
|
---|
| 1061 | VBOX_WITH_ALL_DOXYGEN_TARGETS= \
|
---|
| 1062 | VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER=1
|
---|
| 1063 |
|
---|
| 1064 | combined-package-fetch:
|
---|
[84953] | 1065 | + $(KMK) -C tools $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=amd64
|
---|
| 1066 | + $(KMK) -C tools $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=x86
|
---|
[71485] | 1067 |
|
---|
| 1068 | combined-package-build-amd64:
|
---|
[84953] | 1069 | + $(KMK) docs all $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=amd64
|
---|
[71485] | 1070 |
|
---|
| 1071 | combined-package-build-amd64-packing: combined-package-build-amd64
|
---|
[84953] | 1072 | + $(KMK) packing $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=amd64
|
---|
[71485] | 1073 |
|
---|
| 1074 | combined-package-build-x86: combined-package-build-amd64
|
---|
[84953] | 1075 | + $(KMK) docs all $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=x86
|
---|
[71485] | 1076 |
|
---|
| 1077 | combined-package-build: combined-package-build-amd64-packing combined-package-build-x86
|
---|
| 1078 |
|
---|
| 1079 | combined-package-packing:
|
---|
[84953] | 1080 | + $(KMK) packing $(VBOX_COMBINED_PACKAGE_DEFS) KBUILD_TARGET_ARCH=x86
|
---|
[71485] | 1081 |
|
---|
| 1082 |
|
---|
| 1083 |
|
---|
| 1084 | #
|
---|
[34648] | 1085 | # Common rsync bits.
|
---|
[34637] | 1086 | #
|
---|
[34639] | 1087 |
|
---|
[76653] | 1088 |
|
---|
[76658] | 1089 | ## Overridable ssh name.
|
---|
[76653] | 1090 | # On windows build boxes install https://github.com/PowerShell/Win32-OpenSSH/releases
|
---|
| 1091 | # and point to it in LocalConfig. (The cygwin ssh frequently segfaults due to
|
---|
| 1092 | # termination race or something along those lines.)
|
---|
| 1093 | VBOX_SSH ?= ssh
|
---|
[76658] | 1094 | VBOX_SSH_FOR_RSYNC ?= $(VBOX_SSH)
|
---|
[76653] | 1095 |
|
---|
[76658] | 1096 | ## Overridable rsh name.
|
---|
[76661] | 1097 | VBOX_RSYNC ?= rsync --rsh="$(VBOX_SSH_FOR_RSYNC)"
|
---|
| 1098 | VBOX_RSYNC_NOSSH ?= rsync
|
---|
[76653] | 1099 |
|
---|
[34639] | 1100 | ##
|
---|
[34648] | 1101 | # The basic rsync invocation for syncing the tree into a VM; the source and
|
---|
| 1102 | # target specs are missing.
|
---|
| 1103 | #
|
---|
[75688] | 1104 | # @param 1 os name.
|
---|
[34648] | 1105 | # @param 2 arch or *.
|
---|
[76661] | 1106 | # @param 3 nossh or empty
|
---|
[34648] | 1107 | #
|
---|
[76661] | 1108 | VBOX_RSYNC_IN_FN = $(if-expr "$(3)" != "nossh",$(VBOX_RSYNC),$(VBOX_RSYNC_NOSSH))\
|
---|
[76659] | 1109 | -a -v --delete --delete-excluded --prune-empty-dirs \
|
---|
[40343] | 1110 | --exclude=*.pyc \
|
---|
[40332] | 1111 | --exclude=.svn/ \
|
---|
| 1112 | --exclude=doc/Devices/ \
|
---|
| 1113 | --exclude=doc/tg/ \
|
---|
| 1114 | --exclude=doc/vp/ \
|
---|
| 1115 | --exclude=tinderclient.log \
|
---|
| 1116 | --exclude=tools/FetchDir/ \
|
---|
| 1117 | --exclude=webtools/ \
|
---|
[72108] | 1118 | --exclude=out/ \
|
---|
[91981] | 1119 | --exclude=tools/common/plantuml/ \
|
---|
[91797] | 1120 | $(if-expr "$1" == "solaris",--exclude=tools/common/openwatcom/,) \
|
---|
[72108] | 1121 | $(foreach os,$(filter-out $(1), darwin freebsd linux solaris os2 win), \
|
---|
[94894] | 1122 | --exclude=tools/$(os)/ \
|
---|
[40332] | 1123 | --exclude=tools/$(os).x86/ \
|
---|
[94894] | 1124 | --exclude=tools/$(os).amd64/ \
|
---|
| 1125 | --exclude=tools/$(os).arm64/ )
|
---|
[27014] | 1126 |
|
---|
[1] | 1127 | #
|
---|
[40327] | 1128 | # VM IP addresses.
|
---|
| 1129 | #
|
---|
[75105] | 1130 | VBOX_BLD_VM_LNX_IP := 192.168.27.2
|
---|
| 1131 | VBOX_BLD_VM_OS2_IP := 192.168.27.3
|
---|
| 1132 | VBOX_BLD_VM_SOLARIS_IP := 192.168.27.4
|
---|
| 1133 | VBOX_BLD_VM_DARWIN_X86_IP := 192.168.27.5
|
---|
| 1134 | VBOX_BLD_VM_DARWIN_AMD64_IP := 192.168.27.15
|
---|
| 1135 | VBOX_BLD_VM_DARWIN_109_AMD64_IP := 192.168.27.18
|
---|
[94870] | 1136 | VBOX_BLD_VM_DARWIN_ARM64_IP := 192.168.27.25
|
---|
[75105] | 1137 | VBOX_BLD_VM_WIN_X86_IP := 192.168.27.6
|
---|
| 1138 | VBOX_BLD_VM_WIN_AMD64_IP := 192.168.27.16
|
---|
| 1139 | VBOX_BLD_VM_FBSD_X86_IP := 192.168.27.7
|
---|
| 1140 | VBOX_BLD_VM_FBSD_AMD64_IP := 192.168.27.17
|
---|
[40327] | 1141 |
|
---|
[40328] | 1142 | VBOX_WITH_OS2_ADD_BUILD=1
|
---|
[40327] | 1143 |
|
---|
| 1144 | #
|
---|
[40346] | 1145 | # For profiling the VM building steps.
|
---|
| 1146 | #
|
---|
| 1147 | if 0
|
---|
| 1148 | VBOX_BLD_VM_MSG_BEGIN = $(call MSG_L1,Building $1.)
|
---|
| 1149 | VBOX_BLD_VM_MSG_END__ =
|
---|
| 1150 | else
|
---|
[71576] | 1151 | VBOX_BLD_VM_MSG_BEGIN = @echo "$(date ) - Start building $1."
|
---|
| 1152 | VBOX_BLD_VM_MSG_END__ = @echo "$(date ) - Done building $1."
|
---|
[40346] | 1153 | endif
|
---|
| 1154 |
|
---|
| 1155 | #
|
---|
[71575] | 1156 | # For killing old build jobs in the OS/2 VM before rsyncing.
|
---|
| 1157 | #
|
---|
| 1158 | VBOX_BLD_VM_OS2_KKILL_STUFF = $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "kkill -All -Tree kmk.exe gcc.exe & sleep.exe 1 & kkill -All gcc.exe emxomfld.exe as.exe kmk.exe "
|
---|
| 1159 |
|
---|
| 1160 |
|
---|
| 1161 | #
|
---|
[6052] | 1162 | # Build the additions, all of them.
|
---|
| 1163 | #
|
---|
[6129] | 1164 | # This is currently tailored (hardcoded) for the additions
|
---|
[6052] | 1165 | # build box. Can make it pretty and configurable later.
|
---|
| 1166 | #
|
---|
| 1167 | # The fetching must be done in serial fashion, while the building
|
---|
| 1168 | # should be more flexible wrt to -jN.
|
---|
| 1169 | #
|
---|
| 1170 | additions-fetch:
|
---|
[27076] | 1171 | + $(KMK) -C tools fetch VBOX_ONLY_ADDITIONS=1
|
---|
[84953] | 1172 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin VBOX_ONLY_ADDITIONS=1 VBOX_DEF_MACOSX_VERSION_MIN=10.7
|
---|
| 1173 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_ADDITIONS=1 #VBOX_DEF_MACOSX_VERSION_MIN=10.5
|
---|
| 1174 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux VBOX_ONLY_ADDITIONS=1
|
---|
| 1175 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_ADDITIONS=1
|
---|
[40315] | 1176 | ifdef VBOX_WITH_OS2_ADD_BUILD
|
---|
[84953] | 1177 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_ADDITIONS=1
|
---|
[40315] | 1178 | endif
|
---|
[84953] | 1179 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris VBOX_ONLY_ADDITIONS=1
|
---|
| 1180 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=solaris VBOX_ONLY_ADDITIONS=1
|
---|
| 1181 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win VBOX_ONLY_ADDITIONS=1
|
---|
| 1182 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_ADDITIONS=1
|
---|
[5957] | 1183 |
|
---|
[6052] | 1184 |
|
---|
[12337] | 1185 | ## @todo Currently combined solaris additions building assumes that amd64 is
|
---|
[16043] | 1186 | # built first. The windows amd64 additions need some x86 files, so don't change
|
---|
[25220] | 1187 | # the order of the windows builds. TODO: Split building and packing for these two VMs.
|
---|
[6052] | 1188 | additions-build: \
|
---|
[40339] | 1189 | additions-build-rsync-into-vms \
|
---|
[40346] | 1190 | additions-build-win.x86 \
|
---|
| 1191 | additions-build-win.amd64 \
|
---|
[25222] | 1192 | additions-build-solaris.amd64 \
|
---|
| 1193 | additions-build-solaris.x86 \
|
---|
[6052] | 1194 | additions-build-os2.x86 \
|
---|
[75688] | 1195 | additions-build-linux \
|
---|
| 1196 | additions-build-darwin.x86 \
|
---|
| 1197 | additions-build-darwin.amd64
|
---|
[6052] | 1198 |
|
---|
[40339] | 1199 | additions-build-rsync-into-vms: \
|
---|
| 1200 | additions-build-solaris.rsync-into-vm \
|
---|
[52628] | 1201 | additions-build-os2.rsync-into-vm \
|
---|
[75688] | 1202 | additions-build-darwin.x86.rsync-into-vm \
|
---|
| 1203 | additions-build-darwin.amd64.rsync-into-vm \
|
---|
[52628] | 1204 | additions-build-linux.rsync-into-vm
|
---|
[40339] | 1205 | $(call MSG_L1,Rsynced the sources + tools into the VMs.)
|
---|
[52584] | 1206 | .NOTPARALLEL: additions-build-rsync-into-vms
|
---|
[52852] | 1207 | .PHONY: additions-build-rsync-into-vms
|
---|
[40339] | 1208 |
|
---|
| 1209 |
|
---|
[10161] | 1210 | VBOX_ADDITIONS_BUILD.amd64 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \
|
---|
[84954] | 1211 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=amd64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
[10161] | 1212 |
|
---|
[8762] | 1213 | VBOX_ADDITIONS_BUILD.x86 = VBOX_ONLY_ADDITIONS=1 VBOX_WITHOUT_ADDITIONS_ISO=1 \
|
---|
[84954] | 1214 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
[6052] | 1215 |
|
---|
[12833] | 1216 | # Automatically determine the additions build subdir name. Used for figuring
|
---|
| 1217 | # out directory names inside the additions building VMs.
|
---|
| 1218 | VBOX_ADDITIONS_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))
|
---|
| 1219 |
|
---|
[25225] | 1220 | # When building in parallel on a Windows host, make sure we finish the host
|
---|
| 1221 | # bit before kicking off any UNIX guest or we'll run into file sharing issues.
|
---|
| 1222 | ifeq ($(KBUILD_TARGET),win)
|
---|
[45643] | 1223 | VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST = #additions-build-win.x86 additions-build-win.amd64
|
---|
[25225] | 1224 | else
|
---|
| 1225 | VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST =
|
---|
| 1226 | endif
|
---|
| 1227 |
|
---|
[25220] | 1228 | # ASSUMES the 32-bit edition has been built already. Also for serializing VM access.
|
---|
[10161] | 1229 | ifeq ($(KBUILD_TARGET),win)
|
---|
[71475] | 1230 | additions-build-win.amd64-just-build:
|
---|
[71576] | 1231 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
[71475] | 1232 | additions-build-win.amd64: additions-build-win.x86 additions-build-win.amd64-just-build
|
---|
[71576] | 1233 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing
|
---|
[10161] | 1234 | else
|
---|
[71475] | 1235 | additions-build-win.amd64: additions-build-win.x86
|
---|
[52628] | 1236 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 additions build+pack)
|
---|
[76648] | 1237 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) ' cd e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing '
|
---|
[52628] | 1238 | $(call VBOX_BLD_VM_MSG_END__,Windows/amd64 additions build+pack)
|
---|
[10161] | 1239 | endif
|
---|
| 1240 |
|
---|
[71475] | 1241 | ifeq ($(KBUILD_TARGET),win)
|
---|
[6052] | 1242 | additions-build-win.x86:
|
---|
[71576] | 1243 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1244 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing
|
---|
[6052] | 1245 | else
|
---|
[71475] | 1246 | additions-build-win.x86:
|
---|
[52628] | 1247 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 additions build.pack)
|
---|
[76648] | 1248 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) ' cd e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.x86) all packing '
|
---|
[52628] | 1249 | $(call VBOX_BLD_VM_MSG_END__,Windows/x86 additions build+pack)
|
---|
[6052] | 1250 | endif
|
---|
[6129] | 1251 |
|
---|
[25221] | 1252 | # ASSUMES the 64-bit edition are built first. This also serializes VM access.
|
---|
| 1253 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
[10161] | 1254 | additions-build-solaris.amd64:
|
---|
[71576] | 1255 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1256 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing
|
---|
[25221] | 1257 |
|
---|
| 1258 | additions-build-solaris.x86: additions-build-solaris.amd64
|
---|
[71576] | 1259 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1260 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 packing
|
---|
[25221] | 1261 |
|
---|
[40339] | 1262 | additions-build-solaris.rsync-into-vm:
|
---|
[10161] | 1263 | else
|
---|
[40339] | 1264 | additions-build-solaris.rsync-into-vm:
|
---|
[71576] | 1265 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) \
|
---|
[40338] | 1266 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
| 1267 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1268 | '--exclude=src/VBox/VMM/**' \
|
---|
| 1269 | . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
[25221] | 1270 |
|
---|
[25683] | 1271 | additions-build-solaris.build-it: additions-build-solaris.rsync-into-vm
|
---|
[52628] | 1272 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 additions build+pack)
|
---|
[76649] | 1273 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) ' cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing '
|
---|
[52628] | 1274 | $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 additions build+pack)
|
---|
| 1275 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/x86 additions build+pack)
|
---|
[76649] | 1276 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) ' cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 '
|
---|
[52628] | 1277 | $(call VBOX_BLD_VM_MSG_END__,Solaris/x86 additions build+pack)
|
---|
[25221] | 1278 |
|
---|
[25222] | 1279 | additions-build-solaris.rsync-out-of-vm: additions-build-solaris.build-it
|
---|
[76653] | 1280 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/solaris.x86 out/
|
---|
| 1281 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/solaris.amd64 out/
|
---|
[25222] | 1282 |
|
---|
[52853] | 1283 | .NOTPARALLEL: additions-build-solaris.rsync-into-vm
|
---|
[40337] | 1284 | .PHONY: additions-build-solaris.rsync-into-vm additions-build-solaris.rsync-out-of-vm additions-build-solaris.build-it
|
---|
[25222] | 1285 |
|
---|
| 1286 | additions-build-solaris.amd64: additions-build-solaris.rsync-out-of-vm
|
---|
[40339] | 1287 | additions-build-solaris.x86: additions-build-solaris.rsync-out-of-vm
|
---|
[8032] | 1288 | endif
|
---|
[6052] | 1289 |
|
---|
[40328] | 1290 | ifdef VBOX_WITH_OS2_ADD_BUILD
|
---|
[40315] | 1291 | ifeq ($(KBUILD_TARGET),os2)
|
---|
[6052] | 1292 | additions-build-os2.x86:
|
---|
[71576] | 1293 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1294 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing
|
---|
[40339] | 1295 |
|
---|
| 1296 | additions-build-os2.rsync-into-vm:
|
---|
[40315] | 1297 | else
|
---|
[40339] | 1298 | additions-build-os2.rsync-into-vm:
|
---|
[71575] | 1299 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
[76661] | 1300 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,nossh)\
|
---|
[40332] | 1301 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
| 1302 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
| 1303 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1304 | '--exclude=src/VBox/VMM/**' \
|
---|
[40331] | 1305 | . rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
[6052] | 1306 |
|
---|
[71570] | 1307 | additions-build-os2.build-it: #additions-build-os2.rsync-into-vm
|
---|
[52628] | 1308 | $(call VBOX_BLD_VM_MSG_BEGIN,OS/2 additions build+pack)
|
---|
[71576] | 1309 | $(TIME) -- $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "cd e:\\tinderbox\\$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && e: && kbuild\\bin\\os2.x86\\kmk_ash tools\\env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing"
|
---|
[52628] | 1310 | $(call VBOX_BLD_VM_MSG_END__,OS/2 additions build+pack)
|
---|
[40315] | 1311 |
|
---|
| 1312 | additions-build-os2.rsync-out-of-vm: additions-build-os2.build-it
|
---|
[71575] | 1313 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
[76661] | 1314 | $(TIME) -- $(VBOX_RSYNC_NOSSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/os2.x86 ./out
|
---|
[40315] | 1315 |
|
---|
[52853] | 1316 | .NOTPARALLEL: additions-build-os2.rsync-into-vm
|
---|
[40337] | 1317 | .PHONY: additions-build-os2.rsync-into-vm additions-build-os2.rsync-out-of-vm additions-build-os2.build-it
|
---|
[40315] | 1318 |
|
---|
| 1319 | additions-build-os2.x86: additions-build-os2.rsync-out-of-vm
|
---|
| 1320 | endif
|
---|
| 1321 | #
|
---|
| 1322 | else
|
---|
| 1323 | additions-build-os2.x86:
|
---|
| 1324 | # Dummy
|
---|
| 1325 | endif
|
---|
| 1326 |
|
---|
[75688] | 1327 | # Linux
|
---|
[52628] | 1328 | ifeq ($(KBUILD_TARGET),linux)
|
---|
| 1329 | additions-build-linux.amd64:
|
---|
[71576] | 1330 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1331 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1
|
---|
[52628] | 1332 |
|
---|
| 1333 | additions-build-linux.x86:
|
---|
[71576] | 1334 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1335 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1
|
---|
[52628] | 1336 |
|
---|
| 1337 | additions-build-linux: additions-build-linux.x86 additions-build-linux.amd64
|
---|
[71576] | 1338 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1339 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1
|
---|
[10161] | 1340 | else
|
---|
[52628] | 1341 | additions-build-linux.rsync-into-vm:
|
---|
[71576] | 1342 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) \
|
---|
[52628] | 1343 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
| 1344 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1345 | '--exclude=src/VBox/VMM/**' \
|
---|
| 1346 | . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
| 1347 |
|
---|
| 1348 | additions-build-linux.build-it: additions-build-linux.rsync-into-vm
|
---|
[44075] | 1349 | ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING
|
---|
[45466] | 1350 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 additions/greeter)
|
---|
[76649] | 1351 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c ubuntu-11.10-amd64 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) PATH_OUT=/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.amd64/$(KBUILD_TYPE)/greeter VBOX_WITH_LIGHTDM_GREETER=1 vbox-greeter " '
|
---|
[45466] | 1352 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 additions/greeter)
|
---|
[44062] | 1353 | endif
|
---|
[52628] | 1354 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 additions build+pack)
|
---|
[76649] | 1355 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1 VBOX_WITH_LIGHTDM_GREETER_PACKING=$(VBOX_WITH_LIGHTDM_GREETER_PACKING) " '
|
---|
[52628] | 1356 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 additions build+pack)
|
---|
[44075] | 1357 | ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING
|
---|
[45466] | 1358 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 additions/greeter)
|
---|
[84942] | 1359 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c ubuntu-11.10-i386 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=x86 tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) PATH_OUT=/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.x86/$(KBUILD_TYPE)/greeter VBOX_WITH_LIGHTDM_GREETER=1 vbox-greeter " '
|
---|
[45466] | 1360 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions/greeter)
|
---|
[44067] | 1361 | endif
|
---|
[52628] | 1362 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 additions build+pack)
|
---|
[76649] | 1363 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c rhel3-i386 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1 VBOX_WITH_LIGHTDM_GREETER_PACKING=$(VBOX_WITH_LIGHTDM_GREETER_PACKING) " '
|
---|
[52628] | 1364 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions build+pack)
|
---|
| 1365 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 additions combine)
|
---|
[76649] | 1366 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c rhel3-i386 "cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1 " '
|
---|
[52628] | 1367 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions combine)
|
---|
[31139] | 1368 |
|
---|
[52628] | 1369 | additions-build-linux.rsync-out-of-vm: additions-build-linux.build-it
|
---|
[76653] | 1370 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.x86 out/
|
---|
| 1371 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.amd64 out/
|
---|
[52628] | 1372 |
|
---|
[52853] | 1373 | .NOTPARALLEL: additions-build-linux.rsync-into-vm
|
---|
[52628] | 1374 | .PHONY: additions-build-linux.rsync-into-vm additions-build-linux.rsync-out-of-vm additions-build-linux.build-it
|
---|
| 1375 |
|
---|
| 1376 | additions-build-linux: additions-build-linux.rsync-out-of-vm
|
---|
[6052] | 1377 | endif
|
---|
| 1378 |
|
---|
[75688] | 1379 | # Darwin
|
---|
| 1380 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
| 1381 | additions-build-darwin.amd64:
|
---|
| 1382 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1383 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing
|
---|
| 1384 |
|
---|
| 1385 | additions-build-darwin.x86:
|
---|
| 1386 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK)
|
---|
| 1387 | + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing
|
---|
| 1388 |
|
---|
| 1389 | additions-build-darwin: additions-build-darwin.amd64 additions-build-darwin.x86
|
---|
| 1390 | .PHONY: additions-build-darwin.amd64 additions-build-darwin.x86
|
---|
| 1391 | else
|
---|
| 1392 | additions-build-darwin.amd64.rsync-into-vm:
|
---|
[76648] | 1393 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'sudo rm -Rf /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/'
|
---|
[75692] | 1394 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,*) \
|
---|
[75688] | 1395 | '--exclude=src/libs/xpcom18a4/**' \
|
---|
| 1396 | '--exclude=src/libs/curl*/**' \
|
---|
| 1397 | '--exclude=src/libs/libxml*/**' \
|
---|
| 1398 | '--exclude=src/libs/libvpx*/**' \
|
---|
| 1399 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
| 1400 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
| 1401 | '--exclude=src/VBox/Artwork/x11/**' \
|
---|
[89663] | 1402 | '--include=src/VBox/Devices/' \
|
---|
| 1403 | '--include=src/VBox/Devices/Audio/' \
|
---|
| 1404 | '--include=src/VBox/Devices/Audio/**' \
|
---|
[89665] | 1405 | '--include=src/VBox/Devices/build/' \
|
---|
| 1406 | '--include=src/VBox/Devices/build/**' \
|
---|
[89663] | 1407 | '--exclude=src/VBox/Devices/**' \
|
---|
[75688] | 1408 | '--exclude=src/VBox/Disassembler/**' \
|
---|
| 1409 | '--exclude=src/VBox/ExtPacks/**' \
|
---|
| 1410 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1411 | '--exclude=src/VBox/HostDriver/**' \
|
---|
| 1412 | '--exclude=src/VBox/HostService/**' \
|
---|
| 1413 | '--exclude=src/VBox/ImageMounter/**' \
|
---|
[76037] | 1414 | '--exclude=src/VBox/Installer/win/**' \
|
---|
[75688] | 1415 | '--exclude=src/VBox/Main/**' \
|
---|
| 1416 | '--exclude=src/VBox/NetworkService/**' \
|
---|
| 1417 | '--exclude=src/VBox/RDP/**' \
|
---|
| 1418 | '--exclude=src/VBox/Storage/**' \
|
---|
[89663] | 1419 | '--include=src/VBox/ValidationKit/' \
|
---|
| 1420 | '--include=src/VBox/ValidationKit/Config.kmk' \
|
---|
| 1421 | '--include=src/VBox/ValidationKit/utils/' \
|
---|
| 1422 | '--include=src/VBox/ValidationKit/utils/audio/' \
|
---|
| 1423 | '--include=src/VBox/ValidationKit/utils/audio/**' \
|
---|
| 1424 | '--exclude=src/VBox/ValidationKit/**' \
|
---|
[75688] | 1425 | '--exclude=src/VBox/VMM/**' \
|
---|
| 1426 | '--exclude=src/apps/**' \
|
---|
| 1427 | '--exclude=src/recompiler/**' \
|
---|
[76025] | 1428 | . $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
[75688] | 1429 |
|
---|
| 1430 | additions-build-darwin.x86.rsync-into-vm:
|
---|
[76648] | 1431 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'sudo rm -Rf /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/'
|
---|
[75692] | 1432 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,*) \
|
---|
[75688] | 1433 | '--exclude=src/libs/xpcom18a4/**' \
|
---|
| 1434 | '--exclude=src/libs/curl*/**' \
|
---|
| 1435 | '--exclude=src/libs/libxml*/**' \
|
---|
| 1436 | '--exclude=src/libs/libvpx*/**' \
|
---|
| 1437 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
| 1438 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
| 1439 | '--exclude=src/VBox/Artwork/x11/**' \
|
---|
[89663] | 1440 | '--include=src/VBox/Devices/' \
|
---|
| 1441 | '--include=src/VBox/Devices/Audio/' \
|
---|
| 1442 | '--include=src/VBox/Devices/Audio/**' \
|
---|
[89665] | 1443 | '--include=src/VBox/Devices/build/' \
|
---|
| 1444 | '--include=src/VBox/Devices/build/**' \
|
---|
[89663] | 1445 | '--exclude=src/VBox/Devices/**' \
|
---|
[75688] | 1446 | '--exclude=src/VBox/Disassembler/**' \
|
---|
| 1447 | '--exclude=src/VBox/ExtPacks/**' \
|
---|
| 1448 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1449 | '--exclude=src/VBox/HostDriver/**' \
|
---|
| 1450 | '--exclude=src/VBox/HostService/**' \
|
---|
| 1451 | '--exclude=src/VBox/ImageMounter/**' \
|
---|
[76037] | 1452 | '--exclude=src/VBox/Installer/win/**' \
|
---|
[75688] | 1453 | '--exclude=src/VBox/Main/**' \
|
---|
| 1454 | '--exclude=src/VBox/NetworkService/**' \
|
---|
| 1455 | '--exclude=src/VBox/RDP/**' \
|
---|
| 1456 | '--exclude=src/VBox/Storage/**' \
|
---|
[89663] | 1457 | '--include=src/VBox/ValidationKit/' \
|
---|
| 1458 | '--include=src/VBox/ValidationKit/Config.kmk' \
|
---|
| 1459 | '--include=src/VBox/ValidationKit/utils/' \
|
---|
| 1460 | '--include=src/VBox/ValidationKit/utils/audio/' \
|
---|
| 1461 | '--include=src/VBox/ValidationKit/utils/audio/**' \
|
---|
| 1462 | '--exclude=src/VBox/ValidationKit/**' \
|
---|
[75688] | 1463 | '--exclude=src/VBox/VMM/**' \
|
---|
| 1464 | '--exclude=src/apps/**' \
|
---|
| 1465 | '--exclude=src/recompiler/**' \
|
---|
| 1466 | . $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)
|
---|
| 1467 |
|
---|
| 1468 | additions-build-darwin.amd64.build-it: additions-build-darwin.amd64.rsync-into-vm
|
---|
| 1469 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 Additions)
|
---|
[76648] | 1470 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all ' # VBOX_DEF_MACOSX_VERSION_MIN=10.7
|
---|
| 1471 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) packing ' # VBOX_DEF_MACOSX_VERSION_MIN=10.7
|
---|
[75688] | 1472 | $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 Additions)
|
---|
| 1473 |
|
---|
| 1474 | additions-build-darwin.x86.build-it: additions-build-darwin.x86.rsync-into-vm
|
---|
| 1475 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/x86 Additions)
|
---|
[76648] | 1476 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all ' # VBOX_DEF_MACOSX_VERSION_MIN=10.5
|
---|
| 1477 | # no pkgbuild # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) packing ' # VBOX_DEF_MACOSX_VERSION_MIN=10.5
|
---|
[75688] | 1478 | $(call VBOX_BLD_VM_MSG_END__,Darwin/x86 Additions)
|
---|
| 1479 |
|
---|
| 1480 | additions-build-darwin.amd64.rsync-out-of-vm: additions-build-darwin.amd64.build-it
|
---|
[76653] | 1481 | $(TIME) -- $(VBOX_RSYNC) -a -v --delete $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/darwin.amd64 out/
|
---|
[75688] | 1482 |
|
---|
| 1483 | additions-build-darwin.x86.rsync-out-of-vm: additions-build-darwin.x86.build-it
|
---|
[76653] | 1484 | $(TIME) -- $(VBOX_RSYNC) -a -v --delete $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/darwin.x86 out/
|
---|
[75688] | 1485 |
|
---|
| 1486 | additions-build-darwin.amd64: additions-build-darwin.amd64.rsync-out-of-vm
|
---|
| 1487 | additions-build-darwin.x86: additions-build-darwin.x86.rsync-out-of-vm
|
---|
| 1488 | additions-build-darwin: additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.amd64.rsync-out-of-vm
|
---|
| 1489 |
|
---|
| 1490 | .PHONY: additions-build-darwin.amd64.rsync-into-vm additions-build-darwin.amd64.rsync-out-of-vm additions-build-darwin.amd64.build-it \
|
---|
| 1491 | additions-build-darwin.x86.rsync-into-vm additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.x86.build-it
|
---|
| 1492 | endif
|
---|
| 1493 |
|
---|
| 1494 |
|
---|
[6052] | 1495 | additions-packing:
|
---|
| 1496 | + $(KMK) VBOX_ONLY_ADDITIONS=1 \
|
---|
[76029] | 1497 | VBOX_WITH_ADDITIONS_ISO.darwin.amd64=1 \
|
---|
[76038] | 1498 | VBOX_WITH_ADDITIONS_ISO.darwin.x86= \
|
---|
[9641] | 1499 | VBOX_WITH_ADDITIONS_ISO.freebsd.amd64= \
|
---|
[9643] | 1500 | VBOX_WITH_ADDITIONS_ISO.freebsd.x86= \
|
---|
[31139] | 1501 | VBOX_WITH_ADDITIONS_ISO.linux.amd64= \
|
---|
[6052] | 1502 | VBOX_WITH_ADDITIONS_ISO.linux.x86=1 \
|
---|
[31150] | 1503 | VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1 \
|
---|
[40327] | 1504 | VBOX_WITH_ADDITIONS_ISO.os2.x86=1 \
|
---|
[12337] | 1505 | VBOX_WITH_ADDITIONS_ISO.solaris.amd64=1 \
|
---|
[8058] | 1506 | VBOX_WITH_ADDITIONS_ISO.solaris.x86=1 \
|
---|
[12337] | 1507 | VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 \
|
---|
[11898] | 1508 | VBOX_WITH_ADDITIONS_ISO.win.amd64=1 \
|
---|
[9641] | 1509 | VBOX_WITH_ADDITIONS_ISO.win.x86=1 \
|
---|
[6052] | 1510 | -C src/VBox/Additions \
|
---|
[45059] | 1511 | $(VBOX_PATH_ADDITIONS)/VBoxGuestAdditions.zip
|
---|
[6052] | 1512 |
|
---|
[25221] | 1513 | .PHONY: \
|
---|
| 1514 | additions-build-win.x86 \
|
---|
| 1515 | additions-build-win.amd64 \
|
---|
| 1516 | additions-build-solaris.amd64 \
|
---|
| 1517 | additions-build-solaris.x86 \
|
---|
| 1518 | additions-build-os2.x86 \
|
---|
[52628] | 1519 | additions-build-linux \
|
---|
[25221] | 1520 | additions-build-linux.amd64 \
|
---|
| 1521 | additions-build-linux.x86 \
|
---|
[31139] | 1522 | additions-build-linux.x86.combined \
|
---|
[75688] | 1523 | additions-build-darwin \
|
---|
| 1524 | additions-build-darwin.x86 \
|
---|
| 1525 | additions-build-darwin.amd64 \
|
---|
[25221] | 1526 | additions-packing
|
---|
[12804] | 1527 |
|
---|
| 1528 |
|
---|
| 1529 | #
|
---|
[34482] | 1530 | # Build the extension packs, all of them.
|
---|
| 1531 | #
|
---|
| 1532 | # This is tailored (hardcoded) for the extension pack build box.
|
---|
| 1533 | #
|
---|
| 1534 | # The fetching must be done in serial fashion, while the building should be
|
---|
| 1535 | # more flexible wrt to -jN.
|
---|
| 1536 | #
|
---|
| 1537 | extpacks-fetch:
|
---|
| 1538 | + $(KMK) -C tools fetch VBOX_ONLY_EXTPACKS=1
|
---|
[84953] | 1539 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1
|
---|
| 1540 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=freebsd VBOX_ONLY_EXTPACKS=1
|
---|
| 1541 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux VBOX_ONLY_EXTPACKS=1
|
---|
| 1542 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris VBOX_ONLY_EXTPACKS=1
|
---|
| 1543 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win VBOX_ONLY_EXTPACKS=1
|
---|
[94870] | 1544 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=arm64 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1
|
---|
[79896] | 1545 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
[84953] | 1546 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1
|
---|
| 1547 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=freebsd VBOX_ONLY_EXTPACKS=1
|
---|
| 1548 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_EXTPACKS=1
|
---|
| 1549 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_EXTPACKS=1
|
---|
| 1550 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_EXTPACKS=1
|
---|
[79896] | 1551 | endif
|
---|
[34482] | 1552 |
|
---|
| 1553 |
|
---|
| 1554 | extpacks-build: \
|
---|
[34625] | 1555 | extpacks-build-win.amd64 \
|
---|
| 1556 | extpacks-build-win.x86 \
|
---|
[34482] | 1557 | extpacks-build-solaris.amd64 \
|
---|
[34625] | 1558 | extpacks-build-os2.x86 \
|
---|
[52628] | 1559 | extpacks-build-linux \
|
---|
[34620] | 1560 | extpacks-build-darwin.amd64 \
|
---|
[94870] | 1561 | extpacks-build-darwin.arm64 \
|
---|
[34625] | 1562 | extpacks-build-freebsd.amd64 \
|
---|
| 1563 | extpacks-build-freebsd.x86
|
---|
[34482] | 1564 |
|
---|
[91730] | 1565 | VBOX_EXTPACKS_BUILD.amd64 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \
|
---|
[84954] | 1566 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=amd64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
[34482] | 1567 |
|
---|
[94870] | 1568 | VBOX_EXTPACKS_BUILD.arm64 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \
|
---|
| 1569 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=arm64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
| 1570 |
|
---|
[91730] | 1571 | VBOX_EXTPACKS_BUILD.x86 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \
|
---|
[84954] | 1572 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
[34482] | 1573 |
|
---|
[91730] | 1574 | ifdef VBOX_WITH_PUEL_NLS
|
---|
| 1575 | VBOX_EXTPACKS_HOST_EXTRA = VBOX_WITH_PUEL_NLS_NO_QM=
|
---|
| 1576 | else
|
---|
| 1577 | VBOX_EXTPACKS_HOST_EXTRA = VBOX_WITH_PUEL_NLS_NO_QM=
|
---|
| 1578 | endif
|
---|
| 1579 |
|
---|
[34482] | 1580 | # Automatically determine the extpack build subdir name. Used for figuring out
|
---|
| 1581 | # directory names inside the extension pack building VMs.
|
---|
| 1582 | VBOX_EXTPACKS_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))
|
---|
| 1583 |
|
---|
| 1584 | # When building in parallel on a Windows host, make sure we finish the host
|
---|
| 1585 | # bit before kicking off any UNIX guest or we'll run into file sharing issues.
|
---|
| 1586 | ifeq ($(KBUILD_TARGET),win)
|
---|
| 1587 | VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST = extpacks-build-win.x86 extpacks-build-win.amd64
|
---|
| 1588 | else
|
---|
| 1589 | VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST =
|
---|
| 1590 | endif
|
---|
| 1591 |
|
---|
| 1592 | extpacks-build-win.amd64:
|
---|
| 1593 | ifeq ($(KBUILD_TARGET),win)
|
---|
[91730] | 1594 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34482] | 1595 | else
|
---|
[40346] | 1596 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 extension packs)
|
---|
[76648] | 1597 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) 'cd e:/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
[40346] | 1598 | $(call VBOX_BLD_VM_MSG_END__,Windows/amd64 extension packs)
|
---|
[34482] | 1599 | endif
|
---|
| 1600 |
|
---|
| 1601 | extpacks-build-win.x86:
|
---|
[79896] | 1602 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
| 1603 | ifeq ($(KBUILD_TARGET),win)
|
---|
[91730] | 1604 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[79896] | 1605 | else
|
---|
[40346] | 1606 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 extension packs)
|
---|
[76648] | 1607 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) 'cd e:/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_EXTPACKS_BUILD.x86) all '
|
---|
[40346] | 1608 | $(call VBOX_BLD_VM_MSG_END__,Windows/x86 extension packs)
|
---|
[79896] | 1609 | endif
|
---|
| 1610 | else
|
---|
| 1611 | @$(ECHO) "nothing to do for unsupported host $@"
|
---|
[34482] | 1612 | endif
|
---|
| 1613 |
|
---|
| 1614 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
| 1615 | extpacks-build-solaris.amd64:
|
---|
[91730] | 1616 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34482] | 1617 |
|
---|
| 1618 | else
|
---|
| 1619 | # Serialize 32-bit and 64-bit ASSUMING the same VM builds both.
|
---|
| 1620 | extpacks-build-solaris.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
[71576] | 1621 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
[34482] | 1622 |
|
---|
| 1623 | extpacks-build-solaris.build-it: extpacks-build-solaris.rsync-into-vm
|
---|
[40346] | 1624 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 extension packs)
|
---|
[76648] | 1625 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
[40346] | 1626 | $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 extension packs)
|
---|
[34482] | 1627 |
|
---|
| 1628 | extpacks-build-solaris.rsync-out-of-vm: extpacks-build-solaris.build-it
|
---|
[76653] | 1629 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/solaris.amd64 out/
|
---|
[34482] | 1630 |
|
---|
[52628] | 1631 | #.NOTPARALLEL: extpacks-build-solaris.rsync-into-vm
|
---|
[34482] | 1632 | .PHONY: extpacks-build-solaris.rsync-out-of-vm extpacks-build-solaris.rsync-into-vm extpacks-build-solaris.build-it
|
---|
| 1633 |
|
---|
| 1634 | extpacks-build-solaris.amd64: extpacks-build-solaris.rsync-out-of-vm
|
---|
| 1635 | endif
|
---|
| 1636 |
|
---|
| 1637 | extpacks-build-os2.x86:
|
---|
| 1638 | #ifeq ($(KBUILD_TARGET),os2)
|
---|
[91730] | 1639 | # + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34482] | 1640 | #else
|
---|
[76648] | 1641 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_OS2_IP) ' cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.x86) '
|
---|
[34482] | 1642 | #endif
|
---|
| 1643 |
|
---|
[52628] | 1644 | ifeq ($(KBUILD_TARGET),linux)
|
---|
[34482] | 1645 | extpacks-build-linux.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
[91730] | 1646 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34482] | 1647 |
|
---|
| 1648 | extpacks-build-linux.x86: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
[79896] | 1649 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
[91730] | 1650 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[79896] | 1651 | else
|
---|
| 1652 | @$(ECHO) "nothing to do for unsupported host $@"
|
---|
| 1653 | endif
|
---|
[52628] | 1654 |
|
---|
| 1655 | extpacks-build-linux: extpacks-build-linux.x86 extpacks-build-linux.amd64
|
---|
[34482] | 1656 | else
|
---|
[52628] | 1657 | # Serialize 32-bit and 64-bit ASSUMING the same VM builds both.
|
---|
| 1658 | extpacks-build-linux.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
[71576] | 1659 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
[52628] | 1660 |
|
---|
| 1661 | extpacks-build-linux.build-it: extpacks-build-linux.rsync-into-vm
|
---|
| 1662 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 extension packs)
|
---|
[76648] | 1663 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all " '
|
---|
[52628] | 1664 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 extension packs)
|
---|
[79896] | 1665 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
[40346] | 1666 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 extension packs)
|
---|
[76648] | 1667 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c debian-4.0-i386 "cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.x86) all " '
|
---|
[40346] | 1668 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 extension packs)
|
---|
[79896] | 1669 | endif
|
---|
[52628] | 1670 |
|
---|
| 1671 | extpacks-build-linux.rsync-out-of-vm: extpacks-build-linux.build-it
|
---|
[79896] | 1672 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
[76653] | 1673 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/linux.x86 out/
|
---|
[79896] | 1674 | endif
|
---|
[76653] | 1675 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/linux.amd64 out/
|
---|
[52628] | 1676 |
|
---|
| 1677 | #.NOTPARALLEL: extpacks-build-linux.rsync-into-vm
|
---|
| 1678 | .PHONY: extpacks-build-linux.rsync-out-of-vm extpacks-build-linux.rsync-into-vm extpacks-build-linux.build-it
|
---|
| 1679 |
|
---|
| 1680 | extpacks-build-linux: extpacks-build-linux.rsync-out-of-vm
|
---|
[34482] | 1681 | endif
|
---|
| 1682 |
|
---|
| 1683 | extpacks-build-freebsd.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
[34625] | 1684 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.amd64)
|
---|
[91730] | 1685 | # + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34625] | 1686 | #else
|
---|
[40346] | 1687 | # $(call VBOX_BLD_VM_MSG_BEGIN,FreeBSD/amd64 extension packs)
|
---|
[76648] | 1688 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_AMD64_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
[40346] | 1689 | # $(call VBOX_BLD_VM_MSG_END__,FreeBSD/amd64 extension packs)
|
---|
[34625] | 1690 | #endif
|
---|
[34482] | 1691 |
|
---|
| 1692 | extpacks-build-freebsd.x86: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
[34625] | 1693 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.x86)
|
---|
[91730] | 1694 | # + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34625] | 1695 | #else
|
---|
[40346] | 1696 | # $(call VBOX_BLD_VM_MSG_BEGIN,FreeBSD/x86 extension packs)
|
---|
[76648] | 1697 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_X86_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.x86) all '
|
---|
[40346] | 1698 | # $(call VBOX_BLD_VM_MSG_END__,FreeBSD/x86 extension packs)
|
---|
[34625] | 1699 | #endif
|
---|
[34482] | 1700 |
|
---|
| 1701 | extpacks-build-darwin.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
| 1702 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.amd64)
|
---|
[91730] | 1703 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
[34482] | 1704 | else
|
---|
[40346] | 1705 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 extension packs)
|
---|
[75105] | 1706 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,amd64) . $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
[76648] | 1707 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'PATH=$$PATH:/opt/local/bin; cd /Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=amd64 tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all '
|
---|
[76653] | 1708 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/darwin.amd64 out/
|
---|
[40346] | 1709 | $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 extension packs)
|
---|
[34482] | 1710 | endif
|
---|
| 1711 |
|
---|
[94870] | 1712 | extpacks-build-darwin.arm64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)
|
---|
| 1713 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.arm64)
|
---|
| 1714 | + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.arm64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK)
|
---|
| 1715 | else
|
---|
| 1716 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/arm64 extension packs)
|
---|
| 1717 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,arm64) . $(VBOX_BLD_VM_DARWIN_ARM64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)
|
---|
| 1718 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_ARM64_IP) 'PATH=$$PATH:/opt/local/bin; cd /Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=arm64 tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.arm64) all '
|
---|
| 1719 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_ARM64_IP):/Users/vbox/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/darwin.arm64 out/
|
---|
| 1720 | $(call VBOX_BLD_VM_MSG_END__,Darwin/arm64 extension packs)
|
---|
| 1721 | endif
|
---|
| 1722 |
|
---|
[34482] | 1723 | extpacks-packing:
|
---|
[79896] | 1724 | if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
| 1725 | + $(KMK) VBOX_WITH_EXTPACK_OS_ARCHS="darwin.amd64 linux.amd64 linux.x86 solaris.amd64 win.amd64 win.x86" \
|
---|
| 1726 | VBOX_ONLY_EXTPACKS=1 packing
|
---|
| 1727 | else
|
---|
[94870] | 1728 | + $(KMK) VBOX_WITH_EXTPACK_OS_ARCHS="darwin.amd64 darwin.arm64 linux.amd64 solaris.amd64 win.amd64" \
|
---|
[79896] | 1729 | VBOX_ONLY_EXTPACKS=1 packing
|
---|
| 1730 | endif
|
---|
| 1731 | # +++ freebsd.amd64 ^^^
|
---|
[34482] | 1732 |
|
---|
| 1733 | .PHONY: \
|
---|
| 1734 | extpacks-build-win.x86 \
|
---|
| 1735 | extpacks-build-win.amd64 \
|
---|
| 1736 | extpacks-build-solaris.amd64 \
|
---|
| 1737 | extpacks-build-os2.x86 \
|
---|
[52628] | 1738 | extpacks-build-linux \
|
---|
[34482] | 1739 | extpacks-build-linux.amd64 \
|
---|
| 1740 | extpacks-build-linux.x86 \
|
---|
| 1741 | extpacks-build-freebsd.amd64 \
|
---|
| 1742 | extpacks-build-freebsd.x86 \
|
---|
| 1743 | extpacks-build-darwin.amd64 \
|
---|
| 1744 | extpacks-packing
|
---|
| 1745 |
|
---|
| 1746 |
|
---|
| 1747 | #
|
---|
[27014] | 1748 | # Build the test suite, all of it.
|
---|
| 1749 | #
|
---|
| 1750 | # This is currently tailored (hardcoded) for the additions build box just like
|
---|
| 1751 | # the additions build above, which it in fact is a copy of.
|
---|
| 1752 | #
|
---|
[51346] | 1753 | validationkit-fetch:
|
---|
| 1754 | + $(KMK) -C tools fetch VBOX_ONLY_VALIDATIONKIT=1
|
---|
[84953] | 1755 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1756 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1757 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=freebsd VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1758 | # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=freebsd VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1759 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=linux VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1760 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1761 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1762 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=solaris VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1763 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=solaris VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1764 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=win VBOX_ONLY_VALIDATIONKIT=1
|
---|
| 1765 | + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_VALIDATIONKIT=1
|
---|
[27014] | 1766 |
|
---|
| 1767 |
|
---|
[51346] | 1768 | validationkit-build: \
|
---|
| 1769 | validationkit-build-rsync-into-vms \
|
---|
| 1770 | validationkit-build-solaris.amd64 \
|
---|
| 1771 | validationkit-build-solaris.x86 \
|
---|
| 1772 | validationkit-build-win.x86 \
|
---|
| 1773 | validationkit-build-win.amd64 \
|
---|
| 1774 | validationkit-build-os2.x86 \
|
---|
[52851] | 1775 | validationkit-build-linux \
|
---|
[51346] | 1776 | validationkit-build-freebsd.amd64 \
|
---|
| 1777 | validationkit-build-freebsd.x86 \
|
---|
| 1778 | validationkit-build-darwin.amd64 \
|
---|
| 1779 | validationkit-build-darwin.x86
|
---|
[48962] | 1780 |
|
---|
[51346] | 1781 | validationkit-build-rsync-into-vms: \
|
---|
| 1782 | validationkit-build-solaris.rsync-into-vm \
|
---|
[52851] | 1783 | validationkit-build-os2.rsync-into-vm \
|
---|
| 1784 | validationkit-build-linux.rsync-into-vm
|
---|
[44428] | 1785 | $(call MSG_L1,Rsynced the sources + tools into the VMs.)
|
---|
[51346] | 1786 | .NOTPARALLEL: validationkit-build-rsync-into-vms
|
---|
[52852] | 1787 | .PHONY: validationkit-build-rsync-into-vms
|
---|
[27014] | 1788 |
|
---|
[48962] | 1789 |
|
---|
[51346] | 1790 | VBOX_VALIDATIONKIT_BUILD.amd64 = VBOX_ONLY_VALIDATIONKIT=1 \
|
---|
[84954] | 1791 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=amd64 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
[27014] | 1792 |
|
---|
[51346] | 1793 | VBOX_VALIDATIONKIT_BUILD.x86 = VBOX_ONLY_VALIDATIONKIT=1 \
|
---|
[84954] | 1794 | KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
[27014] | 1795 |
|
---|
[51346] | 1796 | # Automatically determine the Validation Kit build subdir name. Used for figuring
|
---|
[27014] | 1797 | # out directory names inside the test suite building VMs.
|
---|
[51346] | 1798 | VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME := $(lastword $(subst /, ,$(PATH_ROOT)))
|
---|
[27014] | 1799 |
|
---|
| 1800 | # When building in parallel on a Windows host, make sure we finish the host
|
---|
| 1801 | # bit before kicking off any UNIX guest or we'll run into file sharing issues.
|
---|
| 1802 | ifeq ($(KBUILD_TARGET),win)
|
---|
[51346] | 1803 | VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST = validationkit-build-win.x86 validationkit-build-win.amd64
|
---|
[27014] | 1804 | else
|
---|
[51346] | 1805 | VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST =
|
---|
[27014] | 1806 | endif
|
---|
| 1807 |
|
---|
[71481] | 1808 | validationkit-build-win.amd64:
|
---|
[27014] | 1809 | ifeq ($(KBUILD_TARGET),win)
|
---|
[71576] | 1810 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[27014] | 1811 | else
|
---|
[51346] | 1812 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 Validation Kit)
|
---|
[76648] | 1813 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) 'cd e:/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
[51346] | 1814 | $(call VBOX_BLD_VM_MSG_END__,Windows/amd64 Validation Kit)
|
---|
[27014] | 1815 | endif
|
---|
| 1816 |
|
---|
[51346] | 1817 | validationkit-build-win.x86:
|
---|
[27014] | 1818 | ifeq ($(KBUILD_TARGET),win)
|
---|
[71576] | 1819 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[27014] | 1820 | else
|
---|
[51346] | 1821 | $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 Validation Kit)
|
---|
[76648] | 1822 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) 'cd e:/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
[51346] | 1823 | $(call VBOX_BLD_VM_MSG_END__,Windows/x86 Validation Kit)
|
---|
[27014] | 1824 | endif
|
---|
| 1825 |
|
---|
| 1826 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
[51346] | 1827 | validationkit-build-solaris.amd64:
|
---|
[71576] | 1828 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[27014] | 1829 |
|
---|
[51346] | 1830 | validationkit-build-solaris.x86:
|
---|
[71576] | 1831 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[27014] | 1832 |
|
---|
| 1833 | else
|
---|
[51346] | 1834 | validationkit-build-solaris.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
[71576] | 1835 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) \
|
---|
[52854] | 1836 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
[52852] | 1837 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1838 | '--exclude=src/VBox/VMM/**' \
|
---|
| 1839 | . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
[27014] | 1840 |
|
---|
[51346] | 1841 | validationkit-build-solaris.build-it: validationkit-build-solaris.rsync-into-vm
|
---|
| 1842 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 Validation Kit)
|
---|
[76648] | 1843 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
[51346] | 1844 | $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 Validation Kit)
|
---|
| 1845 | $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/x86 Validation Kit)
|
---|
[76648] | 1846 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
[51346] | 1847 | $(call VBOX_BLD_VM_MSG_END__,Solaris/x86 Validation Kit)
|
---|
[27014] | 1848 |
|
---|
[51346] | 1849 | validationkit-build-solaris.rsync-out-of-vm: validationkit-build-solaris.build-it
|
---|
[76653] | 1850 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/solaris.x86 out/
|
---|
| 1851 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/solaris.amd64 out/
|
---|
[27014] | 1852 |
|
---|
[51346] | 1853 | .PHONY: validationkit-build-solaris.rsync-out-of-vm validationkit-build-solaris.rsync-into-vm validationkit-build-solaris.build-it
|
---|
[27014] | 1854 |
|
---|
[51346] | 1855 | validationkit-build-solaris.amd64: validationkit-build-solaris.rsync-out-of-vm
|
---|
| 1856 | validationkit-build-solaris.x86: validationkit-build-solaris.rsync-out-of-vm
|
---|
[27014] | 1857 | endif
|
---|
| 1858 |
|
---|
[44428] | 1859 | ifeq ($(KBUILD_TARGET),os2)
|
---|
[51346] | 1860 | validationkit-build-os2.x86:
|
---|
[71576] | 1861 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[51346] | 1862 | validationkit-build-os2.rsync-into-vm:
|
---|
[44428] | 1863 | else # !OS/2
|
---|
[51346] | 1864 | validationkit-build-os2.rsync-into-vm:
|
---|
[71575] | 1865 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
[76661] | 1866 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,nossh) \
|
---|
[52854] | 1867 | '--exclude=src/VBox/Additions/x11/**' \
|
---|
| 1868 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
[44428] | 1869 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1870 | '--exclude=src/VBox/VMM/**' \
|
---|
[51346] | 1871 | . rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
[27014] | 1872 |
|
---|
[51346] | 1873 | validationkit-build-os2.build-it: validationkit-build-os2.rsync-into-vm
|
---|
| 1874 | $(call VBOX_BLD_VM_MSG_BEGIN,OS/2 Validation Kit)
|
---|
[71576] | 1875 | $(TIME) -- $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "cd e:\\tinderbox\\$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && e: && kbuild\\bin\\os2.x86\\kmk_ash tools\\env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all"
|
---|
[51346] | 1876 | $(call VBOX_BLD_VM_MSG_END__,OS/2 Validation Kit)
|
---|
[44428] | 1877 |
|
---|
[51346] | 1878 | validationkit-build-os2.rsync-out-of-vm: validationkit-build-os2.build-it
|
---|
[71575] | 1879 | -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
|
---|
[76661] | 1880 | $(TIME) -- $(VBOX_RSYNC_NOSSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/os2.x86 ./out
|
---|
[44428] | 1881 |
|
---|
[51346] | 1882 | .PHONY: validationkit-build-os2.rsync-into-vm validationkit-build-os2.rsync-out-of-vm validationkit-build-os2.build-it
|
---|
[44428] | 1883 |
|
---|
[51346] | 1884 | validationkit-build-os2.x86: validationkit-build-os2.rsync-out-of-vm
|
---|
[44428] | 1885 | endif # !OS/2
|
---|
| 1886 |
|
---|
[52851] | 1887 | ifeq ($(KBUILD_TARGET),linux)
|
---|
| 1888 | validationkit-build-linux.amd64:
|
---|
[71576] | 1889 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[52851] | 1890 |
|
---|
| 1891 | validationkit-build-linux.x86:
|
---|
[71576] | 1892 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[52851] | 1893 |
|
---|
| 1894 | validationkit-build-linux: validationkit-build-linux.x86 validationkit-build-linux.amd64
|
---|
[27014] | 1895 | else
|
---|
[52851] | 1896 | validationkit-build-linux.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
[71576] | 1897 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) \
|
---|
[52854] | 1898 | '--exclude=src/VBox/Additions/WINNT/**' \
|
---|
[52852] | 1899 | '--exclude=src/VBox/Frontends/**' \
|
---|
| 1900 | '--exclude=src/VBox/VMM/**' \
|
---|
| 1901 | . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
[52851] | 1902 |
|
---|
| 1903 | validationkit-build-linux.build-it: validationkit-build-linux.rsync-into-vm
|
---|
[51346] | 1904 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 Validation Kit)
|
---|
[76648] | 1905 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all " '
|
---|
[51346] | 1906 | $(call VBOX_BLD_VM_MSG_END__,Linux/amd64 Validation Kit)
|
---|
| 1907 | $(call VBOX_BLD_VM_MSG_BEGIN,Linux/x86 Validation Kit)
|
---|
[76648] | 1908 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'linux32 dchroot -c rhel3-i386 "cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all " '
|
---|
[51346] | 1909 | $(call VBOX_BLD_VM_MSG_END__,Linux/x86 Validation Kit)
|
---|
[52851] | 1910 |
|
---|
| 1911 | validationkit-build-linux.rsync-out-of-vm: validationkit-build-linux.build-it
|
---|
[76653] | 1912 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/linux.x86 out/
|
---|
| 1913 | $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/linux.amd64 out/
|
---|
[52851] | 1914 |
|
---|
| 1915 | .PHONY: validationkit-build-linux.rsync-out-of-vm validationkit-build-linux.rsync-into-vm validationkit-build-linux.build-it
|
---|
| 1916 |
|
---|
| 1917 | validationkit-build-linux: validationkit-build-linux.rsync-out-of-vm
|
---|
[27014] | 1918 | endif
|
---|
| 1919 |
|
---|
[51346] | 1920 | validationkit-build-freebsd.amd64: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
[34625] | 1921 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.amd64)
|
---|
[71576] | 1922 | # + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[34625] | 1923 | #else
|
---|
[51346] | 1924 | # $(call VBOX_BLD_VM_MSG_BEGIN,Freebsd/amd64 Validation Kit)
|
---|
[76648] | 1925 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_AMD64_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
[51346] | 1926 | # $(call VBOX_BLD_VM_MSG_END__,Freebsd/amd64 Validation Kit)
|
---|
[34625] | 1927 | #endif
|
---|
[27014] | 1928 |
|
---|
[51346] | 1929 | validationkit-build-freebsd.x86: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
[34625] | 1930 | #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.x86)
|
---|
[71576] | 1931 | # + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[34625] | 1932 | #else
|
---|
[51346] | 1933 | # $(call VBOX_BLD_VM_MSG_BEGIN,Freebsd/x86 Validation Kit)
|
---|
[76648] | 1934 | # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_FBSD_X86_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
[51346] | 1935 | # $(call VBOX_BLD_VM_MSG_END__,Freebsd/x86 Validation Kit)
|
---|
[34625] | 1936 | #endif
|
---|
| 1937 |
|
---|
[51346] | 1938 | validationkit-build-darwin.amd64: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
[34625] | 1939 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.amd64)
|
---|
[71576] | 1940 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[34625] | 1941 | else
|
---|
[51346] | 1942 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 Validation Kit)
|
---|
[71576] | 1943 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,amd64) . $(VBOX_BLD_VM_DARWIN_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
[76648] | 1944 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all '
|
---|
[76653] | 1945 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/darwin.amd64 out/
|
---|
[51346] | 1946 | $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 Validation Kit)
|
---|
[34625] | 1947 | endif
|
---|
| 1948 |
|
---|
[51346] | 1949 | validationkit-build-darwin.x86: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
|
---|
[34625] | 1950 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.x86)
|
---|
[71576] | 1951 | + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
|
---|
[34625] | 1952 | else
|
---|
[51346] | 1953 | $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/x86 Validation Kit)
|
---|
[71576] | 1954 | $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,x86) . $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
|
---|
[76648] | 1955 | $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all '
|
---|
[76653] | 1956 | $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/darwin.x86 out/
|
---|
[51346] | 1957 | $(call VBOX_BLD_VM_MSG_END__,Darwin/x86 Validation Kit)
|
---|
[34625] | 1958 | endif
|
---|
| 1959 |
|
---|
| 1960 |
|
---|
[51346] | 1961 | validationkit-packing:
|
---|
| 1962 | + $(KMK) VBOX_ONLY_VALIDATIONKIT=1 \
|
---|
| 1963 | VBOX_WITH_VALIDATIONKIT_PACKING.darwin.amd64=1 \
|
---|
| 1964 | VBOX_WITH_VALIDATIONKIT_PACKING.darwin.x86=2 \
|
---|
| 1965 | VBOX_WITH_VALIDATIONKIT_PACKING.freebsd.amd64= \
|
---|
| 1966 | VBOX_WITH_VALIDATIONKIT_PACKING.freebsd.x86= \
|
---|
| 1967 | VBOX_WITH_VALIDATIONKIT_PACKING.linux.amd64=1 \
|
---|
| 1968 | VBOX_WITH_VALIDATIONKIT_PACKING.linux.x86=1 \
|
---|
| 1969 | VBOX_WITH_VALIDATIONKIT_PACKING.os2.x86=1 \
|
---|
| 1970 | VBOX_WITH_VALIDATIONKIT_PACKING.solaris.amd64=1 \
|
---|
| 1971 | VBOX_WITH_VALIDATIONKIT_PACKING.solaris.x86=1 \
|
---|
| 1972 | VBOX_WITH_VALIDATIONKIT_PACKING.win.amd64=1 \
|
---|
| 1973 | VBOX_WITH_VALIDATIONKIT_PACKING.win.x86=1 \
|
---|
[51348] | 1974 | -C src/VBox/ValidationKit \
|
---|
[51368] | 1975 | $(PATH_OUT)/VBoxValidationKit.zip \
|
---|
[43633] | 1976 | $(PATH_OUT)/VBoxTestBoxScript.zip
|
---|
[27014] | 1977 |
|
---|
| 1978 | .PHONY: \
|
---|
[51346] | 1979 | validationkit-build-win.x86 \
|
---|
| 1980 | validationkit-build-win.amd64 \
|
---|
| 1981 | validationkit-build-solaris.amd64 \
|
---|
| 1982 | validationkit-build-solaris.x86 \
|
---|
| 1983 | validationkit-build-os2.x86 \
|
---|
[52851] | 1984 | validationkit-build-linux \
|
---|
[51346] | 1985 | validationkit-build-linux.amd64 \
|
---|
| 1986 | validationkit-build-linux.x86 \
|
---|
| 1987 | validationkit-build-freebsd.amd64 \
|
---|
| 1988 | validationkit-build-freebsd.x86 \
|
---|
| 1989 | validationkit-build-darwin.amd64 \
|
---|
| 1990 | validationkit-build-darwin.x86 \
|
---|
| 1991 | validationkit-packing
|
---|
[27014] | 1992 |
|
---|
| 1993 |
|
---|
| 1994 | #
|
---|
[23618] | 1995 | # Build the EFI firmware, all of it.
|
---|
| 1996 | #
|
---|
| 1997 | efi-fetch:
|
---|
[48584] | 1998 | + $(KMK) -C tools fetch VBOX_ONLY_EXTPACKS=1
|
---|
[23618] | 1999 |
|
---|
| 2000 | efi-build: $(VBOX_VERSION_HEADER)
|
---|
[85788] | 2001 | + $(KMK) -C src/VBox/Devices/EFI/Firmware$(VBOX_EFI_FIRMWARE_SUFFIX)
|
---|
[23618] | 2002 |
|
---|
| 2003 | efi-packing:
|
---|
[85788] | 2004 | + $(KMK) -C src/VBox/Devices/EFI/Firmware$(VBOX_EFI_FIRMWARE_SUFFIX) $(PATH_STAGE)/VBoxEfiFirmware.zip
|
---|
[23618] | 2005 |
|
---|
[58528] | 2006 |
|
---|
[23618] | 2007 | #
|
---|
[75098] | 2008 | # Generate VirtualBox-x.x.x.zip (PUEL) snapshot archive for internal use only
|
---|
[19162] | 2009 | # - includes kBuild
|
---|
[19594] | 2010 | # - must be executed on an PUEL checkout
|
---|
[19162] | 2011 | #
|
---|
| 2012 |
|
---|
| 2013 | # the path where to store the zip archive
|
---|
| 2014 | ZIPPATH ?= $(abspath $(PATH_ROOT)/..)
|
---|
| 2015 | # the root directory inside the zip archive
|
---|
| 2016 | ZIPROOT ?= VirtualBox-$(VBOX_VERSION_STRING)
|
---|
| 2017 | # the name of the zip archive
|
---|
| 2018 | ZIPNAME ?= VirtualBox-$(VBOX_VERSION_STRING).zip
|
---|
| 2019 | snapshot-puel:
|
---|
| 2020 | @$(call MSG_L1,Creating zip $(ZIPPATH)/$(ZIPNAME))
|
---|
[31889] | 2021 | @if [ ! -r "$(PATH_ROOT)/src/VBox/RDP/server/server.cpp" ]; then \
|
---|
[19162] | 2022 | echo; \
|
---|
[31889] | 2023 | echo "Did not find RDP stuff, is this an OSE branch?"; \
|
---|
[19162] | 2024 | echo; \
|
---|
| 2025 | exit 1; \
|
---|
| 2026 | fi
|
---|
[19163] | 2027 | @if [ -z "$(PASSWORD)" ]; then \
|
---|
[19162] | 2028 | echo; \
|
---|
| 2029 | echo "Please specify a password with PASSWORD=..."; \
|
---|
| 2030 | echo; \
|
---|
| 2031 | exit 1; \
|
---|
| 2032 | fi
|
---|
| 2033 | $(QUIET)$(MKDIR) -p $(ZIPPATH)
|
---|
| 2034 | $(QUIET)$(RM) -f $(ZIPPATH)/$(ZIPROOT)
|
---|
[19683] | 2035 | $(QUIET)$(RM) -f $(ZIPPATH)/$(ZIPNAME)
|
---|
[19162] | 2036 | $(QUIET)$(LN_SYMLINK) $(PATH_ROOT) $(ZIPPATH)/$(ZIPROOT)
|
---|
| 2037 | $(QUIET)(cd $(ZIPPATH); 7z a \
|
---|
| 2038 | -l -tzip -mmt=on -mx=7 -p$(PASSWORD) \
|
---|
| 2039 | -xr!.svn \
|
---|
[19683] | 2040 | -i!$(ZIPROOT)/Config.kmk \
|
---|
| 2041 | -i!$(ZIPROOT)/Doxyfile.Core \
|
---|
| 2042 | -i!$(ZIPROOT)/Makefile.kmk \
|
---|
| 2043 | -i!$(ZIPROOT)/configure \
|
---|
| 2044 | -i!$(ZIPROOT)/configure.vbs \
|
---|
| 2045 | -i!$(ZIPROOT)/doc \
|
---|
| 2046 | -i!$(ZIPROOT)/include \
|
---|
| 2047 | -i!$(ZIPROOT)/kBuild \
|
---|
| 2048 | -i!$(ZIPROOT)/src \
|
---|
| 2049 | -i!$(ZIPROOT)/tools/env.sh \
|
---|
| 2050 | -i!$(ZIPROOT)/tools/linux.x86/bin/* \
|
---|
| 2051 | -i!$(ZIPROOT)/tools/linux.amd64/bin/* \
|
---|
[19162] | 2052 | -x!$(ZIPROOT)/doc/Devices \
|
---|
| 2053 | -x!$(ZIPROOT)/doc/\*pdf \
|
---|
| 2054 | -x!$(ZIPROOT)/doc/VMM \
|
---|
| 2055 | -x!$(ZIPROOT)/doc/licenses_old \
|
---|
| 2056 | -x!$(ZIPROOT)/doc/manual/de_DE \
|
---|
| 2057 | -x!$(ZIPROOT)/doc/manual/fr_FR \
|
---|
| 2058 | -x!$(ZIPROOT)/src/tests \
|
---|
[23030] | 2059 | -x!$(ZIPROOT)/src/VBox/Artwork/2008-\* \
|
---|
[19162] | 2060 | -x!$(ZIPROOT)/src/VBox/Installer/AMI \
|
---|
| 2061 | -x!$(ZIPROOT)/src/VBox/Installer/Avanquest \
|
---|
| 2062 | -x!$(ZIPROOT)/src/VBox/Installer/Encore \
|
---|
| 2063 | -x!$(ZIPROOT)/src/VBox/Installer/linux/debian \
|
---|
| 2064 | -x!$(ZIPROOT)/src/VBox/Installer/linux/rpm \
|
---|
[19683] | 2065 | $(ZIPPATH)/$(ZIPNAME))
|
---|
[19162] | 2066 | $(QUIET)$(RM) $(ZIPPATH)/$(ZIPROOT)
|
---|
| 2067 |
|
---|
| 2068 |
|
---|
| 2069 | #
|
---|
[75098] | 2070 | # Generate VirtualBox-x.x.x.tar.bz2 (OSE) snapshot archive
|
---|
| 2071 | # - includes kBuild
|
---|
| 2072 | #
|
---|
| 2073 |
|
---|
| 2074 | snapshot-ose:
|
---|
| 2075 | ifndef VBOX_OSE
|
---|
[75404] | 2076 | $(QUIET)$(RM) -Rf $(wildcard $(PATH_OUT)/vbox-ose-snap-*) $(wildcard $(PATH_OUT)/VirtualBox-*.tar.bz2)
|
---|
[75098] | 2077 | $(call MSG_L1,Making OSE snapshot at $(PATH_OUT)/vbox-ose-snap-$(VBOX_VERSION_STRING))
|
---|
[85654] | 2078 | $(KBUILD_DEVTOOLS)/bin/ose-snapshot.sh $(PATH_OUT)/vbox-ose-snap-$(VBOX_VERSION_STRING)
|
---|
[75404] | 2079 | $(call MSG_L1,Creating OSE tarball $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2)
|
---|
[75098] | 2080 | $(REDIRECT) -C $(PATH_OUT)/vbox-ose-snap-$(VBOX_VERSION_STRING) -- \
|
---|
[85654] | 2081 | $(KBUILD_DEVTOOLS)/bin/ose-tarball.sh $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2
|
---|
[75098] | 2082 | else
|
---|
[75404] | 2083 | $(QUIET)$(RM) $(wildcard $(PATH_OUT)/VirtualBox-*.tar.bz2)
|
---|
| 2084 | $(call MSG_L1,Creating OSE tarball $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2)
|
---|
[75098] | 2085 | $(REDIRECT) -C $(PATH_ROOT) -- \
|
---|
[85654] | 2086 | $(KBUILD_DEVTOOLS)/bin/ose-tarball.sh $(PATH_OUT)/VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).tar.bz2
|
---|
[75098] | 2087 | endif
|
---|
| 2088 |
|
---|
| 2089 |
|
---|
| 2090 | #
|
---|
[16532] | 2091 | # Generate ALL the rules.
|
---|
| 2092 | #
|
---|
[41477] | 2093 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
[16532] | 2094 |
|
---|
| 2095 |
|
---|
| 2096 | #
|
---|
| 2097 | # Generate x86.mac and err.mac.
|
---|
| 2098 | #
|
---|
| 2099 | incs:
|
---|
[30724] | 2100 | $(SED) -f include/VBox/err.sed --output include/VBox/err.mac include/VBox/err.h
|
---|
[16532] | 2101 | $(APPEND) include/VBox/err.mac '%include "iprt/err.mac"'
|
---|
[30724] | 2102 | $(SED) -f include/VBox/err.sed --output include/iprt/err.mac include/iprt/err.h
|
---|
[37955] | 2103 | $(SED) -f include/VBox/various.sed --output include/iprt/x86.mac include/iprt/x86.h
|
---|
[75238] | 2104 | $(SED) -f include/VBox/various.sed --output include/iprt/formats/dwarf.mac include/iprt/formats/dwarf.h
|
---|
[40138] | 2105 | $(APPEND) include/iprt/x86.mac '%include "iprt/x86extra.mac"'
|
---|
[34113] | 2106 | $(SED) -f include/VBox/various.sed --output include/VBox/apic.mac include/VBox/apic.h
|
---|
[66149] | 2107 | $(SED) -f include/VBox/various.sed --output include/VBox/bios.mac include/VBox/bios.h
|
---|
[30724] | 2108 | $(SED) -f include/VBox/various.sed --output include/VBox/param.mac include/VBox/param.h
|
---|
| 2109 | $(SED) -f include/VBox/various.sed --output include/VBox/VMMDevTesting.mac include/VBox/VMMDevTesting.h
|
---|
[96811] | 2110 | $(SED) -f include/VBox/various.sed --output include/VBox/vmm/cpuidcall.mac include/VBox/vmm/cpuidcall.h
|
---|
[16532] | 2111 |
|
---|
| 2112 |
|
---|
| 2113 | #
|
---|
[39396] | 2114 | # Legacy.
|
---|
[16532] | 2115 | #
|
---|
[39396] | 2116 | vslick.h:
|
---|
| 2117 | $(ECHO) This is now done by gen-slickedit-workspace.sh/cmd.
|
---|
| 2118 | exit 1
|
---|
[16532] | 2119 |
|
---|
| 2120 |
|
---|
| 2121 | #
|
---|
| 2122 | # Add fetching of the tools to the 'up[date][2]' targets.
|
---|
| 2123 | #
|
---|
| 2124 | up update up2 update2::
|
---|
| 2125 | ifndef VBOX_OSE
|
---|
| 2126 | +$(MAKE) -C tools fetch
|
---|
| 2127 | else
|
---|
| 2128 | $(MAKE) -C tools -f Makefile-ose.kmk fetch
|
---|
| 2129 | endif
|
---|
| 2130 |
|
---|
| 2131 |
|
---|
| 2132 | #
|
---|
| 2133 | # Aliases for building the SDK.
|
---|
| 2134 | #
|
---|
| 2135 | .NOTPARALLEL: sdk sdk-fetch
|
---|
| 2136 | sdk:
|
---|
| 2137 | + $(KMK) VBOX_ONLY_SDK=1 \
|
---|
| 2138 | pass_bldprogs pass_others pass_installs pass_packing
|
---|
| 2139 |
|
---|
| 2140 | sdk-fetch:
|
---|
[42307] | 2141 | + $(KMK) VBOX_ONLY_SDK=1 -C tools
|
---|
[16532] | 2142 |
|
---|
[66918] | 2143 |
|
---|
| 2144 | #
|
---|
| 2145 | # Build the essentials to run a VM. Incomplete. Use with care!
|
---|
| 2146 | #
|
---|
| 2147 | quick: \
|
---|
| 2148 | VBoxRT \
|
---|
| 2149 | VBoxVMM \
|
---|
| 2150 | VMMR0 \
|
---|
| 2151 | VBoxDD \
|
---|
| 2152 | VBoxDDR0 \
|
---|
| 2153 | VBoxDD2 \
|
---|
| 2154 | VBoxDD2R0 \
|
---|
| 2155 | VBoxC \
|
---|
| 2156 | VBoxSVC \
|
---|
| 2157 | $(if-expr defined(VBOX_WITH_RAW_MODE),VMMRC VBoxDDRC VBoxDD2RC,) \
|
---|
| 2158 | $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win",VBoxProxyStub,) \
|
---|
| 2159 | $(if-expr defined(VBOX_WITH_SDS),VBoxSDS,) \
|
---|
| 2160 | $(if-expr defined(VBOX_WITH_QTGUI),VirtualBox,)
|
---|