Changeset 92910 in vbox
- Timestamp:
- Dec 14, 2021 10:18:50 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r92856 r92910 1928 1928 # Decide which Windows SDK to use by default. 1929 1929 # 1930 if1of ($(VBOX_VCC_TOOL_STEM), VCC110) 1931 VBOX_WINPSDK ?= WINPSDK80 1930 ifdef VBOX_WITH_NEW_WINDOWS_SDK 1931 VBOX_WINPSDK ?= WINSDK10-UM 1932 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)-INCS 1933 else if1of ($(VBOX_VCC_TOOL_STEM), VCC110) 1934 VBOX_WINPSDK ?= WINPSDK80 1935 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)INCS 1932 1936 else 1933 VBOX_WINPSDK ?= WINPSDK71 1937 VBOX_WINPSDK ?= WINPSDK71 1938 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)INCS 1934 1939 endif 1935 1940 VBOX_WINPSDK_GST ?= $(VBOX_WINPSDK) 1936 VBOX_WINPSDK_GST_W8 ?= WINPSDK80 1941 VBOX_WINPSDK_GST_INCS ?= $(VBOX_WINPSDK_INCS) 1942 ifneq ($(VBOX_WINPSDK_GST),WINPSDK71) 1943 VBOX_WINPSDK_GST_W8 ?= $(VBOX_WINPSDK_GST) 1944 else 1945 VBOX_WINPSDK_GST_W8 ?= WINPSDK80 1946 endif 1937 1947 VBOX_WINPSDK_GST_W7 ?= $(VBOX_WINPSDK_GST) 1938 1948 VBOX_WINPSDK_GST_WLH ?= $(VBOX_WINPSDK_GST) … … 2334 2344 # Note! The scripts has been moved to Bin in v8.0. 2335 2345 VBOX_PATH_WIX ?= $(KBUILD_DEVTOOLS)/win.x86/wix/v3.8.1128.0 2346 ifdef VBOX_WITH_NEW_WINDOWS_SDK 2347 VBOX_PATH_MSITRAN ?= $(PATH_SDK_WINSDK10_BIN)/MsiTran.Exe 2348 VBOX_PATH_MSIDB ?= $(PATH_SDK_WINSDK10_BIN)/MsiDb.Exe 2349 VBOX_PATH_WISUBSTG ?= $(PATH_SDK_WINSDK10_BIN)/WiSubStg.vbs 2350 VBOX_PATH_WISUMINFO ?= $(PATH_SDK_WINSDK10_BIN)/WiSumInf.vbs 2351 else 2336 2352 VBOX_PATH_MSITRAN ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiTran.Exe 2337 2353 VBOX_PATH_MSIDB ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiDb.Exe 2338 2354 VBOX_PATH_WISUBSTG ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Samples/sysmgmt/msi/scripts/WiSubStg.vbs 2339 2355 VBOX_PATH_WISUMINFO ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Samples/sysmgmt/msi/scripts/WiSumInf.vbs 2356 endif 2340 2357 VBOX_PATH_DIFX ?= $(KBUILD_DEVTOOLS)/win.$(KBUILD_TARGET_ARCH)/DIFx/v2.1-r3 2341 2358 … … 2350 2367 # The Microsoft IDL compiler (the SDK build needs this on non-Windows). 2351 2368 VBOX_WIN_MIDL ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard $(addsuffix /[Mm][Ii][Dd][Ll].[Ee][Xx][Ee], \ 2369 $(PATH_SDK_$(VBOX_WINPSDK)_BIN) \ 2352 2370 $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin$(if-expr "$(KBUILD_HOST).$(KBUILD_HOST_ARCH)" == "win.amd64",/x64,) \ 2353 2371 $(KBUILD_DEVTOOLS)/win.x86/ddk/7600.16385.1/bin/x86 \ … … 3390 3408 endif 3391 3409 VBOX_VCC_WARN_ALL += -wd4242 -wd4244 3410 # -wd4548: socket.cpp(1931): warning C4548: expression before comma has no effect; expected expression with side-effect 3411 VBOX_VCC_WARN_ALL += -wd4548 3412 ifndef VBOX_WITH_NEW_WINDOWS_SDK 3413 # -wd5031: iprt/win/windows.h(55): warning C5031: #pragma warning(pop): likely mismatch, popping warning state pushed in different file 3414 # -wd5032: iprt/win/windows.h(37): warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop) 3415 VBOX_VCC_WARN_ALL += -wd5031 -wd5032 3416 endif 3392 3417 ifndef VBOX_NEWER_VCC_WARN_ALL 3393 3418 if "$(VBOX_VCC_TOOL_STEM)" < "VCC120" … … 8159 8184 TEMPLATE_VBOXGUESTR0_EXTENDS = VBOXR0DRV 8160 8185 TEMPLATE_VBOXGUESTR0_INST = $(INST_ADDITIONS) 8161 TEMPLATE_VBOXGUESTR0_SDKS.win.x86 = ReorderCompilerIncs $(VBOX_WINDDK_GST) $(VBOX_WINPSDK_GST )INCS8162 TEMPLATE_VBOXGUESTR0_SDKS.win.amd64 = ReorderCompilerIncs $(VBOX_WINDDK_GST) $(VBOX_WINPSDK_GST )INCS8186 TEMPLATE_VBOXGUESTR0_SDKS.win.x86 = ReorderCompilerIncs $(VBOX_WINDDK_GST) $(VBOX_WINPSDK_GST_INCS) 8187 TEMPLATE_VBOXGUESTR0_SDKS.win.amd64 = ReorderCompilerIncs $(VBOX_WINDDK_GST) $(VBOX_WINPSDK_GST_INCS) 8163 8188 TEMPLATE_VBOXGUESTR0_LIBS.win.x86 = \ 8164 8189 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/int64.lib -
trunk/include/Makefile.kmk
r88058 r92910 216 216 LIBRARIES += SyntaxVBoxIncludeR0Drv 217 217 SyntaxVBoxIncludeR0Drv_TEMPLATE = VBoxR0DrvLib 218 SyntaxVBoxIncludeR0Drv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCS218 SyntaxVBoxIncludeR0Drv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) 219 219 SyntaxVBoxIncludeR0Drv_DEFS = VBOX_WITH_HGCM USING_VMM_COMMON_DEFS 220 220 SyntaxVBoxIncludeR0Drv_CDEFS = IPRT_WITHOUT_NAMED_UNIONS_AND_STRUCTS -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r92847 r92910 457 457 # Various Windows hosts libraries: 458 458 VirtualBox_LIBS.win = \ 459 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \ 460 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ 461 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib 459 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib 460 ifdef VBOX_WITH_NEW_WINDOWS_SDK 461 VirtualBox_LIBS.win += \ 462 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \ 463 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib 464 else 465 VirtualBox_LIBS.win += \ 466 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ 467 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib 468 endif 462 469 463 470 # VBox keyboard shared library for X11 hosts: … … 510 517 # Various Windows hosts libraries: 511 518 VirtualBoxVM_LIBS.win = \ 512 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \ 513 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ 514 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib 519 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib 520 ifdef VBOX_WITH_NEW_WINDOWS_SDK 521 VirtualBoxVM_LIBS.win += \ 522 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \ 523 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib 524 else 525 VirtualBoxVM_LIBS.win += \ 526 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ 527 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib 528 endif 515 529 516 530 # VBox keyboard shared library for X11 hosts: -
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r92408 r92910 559 559 SUPR0IdcClient_TEMPLATE = VBoxR0DrvLib 560 560 SUPR0IdcClient_DEFS = IN_RT_R0 IN_SUP_R0 IN_SUP_STATIC 561 SUPR0IdcClient_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCS561 SUPR0IdcClient_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) 562 562 SUPR0IdcClient_SOURCES.$(KBUILD_TARGET) = \ 563 563 $(KBUILD_TARGET)/SUPR0IdcClient-$(KBUILD_TARGET).c … … 625 625 VBoxDrv_INST.darwin = $(INST_VBOXDRV)Contents/MacOS/ 626 626 VBoxDrv_DEBUG_INST.darwin= $(patsubst %/,%,$(INST_VBOXDRV)) 627 VBoxDrv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCS627 VBoxDrv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) 628 628 629 629 VBoxDrv_DEFS := IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER VBOX_SVN_REV=$(VBOX_SVN_REV) -
trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk
r82968 r92910 106 106 VBoxNetAdp6_DEFS = IN_RT_R0 IN_SUP_STATIC 107 107 VBoxNetAdp6_INCS := $(PATH_SUB_CURRENT) 108 VBoxNetAdp6_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK )INCS108 VBoxNetAdp6_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS) 109 109 VBoxNetAdp6_SOURCES = \ 110 110 win/VBoxNetAdp-win.cpp \ -
trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk
r84541 r92910 45 45 VBoxNetFlt_SOURCES.darwin = \ 46 46 darwin/VBoxNetFlt-darwin.cpp 47 VBoxNetFlt_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK )INCS47 VBoxNetFlt_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS) 48 48 VBoxNetFlt_SOURCES.win = \ 49 49 win/drv/VBoxNetFltP-win.cpp \ … … 165 165 VBoxNetLwf_INCS = . 166 166 VBoxNetLwf_SOURCES = VBoxNetFlt.c VBoxNetFlt.rc 167 VBoxNetLwf_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK )INCS167 VBoxNetLwf_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS) 168 168 VBoxNetLwf_SOURCES.win = \ 169 169 win/drv/VBoxNetLwf-win.cpp … … 427 427 VBoxNetAdp_DEFS = IN_RT_R0 IN_SUP_STATIC 428 428 VBoxNetAdp_INCS := $(PATH_SUB_CURRENT) 429 VBoxNetAdp_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK )INCS429 VBoxNetAdp_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS) 430 430 VBoxNetAdp_SOURCES = \ 431 431 VBoxNetFlt.c \ -
trunk/src/VBox/HostDrivers/VBoxUSB/win/Makefile.kmk
r84540 r92910 47 47 VBoxUSB_DEBUG_INSTTYPE = both 48 48 endif 49 VBoxUSB_SDKS = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCS49 VBoxUSB_SDKS = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) 50 50 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 51 51 VBoxUSB_DEFS := IN_RT_R0 IN_SUP_R0 VBOX_DBG_LOG_NAME="USBDev" … … 78 78 endif 79 79 VBoxUSBMon_INCS := $(PATH_SUB_CURRENT)/.. 80 VBoxUSBMon_SDKS = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCS80 VBoxUSBMon_SDKS = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) 81 81 VBoxUSBMon_DEFS = IN_RT_R0 IN_SUP_R0 NTDDI_WINNT=_NTDDI_VISTA VBOXUSBFILTERMGR_USB_SPINLOCK 82 82 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING -
trunk/src/VBox/Main/Makefile.kmk
r92153 r92910 1226 1226 VBoxClient-x86_LIBS.win = $(NO_SUCH_VARIABLE) 1227 1227 VBoxClient-x86_LIBS.win.x86 += \ 1228 1229 $(PATH_SDK_$(VBOX_WINPSDK)_LIB.x86)/WbemUuid.Lib1228 $(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_LIB)/delayimp.lib \ 1229 $(PATH_SDK_$(VBOX_WINPSDK)_LIB.x86)/WbemUuid.Lib 1230 1230 VBoxClient-x86_CLEAN.win += $(VBoxClient-x86_0_OUTDIR)/VBoxClient-x86.rgs 1231 1231 $(call KB_FN_DO_PASS0_ON_TARGET,VBoxClient-x86) # Sets VBoxClient-x86_0_OUTDIR … … 1582 1582 $(QUIET)$(MV) -f "$1" "$1.tmp" 1583 1583 $(QUIET)$(APPEND) -nt "$1" \ 1584 '#if _MSC_VER >= 1920 /* RT_MSC_VER_VS2019 */' \ 1585 '# pragma warning(disable:5031 5032) /* buggy winioctl.h in some w10 sdks */ ' \ 1586 '#endif' \ 1584 1587 '#pragma warning(push) /* -Wall and windows.h */' \ 1585 1588 '#pragma warning(disable:4668 4255)' \ … … 1615 1618 /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM_0_OUTDIR)) \ 1616 1619 /cpp_cmd $(VBOX_MIDL_CPP_CMD) \ 1617 /I $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_SDK_$(VBOX_WINPSDK)_INC)) \1620 $(foreachfile dir,$(SDK_$(VBOX_WINPSDK)_INCS),/I $(call VBOX_FN_MAKE_WIN_PATH,$(dir))) \ 1618 1621 /I idl \ 1619 1622 $(call VBOX_FN_MAKE_WIN_PATH,$(VBOX_IDL_FILE.MSCOM)) … … 1640 1643 /out $(call VBOX_FN_MAKE_WIN_PATH,$(dir $@)) \ 1641 1644 /cpp_cmd $(VBOX_MIDL_CPP_CMD) \ 1642 /I $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_SDK_$(VBOX_WINPSDK)_INC)) \1645 $(foreachfile dir,$(SDK_$(VBOX_WINPSDK)_INCS),/I $(call VBOX_FN_MAKE_WIN_PATH,$(dir))) \ 1643 1646 /I idl \ 1644 1647 $(call VBOX_FN_MAKE_WIN_PATH,$(VBOX_IDL_FILE.MSCOM)) … … 1662 1665 /tlb $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM-x86_0_OUTDIR)/VirtualBox-x86.tlb) \ 1663 1666 /cpp_cmd $(VBOX_MIDL_CPP_CMD_X86) \ 1664 /I $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_SDK_$(VBOX_WINPSDK)_INC)) \1667 $(foreachfile dir,$(SDK_$(VBOX_WINPSDK)_INCS),/I $(call VBOX_FN_MAKE_WIN_PATH,$(dir))) \ 1665 1668 /I idl \ 1666 1669 $(call VBOX_FN_MAKE_WIN_PATH,$(VBOX_IDL_FILE.MSCOM)) -
trunk/src/VBox/Runtime/Makefile.kmk
r92818 r92910 2912 2912 # 2913 2913 RuntimeR0Drv_TEMPLATE = VBoxR0DrvLib 2914 RuntimeR0Drv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCSVBOX_OPENSSL2914 RuntimeR0Drv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) VBOX_OPENSSL 2915 2915 RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL NOFILEID 2916 2916 RuntimeR0Drv_DEFS.win = IN_SUP_R0 LDR_ONLY_PE IPRT_WITHOUT_DIGEST_MD4 … … 3940 3940 $(IPRT_OUT_DIR)/errmsgwindata.h: \ 3941 3941 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \ 3942 $$( PATH_SDK_$(VBOX_WINPSDK)_INC)/WinError.h\3942 $$(qwildcard ,$$(qaddsuffix ,/WinError.h,$$(SDK_$$(VBOX_WINPSDK)_INCS))) \ 3943 3943 | $$(dir $$@) 3944 3944 $(call MSG_GENERATE,,$@,$(filter %.h,$^)) 3945 $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)3945 $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< "$(filter %.h,$^)" 3946 3946 3947 3947 $(IPRT_OUT_DIR)/errmsgvboxcomdata.h.ts +| $(IPRT_OUT_DIR)/errmsgvboxcomdata.h: \ -
trunk/src/VBox/VMM/Makefile.kmk
r92444 r92910 579 579 VMMR0/NEMR0NativeA-win.asm 580 580 VMMR0_DEFS.win.amd64 += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0 581 VMMR0/NEMR0Native-win.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK )INCS581 VMMR0/NEMR0Native-win.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS) 582 582 583 583 VMMR0_SOURCES.darwin.amd64 += \
Note:
See TracChangeset
for help on using the changeset viewer.