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