VirtualBox

Changeset 2607 in kBuild


Ignore:
Timestamp:
Jul 20, 2012 12:12:58 PM (13 years ago)
Author:
bird
Message:

Added the Windows 8 DDK.

Location:
trunk/kBuild/sdks
Files:
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/sdks/WINDDK80.kmk

    r2605 r2607  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Microsoft Windows 7 DDK, v7.1.
     3# kBuild SDK - The Microsoft Windows 8 DDK.
    44#              Defaults to $(KBUILD_TARGET_ARCH). Base SDK.
    55#
     
    3333#
    3434
    35 SDK_WINDDK71 := The Microsoft Windows 7 DDK, v7.1. \
     35SDK_WINDDK80 := The Microsoft Windows 8 DDK. \
    3636                Defaults to $(KBUILD_TARGET_ARCH). Base SDK.
    3737
    3838# SDK Specific Properties
    39 ifndef PATH_SDK_WINDDK71
    40  PATH_SDK_WINDDK71 := $(wildcard $(PATH_DEVTOOLS_TRG)/ddk/7600.16385.1*)
    41  ifeq ($(PATH_SDK_WINDDK71),)
    42   PATH_SDK_WINDDK71 := $(wildcard $(PATH_DEVTOOLS)/win.x86/ddk/7600.16385.1*)
     39ifndef PATH_SDK_WINDDK80
     40 PATH_SDK_WINDDK80 := $(wildcard $(PATH_DEVTOOLS_TRG)/ddk/v8*)
     41 ifeq ($(PATH_SDK_WINDDK80),)
     42  PATH_SDK_WINDDK80 := $(wildcard $(PATH_DEVTOOLS)/win.x86/ddk/v8*)
    4343 endif
    44  ifeq ($(PATH_SDK_WINDDK71),)
    45   PATH_SDK_WINDDK71 := $(wildcard $(PATH_DEVTOOLS)/win.amd64/ddk/7600.16385.1*)
     44 ifeq ($(PATH_SDK_WINDDK80),)
     45  PATH_SDK_WINDDK80 := $(wildcard $(PATH_DEVTOOLS)/win.amd64/ddk/v8*)
    4646 endif
    47  ifeq ($(PATH_SDK_WINDDK71),)
    48   ifeq ($(KBUILD_HOST),win)
    49    PATH_SDK_WINDDK71 := $(wildcard C:/WinDDK/7600.16385.1*)
    50   endif
    51  endif
    52  ifneq ($(PATH_SDK_WINDDK71),)
    53   PATH_SDK_WINDDK71 := $(lastword $(sort $(PATH_SDK_WINDDK71)))
     47 ifneq ($(PATH_SDK_WINDDK80),)
     48  PATH_SDK_WINDDK80 := $(lastword $(sort $(PATH_SDK_WINDDK80)))
    5449 else
    55   $(warning kBuild: PATH_SDK_WINDDK71 couldn't be determined!)
    56   PATH_SDK_WINDDK71 := $(PATH_DEVTOOLS)/win.x86/ddk/7600.16385.1-not-found
     50  $(warning kBuild: PATH_SDK_WINDDK80 couldn't be determined!)
     51  PATH_SDK_WINDDK80 := $(PATH_DEVTOOLS)/win.x86/ddk/v8.0/not/found
    5752 endif
    5853else
    5954 # Resolve any fancy stuff once and for all.
    60  PATH_SDK_WINDDK71 := $(PATH_SDK_WINDDK71)
     55 PATH_SDK_WINDDK80 := $(PATH_SDK_WINDDK80)
    6156endif
    6257
    63 PATH_SDK_WINDDK71_INC     ?= $(PATH_SDK_WINDDK71)/inc
    64 PATH_SDK_WINDDK71_INC_API ?= $(PATH_SDK_WINDDK71_INC)/api
    65 PATH_SDK_WINDDK71_INC_CRT ?= $(PATH_SDK_WINDDK71_INC)/crt
    66 PATH_SDK_WINDDK71_INC_DDK ?= $(PATH_SDK_WINDDK71_INC)/ddk
     58PATH_SDK_WINDDK80_INC           ?= $(PATH_SDK_WINDDK80)/Include
     59PATH_SDK_WINDDK80_INC_UM        ?= $(PATH_SDK_WINDDK80_INC)/um
     60PATH_SDK_WINDDK80_INC_KM        ?= $(PATH_SDK_WINDDK80_INC)/km
     61PATH_SDK_WINDDK80_INC_KM_CRT    ?= $(PATH_SDK_WINDDK80_INC_KM)/crt
     62PATH_SDK_WINDDK80_INC_SHARED    ?= $(PATH_SDK_WINDDK80_INC)/Shared
    6763
    68 PATH_SDK_WINDDK71_LIB_ROOT      ?= $(PATH_SDK_WINDDK71)/lib
    69 PATH_SDK_WINDDK71_LIB_WLH_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/wlh
    70 PATH_SDK_WINDDK71_LIB_WNET_ROOT ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/wnet
    71 PATH_SDK_WINDDK71_LIB_WXP_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/wxp
    72 PATH_SDK_WINDDK71_LIB_W2K_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/w2k
    73 PATH_SDK_WINDDK71_LIB_WDF_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/w2k
     64PATH_SDK_WINDDK80_LIB_ROOT      ?= $(PATH_SDK_WINDDK80)/Lib
     65PATH_SDK_WINDDK80_LIB_W8_ROOT   ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/win8
     66PATH_SDK_WINDDK80_LIB_W7_ROOT   ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/win7
     67PATH_SDK_WINDDK80_LIB_WLH_ROOT  ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/wlh
     68PATH_SDK_WINDDK80_LIB_WDF_ROOT  ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/wdf
     69PATH_SDK_WINDDK80_LIB_MFC_ROOT  ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/Mfc
     70PATH_SDK_WINDDK80_LIB_ATL_ROOT  ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/Atl
    7471
    75 PATH_SDK_WINDDK71_LIB_WLH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH_ROOT)/amd64
    76 PATH_SDK_WINDDK71_LIB_WLH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WLH_ROOT)/ia64
    77 PATH_SDK_WINDDK71_LIB_WLH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WLH_ROOT)/i386
    78 PATH_SDK_WINDDK71_LIB_WLH       ?= $(PATH_SDK_WINDDK71_LIB_WLH.$(KBUILD_TARGET_ARCH))
     72PATH_SDK_WINDDK80_LIB_W8.amd64  ?= $(PATH_SDK_WINDDK80_LIB_W8_ROOT)/km/x64
     73PATH_SDK_WINDDK80_LIB_W8.x86    ?= $(PATH_SDK_WINDDK80_LIB_W8_ROOT)/km/x86
     74PATH_SDK_WINDDK80_LIB_W8        ?= $(PATH_SDK_WINDDK80_LIB_W8.$(KBUILD_TARGET_ARCH))
    7975
    80 PATH_SDK_WINDDK71_LIB_WNET.amd64?= $(PATH_SDK_WINDDK71_LIB_WNET_ROOT)/amd64
    81 PATH_SDK_WINDDK71_LIB_WNET.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WNET_ROOT)/ia64
    82 PATH_SDK_WINDDK71_LIB_WNET.x86  ?= $(PATH_SDK_WINDDK71_LIB_WNET_ROOT)/i386
    83 PATH_SDK_WINDDK71_LIB_WNET      ?= $(PATH_SDK_WINDDK71_LIB_WNET.$(KBUILD_TARGET_ARCH))
     76PATH_SDK_WINDDK80_LIB_W7.amd64  ?= $(PATH_SDK_WINDDK80_LIB_W7_ROOT)/km/x64
     77PATH_SDK_WINDDK80_LIB_W7.x86    ?= $(PATH_SDK_WINDDK80_LIB_W7_ROOT)/km/x86
     78PATH_SDK_WINDDK80_LIB_W7        ?= $(PATH_SDK_WINDDK80_LIB_W7.$(KBUILD_TARGET_ARCH))
    8479
    85 PATH_SDK_WINDDK71_LIB_WXP.x86   ?= $(PATH_SDK_WINDDK71_LIB_WXP_ROOT)/i386
    86 PATH_SDK_WINDDK71_LIB_WXP       ?= $(PATH_SDK_WINDDK71_LIB_WXP.$(KBUILD_TARGET_ARCH))
     80PATH_SDK_WINDDK80_LIB_WLH.amd64 ?= $(PATH_SDK_WINDDK80_LIB_WLH_ROOT)/km/x64
     81PATH_SDK_WINDDK80_LIB_WLH.x86   ?= $(PATH_SDK_WINDDK80_LIB_WLH_ROOT)/km/x86
     82PATH_SDK_WINDDK80_LIB_WLH       ?= $(PATH_SDK_WINDDK80_LIB_WLH.$(KBUILD_TARGET_ARCH))
    8783
    88 PATH_SDK_WINDDK71_LIB_W2K.x86   ?= $(PATH_SDK_WINDDK71_LIB_W2K_ROOT)/i386
    89 PATH_SDK_WINDDK71_LIB_W2K       ?= $(PATH_SDK_WINDDK71_LIB_W2K.$(KBUILD_TARGET_ARCH))
    90 
    91 PATH_SDK_WINDDK71_LIB.amd64     ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
    92 PATH_SDK_WINDDK71_LIB.ia64      ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
    93 PATH_SDK_WINDDK71_LIB.x86       ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
    94 PATH_SDK_WINDDK71_LIB           ?= $(PATH_SDK_WINDDK71_LIB.$(KBUILD_TARGET_ARCH))
     84PATH_SDK_WINDDK80_LIB.amd64     ?= $(PATH_SDK_WINDDK80_LIB_WLH.amd64)
     85PATH_SDK_WINDDK80_LIB.x86       ?= $(PATH_SDK_WINDDK80_LIB_WLH.x86)
     86PATH_SDK_WINDDK80_LIB           ?= $(PATH_SDK_WINDDK80_LIB.$(KBUILD_TARGET_ARCH))
    9587
    9688# General Properties used by kBuild
    97 SDK_WINDDK71_DEFS.amd64    ?= _AMD64_ AMD64 _WIN64
    98 SDK_WINDDK71_DEFS.ia64     ?= _IA64_=1 IA64=1 _WIN64 _MSC_EXTENSIONS
    99 SDK_WINDDK71_DEFS.x86      ?= _X86_=1 i386=1 STD_CALL
    100 SDK_WINDDK71_INCS          ?= \
    101         $(PATH_SDK_WINDDK71_INC_API) \
    102         $(PATH_SDK_WINDDK71_INC_DDK)
     89SDK_WINDDK80_DEFS.amd64    ?= _AMD64_ AMD64 _WIN64
     90SDK_WINDDK80_DEFS.x86      ?= _X86_=1 i386=1 STD_CALL
     91SDK_WINDDK80_INCS          ?= \
     92        $(PATH_SDK_WINDDK80_INC_KM) \
     93        $(PATH_SDK_WINDDK80_INC_UM) \
     94        $(PATH_SDK_WINDDK80_INC_SHARED) \
    10395# The compiler tool(s) will have to select the appropriate crt includes.
    104 SDK_WINDDK71_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
    105 SDK_WINDDK71_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
    106 SDK_WINDDK71_LIBPATH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
     96SDK_WINDDK80_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK80_LIB_WLH.amd64)
     97SDK_WINDDK80_LIBPATH.x86   ?= $(PATH_SDK_WINDDK80_LIB_WLH.x86)
    10798
  • trunk/kBuild/sdks/WINDDK80W8.kmk

    r2605 r2607  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Microsoft Windows 7 DDKs, v7.1, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).
     3# kBuild SDK - The Microsoft Windows 8 DDKs, Targeting Windows 8 (KBUILD_TARGET_ARCH).
    44#
    55
     
    3232#
    3333
    34 SDK_WINDDK71WLH := The Microsoft Windows 7 DDKs, v7.1, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).
    35 SDK_WINDDK71WLH_EXTENDS = WINDDK71
    36 SDK_WINDDK71WLH_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005
    37 SDK_WINDDK71WLH_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
    38 SDK_WINDDK71WLH_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
    39 SDK_WINDDK71WLH_LIBPATH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
     34SDK_WINDDK80W8 := The Microsoft Windows 8 DDKs, Targeting Windows 8 (KBUILD_TARGET_ARCH).
     35SDK_WINDDK80W8_EXTENDS = WINDDK80
     36SDK_WINDDK80W8_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0602 WINVER=0x0602 _WIN32_IE=0x0A00 NTDDI_VERSION=0x06020000 \
     37        KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005
     38SDK_WINDDK80W8_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK80_LIB_W8.amd64)
     39SDK_WINDDK80W8_LIBPATH.x86   ?= $(PATH_SDK_WINDDK80_LIB_W8.x86)
    4040
    4141# SDK Specific Properties.
    42 # Note! extends the WINDDK71 sdk, so use those variables where ever possible
    43 PATH_SDK_WINDDK71WLH_LIB.amd64?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
    44 PATH_SDK_WINDDK71WLH_LIB.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
    45 PATH_SDK_WINDDK71WLH_LIB.x86  ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
    46 PATH_SDK_WINDDK71WLH_LIB      ?= $(PATH_SDK_WINDDK71WLH_LIB.$(KBUILD_TARGET_ARCH))
     42# Note! extends the WINDDK80 sdk, so use those variables where ever possible
     43PATH_SDK_WINDDK80W8_LIB.amd64?= $(PATH_SDK_WINDDK80_LIB_W8.amd64)
     44PATH_SDK_WINDDK80W8_LIB.x86  ?= $(PATH_SDK_WINDDK80_LIB_W8.x86)
     45PATH_SDK_WINDDK80W8_LIB      ?= $(PATH_SDK_WINDDK80W8_LIB.$(KBUILD_TARGET_ARCH))
    4746
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