VirtualBox

Changeset 106718 in vbox


Ignore:
Timestamp:
Oct 26, 2024 1:34:41 AM (3 months ago)
Author:
vboxsync
Message:

/Config.kmk,tools,FE/Qt: Eliminated the VBOX_WITH_NEW_WINDOWS_SDK and cleaned up the associated mess. jiraref:VBP-1253

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r106717 r106718  
    387387# Use this to disable control flow.
    388388#VBOX_WITHOUT_CONTROL_FLOW_GUARD = 1
    389 # Select Windows 11 SDK.
    390 ## @todo remove this as well.
    391 VBOX_WITH_NEW_WINDOWS_SDK = 1
    392389# Don't use the compiler CRT for statically linked modules, use IPRT with some
    393390# additional CRT functionality.
     
    22352232# Decide which Windows SDK to use by default.
    22362233#
    2237 ifdef VBOX_WITH_NEW_WINDOWS_SDK
    2238  VBOX_WINPSDK      ?= WINSDK10-UM
    2239  VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)-INCS
    2240 else if1of ($(VBOX_VCC_TOOL_STEM), VCC110)
    2241  VBOX_WINPSDK      ?= WINPSDK80
    2242  VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)INCS
    2243 else
    2244  VBOX_WINPSDK      ?= WINPSDK71
    2245  VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)INCS
    2246 endif
    2247 VBOX_WINPSDK_GST      ?= $(VBOX_WINPSDK)
    2248 VBOX_WINPSDK_GST_INCS ?= $(VBOX_WINPSDK_INCS)
    2249 ifneq ($(VBOX_WINPSDK_GST),WINPSDK71)
    2250  VBOX_WINPSDK_GST_W8  ?= $(VBOX_WINPSDK_GST)
    2251 else
    2252  VBOX_WINPSDK_GST_W8  ?= WINPSDK80
    2253 endif
    2254 VBOX_WINPSDK_GST_W7   ?= $(VBOX_WINPSDK_GST)
    2255 VBOX_WINPSDK_GST_WLH  ?= $(VBOX_WINPSDK_GST)
    2256 VBOX_WINPSDK_GST_WXP  ?= $(VBOX_WINPSDK_GST)
    2257 ifeq ($(KBUILD_TARGET_ARCH),x86)
    2258  VBOX_WINPSDK_GST_W2K ?= $(VBOX_WINPSDK_GST)
    2259  VBOX_WINPSDK_GST_NT4 ?= $(VBOX_WINPSDK_GST)
    2260 else
    2261  VBOX_WINPSDK_GST_W2K ?= $(VBOX_WINPSDK_GST_WXP)
    2262  VBOX_WINPSDK_GST_NT4 ?= $(VBOX_WINPSDK_GST_WXP)
    2263 endif
    2264 
     2234VBOX_WINPSDK           ?= WINSDK10-UM
     2235VBOX_WINPSDK_INCS      ?= $(VBOX_WINPSDK)-INCS
     2236VBOX_WINPSDK_GST       ?= $(VBOX_WINPSDK)
     2237VBOX_WINPSDK_GST_INCS  ?= $(VBOX_WINPSDK_INCS)
     2238VBOX_WINPSDK_GST_W8    ?= $(VBOX_WINPSDK_GST)
     2239VBOX_WINPSDK_GST_W7    ?= $(VBOX_WINPSDK_GST)
     2240VBOX_WINPSDK_GST_WLH   ?= $(VBOX_WINPSDK_GST)
     2241VBOX_WINPSDK_GST_WXP   ?= $(VBOX_WINPSDK_GST)
     2242VBOX_WINPSDK_GST_W2K   ?= $(VBOX_WINPSDK_GST)
     2243VBOX_WINPSDK_GST_NT4   ?= $(VBOX_WINPSDK_GST)
    22652244
    22662245#
     
    26512630# Windows Installer XML (WIX) toolset.
    26522631VBOX_PATH_WIX       ?= $(KBUILD_DEVTOOLS)/win.x86/wix/v4.0.5
    2653 ifdef VBOX_WITH_NEW_WINDOWS_SDK
    2654  VBOX_PATH_MSITRAN  ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiTran.Exe
    2655  VBOX_PATH_MSIDB    ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiDb.Exe
    2656  # Note! The scripts has been moved to Bin in v8.0.
    2657  VBOX_PATH_WISUBSTG ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSubStg.vbs
    2658  VBOX_PATH_WISUMINFO ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSumInf.vbs
    2659 else
    2660  VBOX_PATH_MSITRAN  ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiTran.Exe
    2661  VBOX_PATH_MSIDB    ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiDb.Exe
    2662  VBOX_PATH_WISUBSTG ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Samples/sysmgmt/msi/scripts/WiSubStg.vbs
    2663  VBOX_PATH_WISUMINFO ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Samples/sysmgmt/msi/scripts/WiSumInf.vbs
    2664 endif
     2632VBOX_PATH_MSITRAN   ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiTran.Exe
     2633VBOX_PATH_MSIDB     ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiDb.Exe
     2634# Note! The scripts has been moved to Bin in v8.0.
     2635VBOX_PATH_WISUBSTG  ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSubStg.vbs
     2636VBOX_PATH_WISUMINFO ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSumInf.vbs
    26652637VBOX_PATH_DIFX      ?= $(KBUILD_DEVTOOLS)/win.$(KBUILD_TARGET_ARCH)/DIFx/v2.1-r3
    26662638
     
    38073779 VBOX_VCC_WARN_ALL += -wd4746
    38083780endif
    3809 ifndef VBOX_WITH_NEW_WINDOWS_SDK
    3810  #    -wd5031: iprt/win/windows.h(55): warning C5031: #pragma warning(pop): likely mismatch, popping warning state pushed in different file
    3811  #    -wd5032: iprt/win/windows.h(37): warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop)
    3812  VBOX_VCC_WARN_ALL += -wd5031 -wd5032
    3813 endif
    38143781ifndef VBOX_NEWER_VCC_WARN_ALL
    38153782 if "$(VBOX_VCC_TOOL_STEM)" < "VCC120"
     
    42454212  endif
    42464213  ifndef VBOX_PATH_SIGN_TOOLS
    4247    ifdef VBOX_WITH_NEW_WINDOWS_SDK
    4248     $(evalcall KB_FN_LOAD_SDK,$(VBOX_WINPSDK))
    4249     VBOX_PATH_SIGN_TOOLS = $(PATH_SDK_$(VBOX_WINPSDK)_BIN)
    4250    else
    4251     VBOX_PATH_SIGN_TOOLS := $(firstword $(rsort $(wildcard \
    4252                                 $(addprefix $(KBUILD_DEVTOOLS)/win.x86/sdk/v8.1*/Bin/, x86 $(if-expr $(KBUILD_HOST_ARCH)=="amd64",x64,) ) )))
    4253     ifeq ($(VBOX_PATH_SIGN_TOOLS),)
    4254      VBOX_PATH_SIGN_TOOLS := $(firstword $(rsort $(wildcard \
    4255                                 $(addprefix $(KBUILD_DEVTOOLS)/win.x86/sdk/v10*/Bin/, x86 $(if-expr $(KBUILD_HOST_ARCH)=="amd64",x64,) ) )))
    4256      ifeq ($(VBOX_PATH_SIGN_TOOLS),)
    4257       VBOX_PATH_SIGN_TOOLS := $(VBOX_PATH_SELFSIGN)
    4258      endif
    4259     endif
    4260    endif
     4214   $(evalcall KB_FN_LOAD_SDK,$(VBOX_WINPSDK))
     4215   VBOX_PATH_SIGN_TOOLS = $(PATH_SDK_$(VBOX_WINPSDK)_BIN)
    42614216  endif
    42624217
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r106170 r106718  
    499499VirtualBox_LIBS.win = \
    500500        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
    501 ifdef VBOX_WITH_NEW_WINDOWS_SDK
    502  VirtualBox_LIBS.win += \
    503         $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \
    504         $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib
    505 else
    506  VirtualBox_LIBS.win += \
    507         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
    508         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
    509 endif
     501VirtualBox_LIBS.win += \
     502        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \
     503        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib
    510504
    511505# VBox keyboard shared library for X11 hosts:
     
    548542VirtualBoxVM_LIBS.win = \
    549543        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
    550 ifdef VBOX_WITH_NEW_WINDOWS_SDK
    551  VirtualBoxVM_LIBS.win += \
    552         $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \
    553         $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib
    554 else
    555  VirtualBoxVM_LIBS.win += \
    556         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
    557         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
    558 endif
     544VirtualBoxVM_LIBS.win += \
     545        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \
     546        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib
    559547
    560548# VBox keyboard shared library for X11 hosts:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette