Changeset 98408 in vbox for trunk/Makefile.kmk
- Timestamp:
- Feb 1, 2023 4:13:24 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.kmk
r98103 r98408 33 33 # 34 34 ifndef VBOX_ONLY_ROOT_MAKEFILE 35 if (defined(VBOX_WITH_DOCS) || defined(VBOX_WITH_MAIN)) \36 && (!defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)) \37 && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""35 if (defined(VBOX_WITH_DOCS) || defined(VBOX_WITH_MAIN)) \ 36 && (!defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)) \ 37 && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != "" 38 38 include $(PATH_SUB_CURRENT)/doc/manual/Makefile.kmk 39 39 endif … … 74 74 75 75 76 if !defined(VBOX_ONLY_ADDITIONS) \77 && !defined(VBOX_ONLY_DOCS) \78 && !defined(VBOX_ONLY_EXTPACKS) \79 && !defined(VBOX_ONLY_VALIDATIONKIT) # -> line 426b ;-)76 if !defined(VBOX_ONLY_ADDITIONS) \ 77 && !defined(VBOX_ONLY_DOCS) \ 78 && !defined(VBOX_ONLY_EXTPACKS) \ 79 && !defined(VBOX_ONLY_VALIDATIONKIT) # -> line 426b ;-) 80 80 81 81 if !defined(VBOX_OSE) && defined(VBOX_LICENSE_FILES) … … 89 89 InstallLicenseFiles_SOURCES += \ 90 90 $(VBOX_BRAND_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER).html \ 91 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES),$(VBOX_BRAND_$(f)_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER)-$(f).html)91 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES),$(VBOX_BRAND_$(f)_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER)-$(f).html) 92 92 endif 93 93 94 94 95 # 96 # Install external binaries (mostly redistributable parts of tools we use). 97 # 98 # To avoid dragging in unnecessary tools and sdks here, we don't use the .win 99 # and .linux property suffixes. 100 # 101 INSTALLS += InstallExternalLibs 102 103 InstallExternalLibs_INST = $(INST_BIN) 104 105 # The SDL DLLs 106 if1of ($(KBUILD_TARGET), win os2) 107 ifdef VBOX_WITH_VBOXSDL 108 include $(KBUILD_PATH)/sdks/LIBSDL.kmk 109 InstallExternalLibs_SOURCES += \ 110 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDL)) 111 ifdef VBOX_WITH_SECURELABEL 95 # 96 # Install external binaries (mostly redistributable parts of tools we use). 97 # 98 # To avoid dragging in unnecessary tools and sdks here, we don't use the .win 99 # and .linux property suffixes. 100 # 101 INSTALLS += InstallExternalLibs 102 103 InstallExternalLibs_INST = $(INST_BIN) 104 105 # The SDL DLLs 106 if1of ($(KBUILD_TARGET), win os2) 107 ifdef VBOX_WITH_VBOXSDL 108 include $(KBUILD_PATH)/sdks/LIBSDL.kmk 112 109 InstallExternalLibs_SOURCES += \ 113 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDLTTF)) 114 endif 115 ifeq ($(KBUILD_TARGET),os2) 116 InstallExternalLibs_SOURCES += \ 117 $(DLL_SDK_LIBSDL_FSLIB) 118 endif 119 endif 120 endif 121 122 123 # The compiler runtime DLLs. 124 ifeq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COMPILER_REDIST),win.) 125 ifndef TOOL_$(VBOX_VCC_TOOL) 126 include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk 127 endif 128 ifndef TOOL_$(VBOX_VCC_TOOL_STEM)X86 129 include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL_STEM)X86.kmk 130 endif 131 ifdef PATH_TOOL_$(VBOX_VCC_TOOL_STEM)_REDIST 132 InstallExternalLibs_SOURCES += \ 133 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT)/), \ 134 $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)) \ 135 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \ 136 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll))) 137 ifdef VBOX_WITH_32_ON_64_MAIN_API 138 InstallExternalLibs_SOURCES += \ 139 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT)/), \ 140 $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)) \ 141 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll))) 142 endif 143 ifeq ($(VBOX_VCC_CRT_TYPE),d) 144 InstallExternalLibs_SOURCES += \ 145 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_DEBUG_CRT)/), \ 146 $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)))) \ 147 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \ 148 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll))) 149 ifdef VBOX_WITH_32_ON_64_MAIN_API 150 InstallExternalLibs_SOURCES += \ 151 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_DEBUG_CRT)/), \ 152 $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)))) \ 153 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll))) 110 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDL)) 111 ifdef VBOX_WITH_SECURELABEL 112 InstallExternalLibs_SOURCES += \ 113 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(DLL_SDK_LIBSDL_SDLTTF)) 154 114 endif 155 endif 156 ifeq ($(KBUILD_TYPE),asan) 157 ifeq ($(KBUILD_TARGET_ARCH),amd64) 158 InstallExternalLibs_SOURCES += \ 159 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll) \ 160 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dynamic-x86_64.dll 161 ifeq ($(VBOX_VCC_CRT_TYPE),d) 162 InstallExternalLibs_SOURCES += \ 163 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll) \ 164 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dbg_dynamic-x86_64.dll 165 endif 166 endif 167 ifeq ($(KBUILD_TARGET_ARCH),x86) 168 InstallExternalLibs_SOURCES += \ 169 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll) \ 170 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll)=>testcase/clang_rt.asan_dynamic-i386.dll 171 ifeq ($(VBOX_VCC_CRT_TYPE),d) 172 InstallExternalLibs_SOURCES += \ 173 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll) \ 174 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll)=>testcase/clang_rt.asan_dbg_dynamic-i386.dll 175 endif 176 endif 177 ifdef VBOX_WITH_32_ON_64_MAIN_API 178 InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dynamic-i386.dll 179 ifeq ($(VBOX_VCC_CRT_TYPE),d) 180 InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dbg_dynamic-i386.dll 181 endif 182 endif 183 endif 184 else 185 VBOX_VCC_REDIR_BASE := Microsoft.VC$(substr $(VBOX_VCC_TOOL),4,3) 186 VBOX_PATH_VCC_REDIST = $(PATH_TOOL_$(VBOX_VCC_TOOL))/redist/ 187 VBOX_PATH_VCC_REDIST_CRT = $(VBOX_PATH_VCC_REDIST)/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).CRT 188 VBOX_PATH_VCC_REDIST_CRT_DBG = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).DebugCRT 189 VBOX_PATH_VCC_REDIST_CRT_X86 = $(VBOX_PATH_VCC_REDIST)/x86/$(VBOX_VCC_REDIR_BASE).CRT 190 VBOX_PATH_VCC_REDIST_CRT_DBG_X86 = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/x86/$(VBOX_VCC_REDIR_BASE).DebugCRT 191 192 InstallExternalLibs_SOURCES += \ 193 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \ 194 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \ 195 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \ 196 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll 197 ifdef VBOX_WITH_32_ON_64_MAIN_API 198 InstallExternalLibs_SOURCES += \ 199 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \ 200 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll 201 endif 202 ifeq ($(VBOX_VCC_CRT_TYPE),d) 203 InstallExternalLibs_SOURCES += \ 204 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \ 205 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \ 206 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \ 207 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll 208 ifdef VBOX_WITH_32_ON_64_MAIN_API 209 InstallExternalLibs_SOURCES += \ 210 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \ 211 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll 115 ifeq ($(KBUILD_TARGET),os2) 116 InstallExternalLibs_SOURCES += \ 117 $(DLL_SDK_LIBSDL_FSLIB) 212 118 endif 213 119 endif 214 120 endif 215 endif 216 217 # 218 # Install our Qt DLLs / Shared Objects / Frameworks. 219 # Note: The installer fixes the darwin .dylibs when hardening is enabled. 220 # Note: Contents/Info.plist is where it's in 4.7.x, not sure if the location is kosher... According to 221 # https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html 222 # the Info.plist file goes into Resources. 223 # 224 ifeq ($(KBUILD_TARGET),darwin) 225 ifdef VBOX_WITH_QT6 226 include $(KBUILD_PATH)/units/qt6.kmk 227 VBOX_QT_FWRK_VER = A 228 VBOX_QT_PATH = $(PATH_SDK_QT6) 229 VBOX_QT_PATH_LIB = $(PATH_SDK_QT6_LIB) 230 else 231 include $(KBUILD_PATH)/units/qt5.kmk 232 VBOX_QT_FWRK_VER = 5 233 VBOX_QT_PATH = $(PATH_SDK_QT5) 234 VBOX_QT_PATH_LIB = $(PATH_SDK_QT5_LIB) 235 endif 236 ifdef VBOX_WITH_QTGUI 237 INSTALLS += qt5-bin 238 endif 239 qt5-bin_INST = $(INST_VIRTUALBOX)Contents/ 240 qt5-bin_EXEC_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ 241 $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)) 242 qt5-bin_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ 243 $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist) 244 ifdef VBOX_WITH_QT_DSYMS 245 qt5-bin_SOURCES += $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ 246 $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Info.plist=>Frameworks/$(qtmod).framework.dSYM/Contents/Info.plist \ 247 $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)=>Frameworks/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)) 248 endif 249 qt5-bin_EXEC_SOURCES += \ 250 $(VBOX_QT_PATH)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \ 251 $(VBOX_QT_PATH)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \ 252 $(VBOX_QT_PATH)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL) \ 253 $(VBOX_QT_PATH)/plugins/sqldrivers/libqsqlite$(SUFF_DLL)=>plugins/sqldrivers/libqsqlite$(SUFF_DLL) \ 254 $(VBOX_QT_PATH)/plugins/styles/libqmacstyle$(SUFF_DLL)=>plugins/styles/libqmacstyle$(SUFF_DLL) 255 ifdef VBOX_WITH_QT_DSYMS 256 qt5-bin_SOURCES += $(foreach qtplat, libqcocoa libqminimal libqoffscreen, \ 257 $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist \ 258 $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)) 259 qt5-bin_SOURCES += $(foreach qtsqldrv, libqsqlite, \ 260 $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist \ 261 $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL)=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL)) 262 qt5-bin_SOURCES += $(foreach qtstyl, libqmacstyle, \ 263 $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist \ 264 $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL)=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL)) 265 endif 266 qt5-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \ 267 Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_FWRK_VER) \ 268 Frameworks/$(qtmod).framework/$(qtmod)=>Versions/$(VBOX_QT_FWRK_VER)/$(qtmod) \ 269 Frameworks/$(qtmod).framework/Resources=>Versions/$(VBOX_QT_FWRK_VER)/Resources) 270 qt5-bin_INSTALLER = $(INSTALL) $(if $(uid),-o $(uid)) $(if $(gid),-g $(gid)) $(if $(mode),-m $(mode)) $(4) -- \ 271 "$(1)" "$(2)" $(if-expr "$(source_type_prefix)" == "EXEC_" \ 272 ,$(NLTAB)install_name_tool \ 273 $(if-expr "$(suffix $2)" == "", -id "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Framework,@rpath)/$(notdir $(2)).framework/Version/$(VBOX_QT_FWRK_VER)/$(notdir $(2))",) \ 274 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \ 275 $(foreach prefix, @executable_path/../Frameworks/ $(VBOX_PATH_QT)/Frameworks/ $(VBOX_QT_PATH)/, \ 276 -change "$(prefix)$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" \ 277 "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Frameworks,@rpath)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" ) ) \ 278 "$(2)",) # HACK ALERT! Using $(source_type_prefix) to detect EXEC_SOURCES. 279 else # win x11 280 if1of ($(KBUILD_TARGET), linux solaris) 281 if !defined(VBOX_ONLY_BUILD) && defined(VBOX_WITH_QTGUI) 282 ifneq ($(VBOX_GCC_VERSION_CXX),) 283 if $(VBOX_GCC_VERSION_CXX) < 40400 284 $(error gcc >= 4.4 required when compiling against Qt5!) 121 122 123 # The compiler runtime DLLs. 124 ifeq ($(KBUILD_TARGET).$(VBOX_WITHOUT_COMPILER_REDIST),win.) 125 ifndef TOOL_$(VBOX_VCC_TOOL) 126 include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk 127 endif 128 ifndef TOOL_$(VBOX_VCC_TOOL_STEM)X86 129 include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL_STEM)X86.kmk 130 endif 131 ifdef PATH_TOOL_$(VBOX_VCC_TOOL_STEM)_REDIST 132 InstallExternalLibs_SOURCES += \ 133 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT)/), \ 134 $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)) \ 135 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \ 136 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll))) 137 ifdef VBOX_WITH_32_ON_64_MAIN_API 138 InstallExternalLibs_SOURCES += \ 139 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT)/), \ 140 $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)) \ 141 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll))) 142 endif 143 ifeq ($(VBOX_VCC_CRT_TYPE),d) 144 InstallExternalLibs_SOURCES += \ 145 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL)_REDIST_DEBUG_CRT)/), \ 146 $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS)))) \ 147 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll)) \ 148 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll))=>testcase/$(qnotdir ,$(redistdll))) 149 ifdef VBOX_WITH_32_ON_64_MAIN_API 150 InstallExternalLibs_SOURCES += \ 151 $(foreachfile redistdll, $(qaddprefix ,$(requote unq,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_DEBUG_CRT)/), \ 152 $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)))) \ 153 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll))) 154 endif 155 endif 156 ifeq ($(KBUILD_TYPE),asan) 157 ifeq ($(KBUILD_TARGET_ARCH),amd64) 158 InstallExternalLibs_SOURCES += \ 159 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll) \ 160 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dynamic-x86_64.dll 161 ifeq ($(VBOX_VCC_CRT_TYPE),d) 162 InstallExternalLibs_SOURCES += \ 163 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll) \ 164 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dbg_dynamic-x86_64.dll 165 endif 166 endif 167 ifeq ($(KBUILD_TARGET_ARCH),x86) 168 InstallExternalLibs_SOURCES += \ 169 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll) \ 170 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll)=>testcase/clang_rt.asan_dynamic-i386.dll 171 ifeq ($(VBOX_VCC_CRT_TYPE),d) 172 InstallExternalLibs_SOURCES += \ 173 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll) \ 174 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll)=>testcase/clang_rt.asan_dbg_dynamic-i386.dll 175 endif 176 endif 177 ifdef VBOX_WITH_32_ON_64_MAIN_API 178 InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dynamic-i386.dll 179 ifeq ($(VBOX_VCC_CRT_TYPE),d) 180 InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dbg_dynamic-i386.dll 181 endif 182 endif 183 endif 184 else 185 VBOX_VCC_REDIR_BASE := Microsoft.VC$(substr $(VBOX_VCC_TOOL),4,3) 186 VBOX_PATH_VCC_REDIST = $(PATH_TOOL_$(VBOX_VCC_TOOL))/redist/ 187 VBOX_PATH_VCC_REDIST_CRT = $(VBOX_PATH_VCC_REDIST)/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).CRT 188 VBOX_PATH_VCC_REDIST_CRT_DBG = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/$(VBOX_VCC_REDIR_BASE).DebugCRT 189 VBOX_PATH_VCC_REDIST_CRT_X86 = $(VBOX_PATH_VCC_REDIST)/x86/$(VBOX_VCC_REDIR_BASE).CRT 190 VBOX_PATH_VCC_REDIST_CRT_DBG_X86 = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/x86/$(VBOX_VCC_REDIR_BASE).DebugCRT 191 192 InstallExternalLibs_SOURCES += \ 193 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \ 194 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll) \ 195 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \ 196 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll 197 ifdef VBOX_WITH_32_ON_64_MAIN_API 198 InstallExternalLibs_SOURCES += \ 199 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4).dll \ 200 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4).dll 201 endif 202 ifeq ($(VBOX_VCC_CRT_TYPE),d) 203 InstallExternalLibs_SOURCES += \ 204 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \ 205 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll) \ 206 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \ 207 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG)/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll)=>testcase/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll 208 ifdef VBOX_WITH_32_ON_64_MAIN_API 209 InstallExternalLibs_SOURCES += \ 210 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcr$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcr$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll \ 211 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(VBOX_PATH_VCC_REDIST_CRT_DBG_X86)/msvcp$(substr $(VBOX_VCC_TOOL_STEM)d,4).dll,x86_)=>x86/msvcp$(substr $(VBOX_VCC_TOOL_STEM),4)d.dll 285 212 endif 286 213 endif 287 214 endif 288 215 endif 289 if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD) 290 include $(KBUILD_PATH)/units/qt5.kmk 291 ifeq ($(KBUILD_TARGET),win) 292 ifdef VBOX_WITH_QTGUI 293 INSTALLS += qt5-bin 216 217 # 218 # Install our Qt DLLs / Shared Objects / Frameworks. 219 # Note: The installer fixes the darwin .dylibs when hardening is enabled. 220 # Note: Contents/Info.plist is where it's in 4.7.x, not sure if the location is kosher... According to 221 # https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html 222 # the Info.plist file goes into Resources. 223 # 224 ifeq ($(KBUILD_TARGET),darwin) 225 ifdef VBOX_WITH_QT6 226 include $(KBUILD_PATH)/units/qt6.kmk 227 VBOX_QT_FWRK_VER = A 228 VBOX_QT_PATH = $(PATH_SDK_QT6) 229 VBOX_QT_PATH_LIB = $(PATH_SDK_QT6_LIB) 230 else 231 include $(KBUILD_PATH)/units/qt5.kmk 232 VBOX_QT_FWRK_VER = 5 233 VBOX_QT_PATH = $(PATH_SDK_QT5) 234 VBOX_QT_PATH_LIB = $(PATH_SDK_QT5_LIB) 235 endif 236 ifdef VBOX_WITH_QTGUI 237 INSTALLS += qt5-bin 238 endif 239 qt5-bin_INST = $(INST_VIRTUALBOX)Contents/ 240 qt5-bin_EXEC_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ 241 $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)) 242 qt5-bin_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ 243 $(VBOX_QT_PATH_LIB)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/Resources/Info.plist) 244 ifdef VBOX_WITH_QT_DSYMS 245 qt5-bin_SOURCES += $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \ 246 $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Info.plist=>Frameworks/$(qtmod).framework.dSYM/Contents/Info.plist \ 247 $(VBOX_QT_PATH_LIB)/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)=>Frameworks/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)) 248 endif 249 qt5-bin_EXEC_SOURCES += \ 250 $(VBOX_QT_PATH)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \ 251 $(VBOX_QT_PATH)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \ 252 $(VBOX_QT_PATH)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL) \ 253 $(VBOX_QT_PATH)/plugins/sqldrivers/libqsqlite$(SUFF_DLL)=>plugins/sqldrivers/libqsqlite$(SUFF_DLL) \ 254 $(VBOX_QT_PATH)/plugins/styles/libqmacstyle$(SUFF_DLL)=>plugins/styles/libqmacstyle$(SUFF_DLL) 255 ifdef VBOX_WITH_QT_DSYMS 256 qt5-bin_SOURCES += $(foreach qtplat, libqcocoa libqminimal libqoffscreen, \ 257 $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist \ 258 $(VBOX_QT_PATH)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)) 259 qt5-bin_SOURCES += $(foreach qtsqldrv, libqsqlite, \ 260 $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Info.plist \ 261 $(VBOX_QT_PATH)/plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL)=>plugins/sqldrivers/$(qtsqldrv)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtsqldrv)$(SUFF_DLL)) 262 qt5-bin_SOURCES += $(foreach qtstyl, libqmacstyle, \ 263 $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Info.plist \ 264 $(VBOX_QT_PATH)/plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL)=>plugins/styles/$(qtstyl)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtstyl)$(SUFF_DLL)) 265 endif 266 qt5-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \ 267 Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_FWRK_VER) \ 268 Frameworks/$(qtmod).framework/$(qtmod)=>Versions/$(VBOX_QT_FWRK_VER)/$(qtmod) \ 269 Frameworks/$(qtmod).framework/Resources=>Versions/$(VBOX_QT_FWRK_VER)/Resources) 270 qt5-bin_INSTALLER = $(INSTALL) $(if $(uid),-o $(uid)) $(if $(gid),-g $(gid)) $(if $(mode),-m $(mode)) $(4) -- \ 271 "$(1)" "$(2)" $(if-expr "$(source_type_prefix)" == "EXEC_" \ 272 ,$(NLTAB)install_name_tool \ 273 $(if-expr "$(suffix $2)" == "", -id "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Framework,@rpath)/$(notdir $(2)).framework/Version/$(VBOX_QT_FWRK_VER)/$(notdir $(2))",) \ 274 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \ 275 $(foreach prefix, @executable_path/../Frameworks/ $(VBOX_PATH_QT)/Frameworks/ $(VBOX_QT_PATH)/, \ 276 -change "$(prefix)$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" \ 277 "$(if $(VBOX_WITH_HARDENING),/Applications/VirtualBox.app/Contents/Frameworks,@rpath)/$(qtmod).framework/Versions/$(VBOX_QT_FWRK_VER)/$(qtmod)" ) ) \ 278 "$(2)",) # HACK ALERT! Using $(source_type_prefix) to detect EXEC_SOURCES. 279 else # win x11 280 if1of ($(KBUILD_TARGET), linux solaris) 281 if !defined(VBOX_ONLY_BUILD) && defined(VBOX_WITH_QTGUI) 282 ifneq ($(VBOX_GCC_VERSION_CXX),) 283 if $(VBOX_GCC_VERSION_CXX) < 40400 284 $(error gcc >= 4.4 required when compiling against Qt5!) 285 endif 286 endif 294 287 endif 295 qt5-bin_MODE = 755296 qt5-bin_INST = $(INST_BIN)297 qt5-bin_SOURCES = \298 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/bin/$(qtmod)$(SUFF_DLL)))299 qt5-bin_SOURCES += \300 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qwindows$(SUFF_DLL))=>platforms/qwindows$(SUFF_DLL) \301 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qminimal$(SUFF_DLL))=>platforms/qminimal$(SUFF_DLL) \302 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qoffscreen$(SUFF_DLL))=>platforms/qoffscreen$(SUFF_DLL) \303 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/sqldrivers/qsqlite$(SUFF_DLL))=>sqldrivers/qsqlite$(SUFF_DLL) \304 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/styles/qwindowsvistastyle$(SUFF_DLL))=>styles/qwindowsvistastyle$(SUFF_DLL)305 ifdef VBOX_WITH_QT_PDBS288 endif 289 if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD) 290 include $(KBUILD_PATH)/units/qt5.kmk 291 ifeq ($(KBUILD_TARGET),win) 292 ifdef VBOX_WITH_QTGUI 293 INSTALLS += qt5-bin 294 endif 295 qt5-bin_MODE = 755 296 qt5-bin_INST = $(INST_BIN) 297 qt5-bin_SOURCES = \ 298 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/bin/$(qtmod)$(SUFF_DLL))) 306 299 qt5-bin_SOURCES += \ 307 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(PATH_SDK_QT5)/qt*/$(VBOX_PATH_QT_LIB)/$(qtmod).pdb)) 308 endif # VBOX_WITH_QT_PDBS 309 else # x11 310 ifdef VBOX_WITH_QTGUI 311 INSTALLS += qt5-bin 312 endif 313 qt5-bin_MODE = 755 314 qt5-bin_INST = $(INST_BIN) 315 ifdef VBOX_WITH_HARDENING 316 # The wildcards are necessary to install the libs instead of the symlinks 317 qt5-bin_SOURCES = \ 318 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod).so.*.*.*[0-9])=>lib$(qtmod).so.5) \ 319 $(foreach lib,$(VBOX_QT_PLUGINS),$(VBOX_PATH_QT)/$(lib)=>$(lib)) 320 else # !VBOX_WITH_HARDENING 321 # For non-hardened builds we need to remove the RUNPATH. This stuff is 322 # ugly but we need to prevent kBuild from hard-linking otherwise we 323 # (indirectly) change the binaries in tools 324 ifneq ($(KBUILD_TARGET),solaris) 325 QT5_VERSION = 5.15.2 326 else 327 QT5_VERSION = 5.15.2 300 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qwindows$(SUFF_DLL))=>platforms/qwindows$(SUFF_DLL) \ 301 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qminimal$(SUFF_DLL))=>platforms/qminimal$(SUFF_DLL) \ 302 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/platforms/qoffscreen$(SUFF_DLL))=>platforms/qoffscreen$(SUFF_DLL) \ 303 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/sqldrivers/qsqlite$(SUFF_DLL))=>sqldrivers/qsqlite$(SUFF_DLL) \ 304 $(call VBOX_RE_SIGN_DLL_FN,qt5-bin,$(PATH_SDK_QT5)/plugins/styles/qwindowsvistastyle$(SUFF_DLL))=>styles/qwindowsvistastyle$(SUFF_DLL) 305 ifdef VBOX_WITH_QT_PDBS 306 qt5-bin_SOURCES += \ 307 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(PATH_SDK_QT5)/qt*/$(VBOX_PATH_QT_LIB)/$(qtmod).pdb)) 308 endif # VBOX_WITH_QT_PDBS 309 else # x11 310 ifdef VBOX_WITH_QTGUI 311 INSTALLS += qt5-bin 328 312 endif 329 qt5-bin_SOURCES = \ 330 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)=>lib$(qtmod).so.5) \ 331 $(foreach lib,$(VBOX_QT_PLUGINS),$(qt5-bin_0_OUTDIR)/$(lib)=>$(lib)) 332 333 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)): \ 334 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/% | $$(qt5-bin_0_OUTDIR)/ 313 qt5-bin_MODE = 755 314 qt5-bin_INST = $(INST_BIN) 315 ifdef VBOX_WITH_HARDENING 316 # The wildcards are necessary to install the libs instead of the symlinks 317 qt5-bin_SOURCES = \ 318 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod).so.*.*.*[0-9])=>lib$(qtmod).so.5) \ 319 $(foreach lib,$(VBOX_QT_PLUGINS),$(VBOX_PATH_QT)/$(lib)=>$(lib)) 320 else # !VBOX_WITH_HARDENING 321 # For non-hardened builds we need to remove the RUNPATH. This stuff is 322 # ugly but we need to prevent kBuild from hard-linking otherwise we 323 # (indirectly) change the binaries in tools 324 ifneq ($(KBUILD_TARGET),solaris) 325 QT5_VERSION = 5.15.2 326 else 327 QT5_VERSION = 5.15.2 328 endif 329 qt5-bin_SOURCES = \ 330 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)=>lib$(qtmod).so.5) \ 331 $(foreach lib,$(VBOX_QT_PLUGINS),$(qt5-bin_0_OUTDIR)/$(lib)=>$(lib)) 332 333 $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)): \ 334 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/% | $$(qt5-bin_0_OUTDIR)/ 335 335 $(call MSG_INST_FILE,$^,$@) 336 336 $(QUIET)$(CP) $^ $@ 337 337 $(QUIET)chrpath --replace "\$$ORIGIN" $@ 338 338 339 ifn1of ($(KBUILD_TARGET), solaris linux)340 $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \341 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/339 ifn1of ($(KBUILD_TARGET), solaris linux) 340 $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \ 341 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/ 342 342 $(call MSG_INST_FILE,$^,$@) 343 343 $(QUIET)$(MKDIR) -p $(@D) … … 348 348 # @todo For solaris and some linuxes dlopen fails to navigate executable rpath to dependent libraries, 349 349 # so add explicit rpath for libqxcb.so, find better solution later. 350 if1of ($(KBUILD_TARGET), solaris linux)351 $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \352 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/350 if1of ($(KBUILD_TARGET), solaris linux) 351 $(foreach lib,$(VBOX_QT_PLUGINS),$$(qt5-bin_0_OUTDIR)/$(lib)): \ 352 $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT)/% | $$(qt5-bin_0_OUTDIR)/ 353 353 $(call MSG_INST_FILE,$^,$@) 354 354 $(QUIET)$(MKDIR) -p $(@D) … … 357 357 endif # solaris linux 358 358 359 endif # !VBOX_WITH_HARDENING360 endif # x11361 endif # VBOX_WITH_ORACLE_QT || VBOX_WITH_QT_PAYLOAD362 endif # win x11363 364 365 #366 # Install additions iso from the build server if configured to do so.367 #368 # Note! For building the combined package, just get the additions .ISO369 # once for amd64 to prevent version inconsistences. In all other370 # cases we get the .ISO per target architecture.371 #372 ifdefined(VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER) \373 && ( !defined(VBOX_WITH_COMBINED_PACKAGE) \374 375 INSTALLS += buildserver-additions376 buildserver-additions_INST = $(INST_ADDITIONS_ISO)377 buildserver-additions_MODE = 0644378 buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso379 buildserver-additions_CLEANS = \380 381 382 383 384 385 $$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \386 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip359 endif # !VBOX_WITH_HARDENING 360 endif # x11 361 endif # VBOX_WITH_ORACLE_QT || VBOX_WITH_QT_PAYLOAD 362 endif # win x11 363 364 365 # 366 # Install additions iso from the build server if configured to do so. 367 # 368 # Note! For building the combined package, just get the additions .ISO 369 # once for amd64 to prevent version inconsistences. In all other 370 # cases we get the .ISO per target architecture. 371 # 372 if defined(VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER) \ 373 && ( !defined(VBOX_WITH_COMBINED_PACKAGE) \ 374 || "$(KBUILD_TARGET_ARCH)" == "amd64" ) 375 INSTALLS += buildserver-additions 376 buildserver-additions_INST = $(INST_ADDITIONS_ISO) 377 buildserver-additions_MODE = 0644 378 buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso 379 buildserver-additions_CLEANS = \ 380 $(buildserver-additions_0_OUTDIR)/unpacked.ts \ 381 $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip \ 382 $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp \ 383 $(PATH_TARGET)/VBoxGuestAdditions.iso 384 385 $$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \ 386 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip 387 387 $(call MSG_L1,Unpacking additions archive) 388 388 $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET) … … 390 390 $(APPEND) -t $@ "done" 391 391 392 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/additions.sh | $$(dir $$@)392 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/additions.sh | $$(dir $$@) 393 393 $(RM) -f -- "$@" "[email protected]" 394 394 $(SHELL) $(KBUILD_DEVTOOLS)/bin/additions.sh --cmd fetch --filename "[email protected]" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,) 395 395 $(MV) -f -- "[email protected]" "$@" 396 396 397 endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER unless win.x86+combined398 399 400 #401 # Install documentation files (at the moment the .chm) from the build server.402 #403 ifdef VBOX_WITH_DOCS_FROM_BUILD_SERVER404 ## @todo r=bird: Too much mess now for $(PATH_TARGET); move to doc/manual/.405 INSTALLS += buildserver-docs406 buildserver-docs_INST = $(INST_BIN)407 buildserver-docs_MODE = 0644408 buildserver-docs_SOURCES = \409 $(addprefix $(PATH_TARGET)/, \410 411 412 413 414 415 416 417 buildserver-docs_CLEANS = \418 $(buildserver-docs_0_OUTDIR)/unpacked.ts \419 $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip \420 $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip.tmp \421 $(addprefix $(PATH_TARGET)/, \422 423 424 425 426 427 428 $$(buildserver-docs_0_OUTDIR)/unpacked.ts +| \429 430 431 432 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \433 434 435 436 $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip397 endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER unless win.x86+combined 398 399 400 # 401 # Install documentation files (at the moment the .chm) from the build server. 402 # 403 ifdef VBOX_WITH_DOCS_FROM_BUILD_SERVER 404 ## @todo r=bird: Too much mess now for $(PATH_TARGET); move to doc/manual/. 405 INSTALLS += buildserver-docs 406 buildserver-docs_INST = $(INST_BIN) 407 buildserver-docs_MODE = 0644 408 buildserver-docs_SOURCES = \ 409 $(addprefix $(PATH_TARGET)/, \ 410 $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox.chm,) \ 411 $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),UserManual.qch UserManual.qhc,) \ 412 UserManual.pdf \ 413 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \ 414 $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox_$(f).chm,) \ 415 $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),UserManual_$(f).qch UserManual_$(f).qhc,) \ 416 UserManual_$(f).pdf)) 417 buildserver-docs_CLEANS = \ 418 $(buildserver-docs_0_OUTDIR)/unpacked.ts \ 419 $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip \ 420 $(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip.tmp \ 421 $(addprefix $(PATH_TARGET)/, \ 422 VirtualBox.chm UserManual.qch UserManual.qhc UserManual.pdf \ 423 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \ 424 VirtualBox_$(f).chm \ 425 UserManual_$(f).qch UserManual_$(f).qhc \ 426 UserManual_$(f).pdf)) 427 428 $$(buildserver-docs_0_OUTDIR)/unpacked.ts +| \ 429 $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \ 430 $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual.qch $(PATH_TARGET)/UserManual.qhc,) \ 431 $(PATH_TARGET)/UserManual.pdf \ 432 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \ 433 $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox_$(f).chm,) \ 434 $(if-expr defined(VBOX_WITH_DOCS_QHELP_PACKING),$(PATH_TARGET)/UserManual_$(f).qch $(PATH_TARGET)/UserManual_$(f).qhc,) \ 435 $(PATH_TARGET)/UserManual_$(f).pdf): \ 436 $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip 437 437 $(call MSG_L1,Unpacking documentation) 438 438 $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET) … … 447 447 $(APPEND) -t $@ "done" 448 448 449 $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/documentation.sh | $$(dir $$@)449 $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip: $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/documentation.sh | $$(dir $$@) 450 450 $(RM) -f -- "$@" "[email protected]" 451 451 $(SHELL) $(KBUILD_DEVTOOLS)/bin/documentation.sh --cmd fetch --filename "[email protected]" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,) 452 452 $(MV) -f -- "[email protected]" "$@" 453 453 454 endif # VBOX_WITH_DOCS_FROM_BUILD_SERVER454 endif # VBOX_WITH_DOCS_FROM_BUILD_SERVER 455 455 456 456 … … 494 494 $$(buildserver-efifw_0_OUTDIR)/unpacked.ts \ 495 495 +| $$(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \ 496 497 496 $$(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \ 497 $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb)): \ 498 498 $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip 499 499 $(call MSG_L1,Unpacking EFI firmware) … … 508 508 509 509 $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip: \ 510 $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@)510 $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@) 511 511 $(RM) -f -- "$@" "[email protected]" 512 512 $(SHELL) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename "[email protected]" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,) … … 527 527 528 528 529 ifdef VBOX_WITH_EXTPACKS_FROM_BUILD_SERVER530 #531 # Get the extension pack from from the build server to facility the automatic532 # testing (everything in one tarball (VBoxAll-*)).533 #534 # Note! Using the plural here as we might be downloading more packages eventually.535 #536 INSTALLS += buildserver-extpacks537 buildserver-extpacks_INST = $(INST_DIST)538 buildserver-extpacks_MODE = 0644539 buildserver-extpacks_SOURCES = \540 $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack541 buildserver-extpacks_CLEANS = \542 $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack \543 $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack.tmp544 545 $$(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack: \546 $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/extpacks.sh | $$(dir $$@)529 ifdef VBOX_WITH_EXTPACKS_FROM_BUILD_SERVER 530 # 531 # Get the extension pack from from the build server to facility the automatic 532 # testing (everything in one tarball (VBoxAll-*)). 533 # 534 # Note! Using the plural here as we might be downloading more packages eventually. 535 # 536 INSTALLS += buildserver-extpacks 537 buildserver-extpacks_INST = $(INST_DIST) 538 buildserver-extpacks_MODE = 0644 539 buildserver-extpacks_SOURCES = \ 540 $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack 541 buildserver-extpacks_CLEANS = \ 542 $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack \ 543 $(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack.tmp 544 545 $$(buildserver-extpacks_0_OUTDIR)/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack: \ 546 $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/extpacks.sh | $$(dir $$@) 547 547 $(RM) -f -- "[email protected]" "$@" 548 548 $(SHELL) $(KBUILD_DEVTOOLS)/bin/extpacks.sh --cmd fetch --filename "[email protected]" --vbox-version "$(VBOX_VERSION_STRING_NO_PUB)" \ … … 551 551 $(TOUCH) -- "$@" 552 552 553 endif 554 555 556 # 557 # Install staged binaries on platforms where we can't cross 558 # compile things. 559 # 560 ifn1of ($(KBUILD_TARGET), linux win) 561 VBOX_PATH_STAGED ?= . 562 563 # Additions. 564 ifndef VBOX_WITH_LINUX_ADDITIONS 565 ifndef VBOX_WITH_WIN32_ADDITIONS 566 ifneq ($(wildcard $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso),) 567 INSTALLS += staged-additions 568 staged-additions_INST = $(INST_ADDITIONS_ISO) 569 staged-additions_MODE = 0644 570 staged-additions_SOURCES = $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso 553 endif 554 555 556 # 557 # Install staged binaries on platforms where we can't cross 558 # compile things. 559 # 560 ifn1of ($(KBUILD_TARGET), linux win) 561 VBOX_PATH_STAGED ?= . 562 563 # Additions. 564 ifndef VBOX_WITH_LINUX_ADDITIONS 565 ifndef VBOX_WITH_WIN32_ADDITIONS 566 ifneq ($(wildcard $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso),) 567 INSTALLS += staged-additions 568 staged-additions_INST = $(INST_ADDITIONS_ISO) 569 staged-additions_MODE = 0644 570 staged-additions_SOURCES = $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso 571 endif 571 572 endif 572 573 endif 574 575 # guesttool.exe 576 ifndef VBOX_WITH_WIN32_ADDITIONS 577 ifneq ($(wildcard $(VBOX_PATH_STAGED)/guesttool.exe),) 578 INSTALLS += staged-guesttool 579 staged-guesttool_INST = $(INST_BIN) 580 staged-guesttool_SOURCES = $(VBOX_PATH_STAGED)/guesttool.exe 581 endif 582 endif 583 573 584 endif 574 585 575 # guesttool.exe576 ifndef VBOX_WITH_WIN32_ADDITIONS577 ifneq ($(wildcard $(VBOX_PATH_STAGED)/guesttool.exe),)578 INSTALLS += staged-guesttool579 staged-guesttool_INST = $(INST_BIN)580 staged-guesttool_SOURCES = $(VBOX_PATH_STAGED)/guesttool.exe581 endif582 endif583 584 endif585 586 586 endif # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS && !VBOX_ONLY_EXTPACKS && !VBOX_ONLY_VALIDATIONKIT 587 587 588 588 589 589 ifdef VBOX_ONLY_DOCS 590 # It may sound a bit odd, but for preparing the documentation package the591 # doxygen documentation isn't needed and increases the build time a lot.592 docs:590 # It may sound a bit odd, but for preparing the documentation package the 591 # doxygen documentation isn't needed and increases the build time a lot. 592 docs: 593 593 else # !VBOX_ONLY_DOCS 594 #595 # Generate documentation.596 # (This should be converted into a separate pass or merged with an existing one later.)597 #594 # 595 # Generate documentation. 596 # (This should be converted into a separate pass or merged with an existing one later.) 597 # 598 598 ifdef VBOX_WITH_ALL_DOXYGEN_TARGETS 599 docs: docs.Core599 docs: docs.Core 600 600 else 601 docs:601 docs: 602 602 endif 603 603 endif # !VBOX_ONLY_DOCS … … 865 865 src/VBox/ValidationKit/testmanager/cgi/ \ 866 866 src/VBox/ValidationKit/testmanager/webui/ \ 867 src/VBox/ValidationKit/testboxscript/ \867 src/VBox/ValidationKit/testboxscript/ 868 868 869 869 # These must come first in order to make things look nice. 870 VBOX_CORE_DOXYFILE_INPUT_FIRST = \870 VBOX_CORE_DOXYFILE_INPUT_FIRST = \ 871 871 $(PATH_ROOT)/doc/VBox-doc.c \ 872 872 $(PATH_ROOT)/doc/VBox-CodingGuidelines.cpp \ … … 944 944 $(PATH_ROOT)/include/VBox/param.h \ 945 945 $(PATH_ROOT)/include/VBox/version.h \ 946 946 \ 947 947 $(PATH_ROOT)/include/VBox/com/com.h \ 948 948 $(PATH_ROOT)/include/VBox/com/utils.h … … 951 951 $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(VBOX_CORE_DOXYFILE_INPUT_DIRS)))) ) \ 952 952 $(foreach dir, $(VBOX_CORE_DOXYFILE_INPUT_DIRS) \ 953 953 , $(wildcard $(dir)/*.cpp $(dir)/*.c $(dir)/*.m $(dir)/*.mm $(dir)/*.py $(dir)/.asm)) 954 954 VBOX_CORE_DOXYFILE_INPUT := \ 955 955 $(VBOX_CORE_DOXYFILE_INPUT_FIRST) \ … … 1106 1106 # @param 3 nossh or empty 1107 1107 # 1108 VBOX_RSYNC_IN_FN = $(if-expr "$(3)" != "nossh",$(VBOX_RSYNC),$(VBOX_RSYNC_NOSSH)) \1108 VBOX_RSYNC_IN_FN = $(if-expr "$(3)" != "nossh",$(VBOX_RSYNC),$(VBOX_RSYNC_NOSSH)) \ 1109 1109 -a -v --delete --delete-excluded --prune-empty-dirs \ 1110 1110 --exclude=*.pyc \ … … 1120 1120 $(if-expr "$1" == "solaris",--exclude=tools/common/openwatcom/,) \ 1121 1121 $(foreach os,$(filter-out $(1), darwin freebsd linux solaris os2 win), \ 1122 1123 1124 1125 1122 --exclude=tools/$(os)/ \ 1123 --exclude=tools/$(os).x86/ \ 1124 --exclude=tools/$(os).amd64/ \ 1125 --exclude=tools/$(os).arm64/ ) 1126 1126 1127 1127 # … … 1140 1140 VBOX_BLD_VM_FBSD_AMD64_IP := 192.168.27.17 1141 1141 1142 VBOX_WITH_OS2_ADD_BUILD =11142 VBOX_WITH_OS2_ADD_BUILD = 1 1143 1143 1144 1144 # … … 1187 1187 # the order of the windows builds. TODO: Split building and packing for these two VMs. 1188 1188 additions-build: \ 1189 additions-build-rsync-into-vms \1190 additions-build-win.x86 \1191 additions-build-win.amd64 \1192 additions-build-solaris.amd64 \1193 additions-build-solaris.x86 \1194 additions-build-os2.x86 \1195 additions-build-linux \1196 additions-build-darwin.x86 \1197 additions-build-darwin.amd641189 additions-build-rsync-into-vms \ 1190 additions-build-win.x86 \ 1191 additions-build-win.amd64 \ 1192 additions-build-solaris.amd64 \ 1193 additions-build-solaris.x86 \ 1194 additions-build-os2.x86 \ 1195 additions-build-linux \ 1196 additions-build-darwin.x86 \ 1197 additions-build-darwin.amd64 1198 1198 1199 1199 additions-build-rsync-into-vms: \ … … 1205 1205 $(call MSG_L1,Rsynced the sources + tools into the VMs.) 1206 1206 .NOTPARALLEL: additions-build-rsync-into-vms 1207 .PHONY: 1207 .PHONY: additions-build-rsync-into-vms 1208 1208 1209 1209 … … 1221 1221 # bit before kicking off any UNIX guest or we'll run into file sharing issues. 1222 1222 ifeq ($(KBUILD_TARGET),win) 1223 VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST = #additions-build-win.x86 additions-build-win.amd641224 else 1225 VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST =1223 VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST = #additions-build-win.x86 additions-build-win.amd64 1224 else 1225 VBOX_ADDITIONS_BUILD_WIN_HOST_FIRST = 1226 1226 endif 1227 1227 1228 1228 # ASSUMES the 32-bit edition has been built already. Also for serializing VM access. 1229 1229 ifeq ($(KBUILD_TARGET),win) 1230 additions-build-win.amd64-just-build:1230 additions-build-win.amd64-just-build: 1231 1231 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1232 additions-build-win.amd64: additions-build-win.x86 additions-build-win.amd64-just-build1232 additions-build-win.amd64: additions-build-win.x86 additions-build-win.amd64-just-build 1233 1233 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing 1234 1234 else 1235 additions-build-win.amd64: additions-build-win.x861235 additions-build-win.amd64: additions-build-win.x86 1236 1236 $(call VBOX_BLD_VM_MSG_BEGIN,Windows/amd64 additions build+pack) 1237 1237 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_AMD64_IP) ' cd e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing ' … … 1240 1240 1241 1241 ifeq ($(KBUILD_TARGET),win) 1242 additions-build-win.x86:1242 additions-build-win.x86: 1243 1243 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1244 1244 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing 1245 1245 else 1246 additions-build-win.x86:1246 additions-build-win.x86: 1247 1247 $(call VBOX_BLD_VM_MSG_BEGIN,Windows/x86 additions build.pack) 1248 1248 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_WIN_X86_IP) ' cd e:/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh kmk $(VBOX_ADDITIONS_BUILD.x86) all packing ' … … 1252 1252 # ASSUMES the 64-bit edition are built first. This also serializes VM access. 1253 1253 ifeq ($(KBUILD_TARGET),solaris) 1254 additions-build-solaris.amd64:1254 additions-build-solaris.amd64: 1255 1255 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1256 1256 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing 1257 1257 1258 additions-build-solaris.x86: additions-build-solaris.amd641258 additions-build-solaris.x86: additions-build-solaris.amd64 1259 1259 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 all $(VBOX_ADD_HOST_BUILD_TWEAK) 1260 1260 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 packing 1261 1261 1262 additions-build-solaris.rsync-into-vm:1263 else 1264 additions-build-solaris.rsync-into-vm:1262 additions-build-solaris.rsync-into-vm: 1263 else 1264 additions-build-solaris.rsync-into-vm: 1265 1265 $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) \ 1266 1266 '--exclude=src/VBox/Additions/WINNT/**' \ … … 1269 1269 . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 1270 1270 1271 additions-build-solaris.build-it: additions-build-solaris.rsync-into-vm1271 additions-build-solaris.build-it: additions-build-solaris.rsync-into-vm 1272 1272 $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 additions build+pack) 1273 1273 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) ' cd /mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all packing ' … … 1277 1277 $(call VBOX_BLD_VM_MSG_END__,Solaris/x86 additions build+pack) 1278 1278 1279 additions-build-solaris.rsync-out-of-vm: additions-build-solaris.build-it1279 additions-build-solaris.rsync-out-of-vm: additions-build-solaris.build-it 1280 1280 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/solaris.x86 out/ 1281 1281 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/solaris.amd64 out/ 1282 1282 1283 .NOTPARALLEL: additions-build-solaris.rsync-into-vm1284 .PHONY:additions-build-solaris.rsync-into-vm additions-build-solaris.rsync-out-of-vm additions-build-solaris.build-it1285 1286 additions-build-solaris.amd64: additions-build-solaris.rsync-out-of-vm1287 additions-build-solaris.x86:additions-build-solaris.rsync-out-of-vm1283 .NOTPARALLEL: additions-build-solaris.rsync-into-vm 1284 .PHONY: additions-build-solaris.rsync-into-vm additions-build-solaris.rsync-out-of-vm additions-build-solaris.build-it 1285 1286 additions-build-solaris.amd64: additions-build-solaris.rsync-out-of-vm 1287 additions-build-solaris.x86: additions-build-solaris.rsync-out-of-vm 1288 1288 endif 1289 1289 1290 1290 ifdef VBOX_WITH_OS2_ADD_BUILD 1291 1291 ifeq ($(KBUILD_TARGET),os2) 1292 additions-build-os2.x86:1292 additions-build-os2.x86: 1293 1293 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1294 1294 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing 1295 1295 1296 additions-build-os2.rsync-into-vm:1296 additions-build-os2.rsync-into-vm: 1297 1297 else 1298 additions-build-os2.rsync-into-vm:1298 additions-build-os2.rsync-into-vm: 1299 1299 -$(VBOX_BLD_VM_OS2_KKILL_STUFF) 1300 1300 $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,nossh)\ … … 1305 1305 . rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 1306 1306 1307 additions-build-os2.build-it: #additions-build-os2.rsync-into-vm1307 additions-build-os2.build-it: #additions-build-os2.rsync-into-vm 1308 1308 $(call VBOX_BLD_VM_MSG_BEGIN,OS/2 additions build+pack) 1309 1309 $(TIME) -- $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "cd e:\\tinderbox\\$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && e: && kbuild\\bin\\os2.x86\\kmk_ash tools\\env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all packing" 1310 1310 $(call VBOX_BLD_VM_MSG_END__,OS/2 additions build+pack) 1311 1311 1312 additions-build-os2.rsync-out-of-vm: additions-build-os2.build-it1312 additions-build-os2.rsync-out-of-vm: additions-build-os2.build-it 1313 1313 -$(VBOX_BLD_VM_OS2_KKILL_STUFF) 1314 1314 $(TIME) -- $(VBOX_RSYNC_NOSSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/os2.x86 ./out 1315 1315 1316 .NOTPARALLEL: additions-build-os2.rsync-into-vm1317 .PHONY:additions-build-os2.rsync-into-vm additions-build-os2.rsync-out-of-vm additions-build-os2.build-it1318 1319 additions-build-os2.x86: additions-build-os2.rsync-out-of-vm1316 .NOTPARALLEL: additions-build-os2.rsync-into-vm 1317 .PHONY: additions-build-os2.rsync-into-vm additions-build-os2.rsync-out-of-vm additions-build-os2.build-it 1318 1319 additions-build-os2.x86: additions-build-os2.rsync-out-of-vm 1320 1320 endif 1321 #1322 else 1323 additions-build-os2.x86:1324 # Dummy1321 # 1322 else 1323 additions-build-os2.x86: 1324 # Dummy 1325 1325 endif 1326 1326 1327 1327 # Linux 1328 1328 ifeq ($(KBUILD_TARGET),linux) 1329 additions-build-linux.amd64:1329 additions-build-linux.amd64: 1330 1330 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1331 1331 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1 1332 1332 1333 additions-build-linux.x86:1333 additions-build-linux.x86: 1334 1334 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1335 1335 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing VBOX_WITHOUT_LINUX_GUEST_PACKAGE=1 1336 1336 1337 additions-build-linux: additions-build-linux.x86 additions-build-linux.amd641337 additions-build-linux: additions-build-linux.x86 additions-build-linux.amd64 1338 1338 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1339 1339 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1 1340 1340 else 1341 additions-build-linux.rsync-into-vm:1341 additions-build-linux.rsync-into-vm: 1342 1342 $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) \ 1343 1343 '--exclude=src/VBox/Additions/WINNT/**' \ … … 1346 1346 . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 1347 1347 1348 additions-build-linux.build-it: additions-build-linux.rsync-into-vm1348 additions-build-linux.build-it: additions-build-linux.rsync-into-vm 1349 1349 ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING 1350 1350 $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 additions/greeter) … … 1367 1367 $(call VBOX_BLD_VM_MSG_END__,Linux/x86 additions combine) 1368 1368 1369 additions-build-linux.rsync-out-of-vm: additions-build-linux.build-it1369 additions-build-linux.rsync-out-of-vm: additions-build-linux.build-it 1370 1370 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.x86 out/ 1371 1371 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/linux.amd64 out/ 1372 1372 1373 .NOTPARALLEL: additions-build-linux.rsync-into-vm1374 .PHONY:additions-build-linux.rsync-into-vm additions-build-linux.rsync-out-of-vm additions-build-linux.build-it1375 1376 additions-build-linux: additions-build-linux.rsync-out-of-vm1373 .NOTPARALLEL: additions-build-linux.rsync-into-vm 1374 .PHONY: additions-build-linux.rsync-into-vm additions-build-linux.rsync-out-of-vm additions-build-linux.build-it 1375 1376 additions-build-linux: additions-build-linux.rsync-out-of-vm 1377 1377 endif 1378 1378 1379 1379 # Darwin 1380 1380 ifeq ($(KBUILD_TARGET),darwin) 1381 additions-build-darwin.amd64:1381 additions-build-darwin.amd64: 1382 1382 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1383 1383 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.amd64) packing 1384 1384 1385 additions-build-darwin.x86:1385 additions-build-darwin.x86: 1386 1386 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) all $(VBOX_ADD_HOST_BUILD_TWEAK) 1387 1387 + $(TIME) -- $(KMK) $(VBOX_ADDITIONS_BUILD.x86) packing 1388 1388 1389 additions-build-darwin:additions-build-darwin.amd64 additions-build-darwin.x861390 .PHONY:additions-build-darwin.amd64 additions-build-darwin.x861391 else 1392 additions-build-darwin.amd64.rsync-into-vm:1389 additions-build-darwin: additions-build-darwin.amd64 additions-build-darwin.x86 1390 .PHONY: additions-build-darwin.amd64 additions-build-darwin.x86 1391 else 1392 additions-build-darwin.amd64.rsync-into-vm: 1393 1393 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'sudo rm -Rf /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/' 1394 1394 $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,*) \ … … 1428 1428 . $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 1429 1429 1430 additions-build-darwin.x86.rsync-into-vm:1430 additions-build-darwin.x86.rsync-into-vm: 1431 1431 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'sudo rm -Rf /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/' 1432 1432 $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,*) \ … … 1466 1466 . $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) 1467 1467 1468 additions-build-darwin.amd64.build-it: additions-build-darwin.amd64.rsync-into-vm1468 additions-build-darwin.amd64.build-it: additions-build-darwin.amd64.rsync-into-vm 1469 1469 $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/amd64 Additions) 1470 1470 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_109_AMD64_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.amd64) all ' # VBOX_DEF_MACOSX_VERSION_MIN=10.7 … … 1472 1472 $(call VBOX_BLD_VM_MSG_END__,Darwin/amd64 Additions) 1473 1473 1474 additions-build-darwin.x86.build-it: additions-build-darwin.x86.rsync-into-vm1474 additions-build-darwin.x86.build-it: additions-build-darwin.x86.rsync-into-vm 1475 1475 $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/x86 Additions) 1476 1476 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) all ' # VBOX_DEF_MACOSX_VERSION_MIN=10.5 1477 # no pkgbuild # $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_X86_IP) 'cd /Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_ADDITIONS_BUILD.x86) packing ' # VBOX_DEF_MACOSX_VERSION_MIN=10.51477 # 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 1478 1478 $(call VBOX_BLD_VM_MSG_END__,Darwin/x86 Additions) 1479 1479 1480 additions-build-darwin.amd64.rsync-out-of-vm: additions-build-darwin.amd64.build-it1480 additions-build-darwin.amd64.rsync-out-of-vm: additions-build-darwin.amd64.build-it 1481 1481 $(TIME) -- $(VBOX_RSYNC) -a -v --delete $(VBOX_BLD_VM_DARWIN_109_AMD64_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/darwin.amd64 out/ 1482 1482 1483 additions-build-darwin.x86.rsync-out-of-vm: additions-build-darwin.x86.build-it1483 additions-build-darwin.x86.rsync-out-of-vm: additions-build-darwin.x86.build-it 1484 1484 $(TIME) -- $(VBOX_RSYNC) -a -v --delete $(VBOX_BLD_VM_DARWIN_X86_IP):/Users/vbox/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/darwin.x86 out/ 1485 1485 1486 additions-build-darwin.amd64: additions-build-darwin.amd64.rsync-out-of-vm1487 additions-build-darwin.x86: additions-build-darwin.x86.rsync-out-of-vm1488 additions-build-darwin: additions-build-darwin.x86.rsync-out-of-vmadditions-build-darwin.amd64.rsync-out-of-vm1489 1490 .PHONY: additions-build-darwin.amd64.rsync-into-vm additions-build-darwin.amd64.rsync-out-of-vm additions-build-darwin.amd64.build-it \1491 additions-build-darwin.x86.rsync-into-vm additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.x86.build-it1486 additions-build-darwin.amd64: additions-build-darwin.amd64.rsync-out-of-vm 1487 additions-build-darwin.x86: additions-build-darwin.x86.rsync-out-of-vm 1488 additions-build-darwin: additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.amd64.rsync-out-of-vm 1489 1490 .PHONY: additions-build-darwin.amd64.rsync-into-vm additions-build-darwin.amd64.rsync-out-of-vm additions-build-darwin.amd64.build-it \ 1491 additions-build-darwin.x86.rsync-into-vm additions-build-darwin.x86.rsync-out-of-vm additions-build-darwin.x86.build-it 1492 1492 endif 1493 1493 … … 1512 1512 1513 1513 .PHONY: \ 1514 additions-build-win.x86 \1515 additions-build-win.amd64 \1516 additions-build-solaris.amd64 \1517 additions-build-solaris.x86 \1518 additions-build-os2.x86 \1519 additions-build-linux \1520 additions-build-linux.amd64 \1521 additions-build-linux.x86 \1522 additions-build-linux.x86.combined \1523 additions-build-darwin \1524 additions-build-darwin.x86 \1525 additions-build-darwin.amd64 \1526 additions-packing1514 additions-build-win.x86 \ 1515 additions-build-win.amd64 \ 1516 additions-build-solaris.amd64 \ 1517 additions-build-solaris.x86 \ 1518 additions-build-os2.x86 \ 1519 additions-build-linux \ 1520 additions-build-linux.amd64 \ 1521 additions-build-linux.x86 \ 1522 additions-build-linux.x86.combined \ 1523 additions-build-darwin \ 1524 additions-build-darwin.x86 \ 1525 additions-build-darwin.amd64 \ 1526 additions-packing 1527 1527 1528 1528 … … 1545 1545 if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS)) 1546 1546 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=darwin VBOX_ONLY_EXTPACKS=1 1547 # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=freebsd VBOX_ONLY_EXTPACKS=11547 # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=freebsd VBOX_ONLY_EXTPACKS=1 1548 1548 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=linux VBOX_ONLY_EXTPACKS=1 1549 # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_EXTPACKS=11549 # + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=os2 VBOX_ONLY_EXTPACKS=1 1550 1550 + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86 KBUILD_TARGET=win VBOX_ONLY_EXTPACKS=1 1551 1551 endif … … 1553 1553 1554 1554 extpacks-build: \ 1555 extpacks-build-win.amd64 \1556 extpacks-build-win.x86 \1557 extpacks-build-solaris.amd64 \1558 extpacks-build-os2.x86 \1559 extpacks-build-linux \1560 extpacks-build-darwin.amd64 \1561 extpacks-build-darwin.arm64 \1562 extpacks-build-freebsd.amd64 \1563 extpacks-build-freebsd.x861555 extpacks-build-win.amd64 \ 1556 extpacks-build-win.x86 \ 1557 extpacks-build-solaris.amd64 \ 1558 extpacks-build-os2.x86 \ 1559 extpacks-build-linux \ 1560 extpacks-build-darwin.amd64 \ 1561 extpacks-build-darwin.arm64 \ 1562 extpacks-build-freebsd.amd64 \ 1563 extpacks-build-freebsd.x86 1564 1564 1565 1565 VBOX_EXTPACKS_BUILD.amd64 = VBOX_ONLY_EXTPACKS=1 VBOX_WITH_MAIN_NLS= VBOX_WITH_PUEL_NLS_NO_QM=1 \ … … 1585 1585 # bit before kicking off any UNIX guest or we'll run into file sharing issues. 1586 1586 ifeq ($(KBUILD_TARGET),win) 1587 VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST = extpacks-build-win.x86 extpacks-build-win.amd641588 else 1589 VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST =1587 VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST = extpacks-build-win.x86 extpacks-build-win.amd64 1588 else 1589 VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST = 1590 1590 endif 1591 1591 … … 1613 1613 1614 1614 ifeq ($(KBUILD_TARGET),solaris) 1615 extpacks-build-solaris.amd64:1615 extpacks-build-solaris.amd64: 1616 1616 + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK) 1617 1617 1618 1618 else 1619 # Serialize 32-bit and 64-bit ASSUMING the same VM builds both.1620 extpacks-build-solaris.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)1619 # Serialize 32-bit and 64-bit ASSUMING the same VM builds both. 1620 extpacks-build-solaris.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST) 1621 1621 $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) 1622 1622 1623 extpacks-build-solaris.build-it: extpacks-build-solaris.rsync-into-vm1623 extpacks-build-solaris.build-it: extpacks-build-solaris.rsync-into-vm 1624 1624 $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 extension packs) 1625 1625 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all ' 1626 1626 $(call VBOX_BLD_VM_MSG_END__,Solaris/amd64 extension packs) 1627 1627 1628 extpacks-build-solaris.rsync-out-of-vm: extpacks-build-solaris.build-it1628 extpacks-build-solaris.rsync-out-of-vm: extpacks-build-solaris.build-it 1629 1629 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/solaris.amd64 out/ 1630 1630 1631 #.NOTPARALLEL: extpacks-build-solaris.rsync-into-vm1632 .PHONY:extpacks-build-solaris.rsync-out-of-vm extpacks-build-solaris.rsync-into-vm extpacks-build-solaris.build-it1633 1634 extpacks-build-solaris.amd64: extpacks-build-solaris.rsync-out-of-vm1631 #.NOTPARALLEL: extpacks-build-solaris.rsync-into-vm 1632 .PHONY: extpacks-build-solaris.rsync-out-of-vm extpacks-build-solaris.rsync-into-vm extpacks-build-solaris.build-it 1633 1634 extpacks-build-solaris.amd64: extpacks-build-solaris.rsync-out-of-vm 1635 1635 endif 1636 1636 … … 1643 1643 1644 1644 ifeq ($(KBUILD_TARGET),linux) 1645 extpacks-build-linux.amd64:$(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)1645 extpacks-build-linux.amd64: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST) 1646 1646 + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.amd64) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK) 1647 1647 1648 extpacks-build-linux.x86:$(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)1648 extpacks-build-linux.x86: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST) 1649 1649 if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS)) 1650 1650 + $(TIME) -- $(KMK) $(VBOX_EXTPACKS_BUILD.x86) all $(VBOX_EXTPACKS_HOST_EXTRA) $(VBOX_EXTPACKS_HOST_BUILD_TWEAK) … … 1653 1653 endif 1654 1654 1655 extpacks-build-linux: extpacks-build-linux.x86 extpacks-build-linux.amd641656 else 1657 # Serialize 32-bit and 64-bit ASSUMING the same VM builds both.1658 extpacks-build-linux.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST)1655 extpacks-build-linux: extpacks-build-linux.x86 extpacks-build-linux.amd64 1656 else 1657 # Serialize 32-bit and 64-bit ASSUMING the same VM builds both. 1658 extpacks-build-linux.rsync-into-vm: $(VBOX_EXTPACKS_BUILD_WIN_HOST_FIRST) 1659 1659 $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) 1660 1660 1661 extpacks-build-linux.build-it: extpacks-build-linux.rsync-into-vm1661 extpacks-build-linux.build-it: extpacks-build-linux.rsync-into-vm 1662 1662 $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 extension packs) 1663 1663 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_EXTPACKS_BUILD.amd64) all " ' … … 1669 1669 endif 1670 1670 1671 extpacks-build-linux.rsync-out-of-vm: extpacks-build-linux.build-it1671 extpacks-build-linux.rsync-out-of-vm: extpacks-build-linux.build-it 1672 1672 if1of (x86, $(VBOX_SUPPORTED_HOST_ARCHS)) 1673 1673 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/linux.x86 out/ … … 1675 1675 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_EXTPACKS_BUILD_SUBDIRNAME)/out/linux.amd64 out/ 1676 1676 1677 #.NOTPARALLEL: extpacks-build-linux.rsync-into-vm1678 .PHONY:extpacks-build-linux.rsync-out-of-vm extpacks-build-linux.rsync-into-vm extpacks-build-linux.build-it1679 1680 extpacks-build-linux: extpacks-build-linux.rsync-out-of-vm1677 #.NOTPARALLEL: extpacks-build-linux.rsync-into-vm 1678 .PHONY: extpacks-build-linux.rsync-out-of-vm extpacks-build-linux.rsync-into-vm extpacks-build-linux.build-it 1679 1680 extpacks-build-linux: extpacks-build-linux.rsync-out-of-vm 1681 1681 endif 1682 1682 … … 1732 1732 1733 1733 .PHONY: \ 1734 extpacks-build-win.x86 \1735 extpacks-build-win.amd64 \1736 extpacks-build-solaris.amd64 \1737 extpacks-build-os2.x86 \1738 extpacks-build-linux \1739 extpacks-build-linux.amd64 \1740 extpacks-build-linux.x86 \1741 extpacks-build-freebsd.amd64 \1742 extpacks-build-freebsd.x86 \1743 extpacks-build-darwin.amd64 \1744 extpacks-packing1734 extpacks-build-win.x86 \ 1735 extpacks-build-win.amd64 \ 1736 extpacks-build-solaris.amd64 \ 1737 extpacks-build-os2.x86 \ 1738 extpacks-build-linux \ 1739 extpacks-build-linux.amd64 \ 1740 extpacks-build-linux.x86 \ 1741 extpacks-build-freebsd.amd64 \ 1742 extpacks-build-freebsd.x86 \ 1743 extpacks-build-darwin.amd64 \ 1744 extpacks-packing 1745 1745 1746 1746 … … 1767 1767 1768 1768 validationkit-build: \ 1769 validationkit-build-rsync-into-vms \1770 validationkit-build-solaris.amd64 \1771 validationkit-build-solaris.x86 \1772 validationkit-build-win.x86 \1773 validationkit-build-win.amd64 \1774 validationkit-build-os2.x86 \1775 validationkit-build-linux \1776 validationkit-build-freebsd.amd64 \1777 validationkit-build-freebsd.x86 \1778 validationkit-build-darwin.amd64 \1779 validationkit-build-darwin.x861769 validationkit-build-rsync-into-vms \ 1770 validationkit-build-solaris.amd64 \ 1771 validationkit-build-solaris.x86 \ 1772 validationkit-build-win.x86 \ 1773 validationkit-build-win.amd64 \ 1774 validationkit-build-os2.x86 \ 1775 validationkit-build-linux \ 1776 validationkit-build-freebsd.amd64 \ 1777 validationkit-build-freebsd.x86 \ 1778 validationkit-build-darwin.amd64 \ 1779 validationkit-build-darwin.x86 1780 1780 1781 1781 validationkit-build-rsync-into-vms: \ … … 1785 1785 $(call MSG_L1,Rsynced the sources + tools into the VMs.) 1786 1786 .NOTPARALLEL: validationkit-build-rsync-into-vms 1787 .PHONY: 1787 .PHONY: validationkit-build-rsync-into-vms 1788 1788 1789 1789 … … 1801 1801 # bit before kicking off any UNIX guest or we'll run into file sharing issues. 1802 1802 ifeq ($(KBUILD_TARGET),win) 1803 VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST = validationkit-build-win.x86 validationkit-build-win.amd641804 else 1805 VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST =1803 VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST = validationkit-build-win.x86 validationkit-build-win.amd64 1804 else 1805 VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST = 1806 1806 endif 1807 1807 … … 1825 1825 1826 1826 ifeq ($(KBUILD_TARGET),solaris) 1827 validationkit-build-solaris.amd64:1827 validationkit-build-solaris.amd64: 1828 1828 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) 1829 1829 1830 validationkit-build-solaris.x86:1830 validationkit-build-solaris.x86: 1831 1831 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) 1832 1832 1833 1833 else 1834 validationkit-build-solaris.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)1834 validationkit-build-solaris.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST) 1835 1835 $(TIME) -- $(call VBOX_RSYNC_IN_FN,solaris,*) \ 1836 1836 '--exclude=src/VBox/Additions/WINNT/**' \ … … 1839 1839 . $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) 1840 1840 1841 validationkit-build-solaris.build-it: validationkit-build-solaris.rsync-into-vm1841 validationkit-build-solaris.build-it: validationkit-build-solaris.rsync-into-vm 1842 1842 $(call VBOX_BLD_VM_MSG_BEGIN,Solaris/amd64 Validation Kit) 1843 1843 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_SOLARIS_IP) 'cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all ' … … 1847 1847 $(call VBOX_BLD_VM_MSG_END__,Solaris/x86 Validation Kit) 1848 1848 1849 validationkit-build-solaris.rsync-out-of-vm: validationkit-build-solaris.build-it1849 validationkit-build-solaris.rsync-out-of-vm: validationkit-build-solaris.build-it 1850 1850 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/solaris.x86 out/ 1851 1851 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_SOLARIS_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/solaris.amd64 out/ 1852 1852 1853 .PHONY:validationkit-build-solaris.rsync-out-of-vm validationkit-build-solaris.rsync-into-vm validationkit-build-solaris.build-it1854 1855 validationkit-build-solaris.amd64: validationkit-build-solaris.rsync-out-of-vm1856 validationkit-build-solaris.x86:validationkit-build-solaris.rsync-out-of-vm1853 .PHONY: validationkit-build-solaris.rsync-out-of-vm validationkit-build-solaris.rsync-into-vm validationkit-build-solaris.build-it 1854 1855 validationkit-build-solaris.amd64: validationkit-build-solaris.rsync-out-of-vm 1856 validationkit-build-solaris.x86: validationkit-build-solaris.rsync-out-of-vm 1857 1857 endif 1858 1858 1859 1859 ifeq ($(KBUILD_TARGET),os2) 1860 validationkit-build-os2.x86:1860 validationkit-build-os2.x86: 1861 1861 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) 1862 validationkit-build-os2.rsync-into-vm:1862 validationkit-build-os2.rsync-into-vm: 1863 1863 else # !OS/2 1864 validationkit-build-os2.rsync-into-vm:1864 validationkit-build-os2.rsync-into-vm: 1865 1865 -$(VBOX_BLD_VM_OS2_KKILL_STUFF) 1866 1866 $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,nossh) \ … … 1871 1871 . rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) 1872 1872 1873 validationkit-build-os2.build-it: validationkit-build-os2.rsync-into-vm1873 validationkit-build-os2.build-it: validationkit-build-os2.rsync-into-vm 1874 1874 $(call VBOX_BLD_VM_MSG_BEGIN,OS/2 Validation Kit) 1875 1875 $(TIME) -- $(REDIRECT_EXT) --stdin-pipe -- rsh -l vbox $(VBOX_BLD_VM_OS2_IP) "cd e:\\tinderbox\\$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && e: && kbuild\\bin\\os2.x86\\kmk_ash tools\\env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.x86) all" 1876 1876 $(call VBOX_BLD_VM_MSG_END__,OS/2 Validation Kit) 1877 1877 1878 validationkit-build-os2.rsync-out-of-vm: validationkit-build-os2.build-it1878 validationkit-build-os2.rsync-out-of-vm: validationkit-build-os2.build-it 1879 1879 -$(VBOX_BLD_VM_OS2_KKILL_STUFF) 1880 1880 $(TIME) -- $(VBOX_RSYNC_NOSSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/os2.x86 ./out 1881 1881 1882 .PHONY:validationkit-build-os2.rsync-into-vm validationkit-build-os2.rsync-out-of-vm validationkit-build-os2.build-it1883 1884 validationkit-build-os2.x86: validationkit-build-os2.rsync-out-of-vm1882 .PHONY: validationkit-build-os2.rsync-into-vm validationkit-build-os2.rsync-out-of-vm validationkit-build-os2.build-it 1883 1884 validationkit-build-os2.x86: validationkit-build-os2.rsync-out-of-vm 1885 1885 endif # !OS/2 1886 1886 1887 1887 ifeq ($(KBUILD_TARGET),linux) 1888 validationkit-build-linux.amd64:1888 validationkit-build-linux.amd64: 1889 1889 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) 1890 1890 1891 validationkit-build-linux.x86:1891 validationkit-build-linux.x86: 1892 1892 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) 1893 1893 1894 validationkit-build-linux: validationkit-build-linux.x86 validationkit-build-linux.amd641895 else 1896 validationkit-build-linux.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)1894 validationkit-build-linux: validationkit-build-linux.x86 validationkit-build-linux.amd64 1895 else 1896 validationkit-build-linux.rsync-into-vm: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST) 1897 1897 $(TIME) -- $(call VBOX_RSYNC_IN_FN,linux,*) \ 1898 1898 '--exclude=src/VBox/Additions/WINNT/**' \ … … 1901 1901 . $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) 1902 1902 1903 validationkit-build-linux.build-it: validationkit-build-linux.rsync-into-vm1903 validationkit-build-linux.build-it: validationkit-build-linux.rsync-into-vm 1904 1904 $(call VBOX_BLD_VM_MSG_BEGIN,Linux/amd64 Validation Kit) 1905 1905 $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_LNX_IP) 'dchroot -c debian-4.0-amd64 "cd /mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.amd64) all " ' … … 1909 1909 $(call VBOX_BLD_VM_MSG_END__,Linux/x86 Validation Kit) 1910 1910 1911 validationkit-build-linux.rsync-out-of-vm: validationkit-build-linux.build-it1911 validationkit-build-linux.rsync-out-of-vm: validationkit-build-linux.build-it 1912 1912 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/linux.x86 out/ 1913 1913 $(TIME) -- $(VBOX_RSYNC) -a --delete $(VBOX_BLD_VM_LNX_IP):/mnt/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/linux.amd64 out/ 1914 1914 1915 .PHONY:validationkit-build-linux.rsync-out-of-vm validationkit-build-linux.rsync-into-vm validationkit-build-linux.build-it1916 1917 validationkit-build-linux: validationkit-build-linux.rsync-out-of-vm1918 endif 1919 1920 validationkit-build-freebsd.amd64: 1915 .PHONY: validationkit-build-linux.rsync-out-of-vm validationkit-build-linux.rsync-into-vm validationkit-build-linux.build-it 1916 1917 validationkit-build-linux: validationkit-build-linux.rsync-out-of-vm 1918 endif 1919 1920 validationkit-build-freebsd.amd64: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST) 1921 1921 #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.amd64) 1922 1922 # + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) … … 1927 1927 #endif 1928 1928 1929 validationkit-build-freebsd.x86: 1929 validationkit-build-freebsd.x86: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST) 1930 1930 #ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),freebsd.x86) 1931 1931 # + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) … … 1936 1936 #endif 1937 1937 1938 validationkit-build-darwin.amd64: 1938 validationkit-build-darwin.amd64: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST) 1939 1939 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.amd64) 1940 1940 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.amd64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) … … 1947 1947 endif 1948 1948 1949 validationkit-build-darwin.x86: 1949 validationkit-build-darwin.x86: $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST) 1950 1950 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.x86) 1951 1951 + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.x86) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK) … … 1977 1977 1978 1978 .PHONY: \ 1979 validationkit-build-win.x86 \1980 validationkit-build-win.amd64 \1981 validationkit-build-solaris.amd64 \1982 validationkit-build-solaris.x86 \1983 validationkit-build-os2.x86 \1984 validationkit-build-linux \1985 validationkit-build-linux.amd64 \1986 validationkit-build-linux.x86 \1987 validationkit-build-freebsd.amd64 \1988 validationkit-build-freebsd.x86 \1989 validationkit-build-darwin.amd64 \1990 validationkit-build-darwin.x86 \1991 validationkit-packing1979 validationkit-build-win.x86 \ 1980 validationkit-build-win.amd64 \ 1981 validationkit-build-solaris.amd64 \ 1982 validationkit-build-solaris.x86 \ 1983 validationkit-build-os2.x86 \ 1984 validationkit-build-linux \ 1985 validationkit-build-linux.amd64 \ 1986 validationkit-build-linux.x86 \ 1987 validationkit-build-freebsd.amd64 \ 1988 validationkit-build-freebsd.x86 \ 1989 validationkit-build-darwin.amd64 \ 1990 validationkit-build-darwin.x86 \ 1991 validationkit-packing 1992 1992 1993 1993 … … 2146 2146 # 2147 2147 quick: \ 2148 VBoxRT \2149 VBoxVMM \2150 VMMR0 \2151 VBoxDD \2152 VBoxDDR0 \2153 VBoxDD2 \2154 VBoxDD2R0 \2155 VBoxC \2156 VBoxSVC \2157 $(if-expr defined(VBOX_WITH_RAW_MODE),VMMRC VBoxDDRC VBoxDD2RC,) \2158 $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win",VBoxProxyStub,) \2159 $(if-expr defined(VBOX_WITH_SDS),VBoxSDS,) \2160 $(if-expr defined(VBOX_WITH_QTGUI),VirtualBox,)2148 VBoxRT \ 2149 VBoxVMM \ 2150 VMMR0 \ 2151 VBoxDD \ 2152 VBoxDDR0 \ 2153 VBoxDD2 \ 2154 VBoxDD2R0 \ 2155 VBoxC \ 2156 VBoxSVC \ 2157 $(if-expr defined(VBOX_WITH_RAW_MODE),VMMRC VBoxDDRC VBoxDD2RC,) \ 2158 $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win",VBoxProxyStub,) \ 2159 $(if-expr defined(VBOX_WITH_SDS),VBoxSDS,) \ 2160 $(if-expr defined(VBOX_WITH_QTGUI),VirtualBox,)
Note:
See TracChangeset
for help on using the changeset viewer.