VirtualBox

Changeset 2602 in kBuild


Ignore:
Timestamp:
Jul 12, 2012 8:21:45 PM (12 years ago)
Author:
bird
Message:

Windows 7 (v71) WDKs and SDKs.

Location:
trunk/kBuild/sdks
Files:
1 edited
6 copied

Legend:

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

    r2601 r2602  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Microsoft Windows Vista and Server 2008 DDKs.
     3# kBuild SDK - The Microsoft Windows 7 DDK, v7.1.
    44#              Defaults to $(KBUILD_TARGET_ARCH). Base SDK.
    55#
    66
    77#
    8 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     8# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    99#
    1010# This file is part of kBuild.
     
    3333#
    3434
    35 SDK_WINDDK := The Microsoft Windows Vista and Server 2008 DDKs. \
    36               Defaults to $(KBUILD_TARGET_ARCH). Base SDK.
     35SDK_WINDDK71 := The Microsoft Windows 7 DDK, v7.1. \
     36                Defaults to $(KBUILD_TARGET_ARCH). Base SDK.
    3737
    3838# SDK Specific Properties
    39 ifndef PATH_SDK_WINDDK
    40  PATH_SDK_WINDDK := $(wildcard $(PATH_DEVTOOLS_TRG)/ddk/6*)
    41  ifeq ($(PATH_SDK_WINDDK),)
    42   PATH_SDK_WINDDK := $(wildcard $(PATH_DEVTOOLS)/win.x86/ddk/6*)
     39ifndef 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*)
    4343 endif
    44  ifeq ($(PATH_SDK_WINDDK),)
    45   PATH_SDK_WINDDK := $(wildcard $(PATH_DEVTOOLS)/win.amd64/ddk/6*)
     44 ifeq ($(PATH_SDK_WINDDK71),)
     45  PATH_SDK_WINDDK71 := $(wildcard $(PATH_DEVTOOLS)/win.amd64/ddk/7600.16385.1*)
    4646 endif
    47  ifeq ($(PATH_SDK_WINDDK),)
     47 ifeq ($(PATH_SDK_WINDDK71),)
    4848  ifeq ($(KBUILD_HOST),win)
    49    PATH_SDK_WINDDK := $(wildcard C:/WinDDK/6*)
     49   PATH_SDK_WINDDK71 := $(wildcard C:/WinDDK/7600.16385.1*)
    5050  endif
    5151 endif
    52  ifneq ($(PATH_SDK_WINDDK),)
    53   PATH_SDK_WINDDK := $(lastword $(sort $(PATH_SDK_WINDDK)))
     52 ifneq ($(PATH_SDK_WINDDK71),)
     53  PATH_SDK_WINDDK71 := $(lastword $(sort $(PATH_SDK_WINDDK71)))
    5454 else
    55   $(warning kBuild: PATH_SDK_WINDDK couldn't be determined!)
    56   PATH_SDK_WINDDK := $(PATH_DEVTOOLS)/win.x86/ddk/not/found
     55  $(warning kBuild: PATH_SDK_WINDDK71 couldn't be determined!)
     56  PATH_SDK_WINDDK71 := $(PATH_DEVTOOLS)/win.x86/ddk/7600.16385.1-not-found
    5757 endif
    5858else
    5959 # Resolve any fancy stuff once and for all.
    60  PATH_SDK_WINDDK := $(PATH_SDK_WINDDK)
     60 PATH_SDK_WINDDK71 := $(PATH_SDK_WINDDK71)
    6161endif
    6262
    63 PATH_SDK_WINDDK_INC     ?= $(PATH_SDK_WINDDK)/inc
    64 PATH_SDK_WINDDK_INC_API ?= $(PATH_SDK_WINDDK_INC)/api
    65 PATH_SDK_WINDDK_INC_CRT ?= $(PATH_SDK_WINDDK_INC)/crt
    66 PATH_SDK_WINDDK_INC_DDK ?= $(PATH_SDK_WINDDK_INC)/ddk
     63PATH_SDK_WINDDK71_INC     ?= $(PATH_SDK_WINDDK71)/inc
     64PATH_SDK_WINDDK71_INC_API ?= $(PATH_SDK_WINDDK71_INC)/api
     65PATH_SDK_WINDDK71_INC_CRT ?= $(PATH_SDK_WINDDK71_INC)/crt
     66PATH_SDK_WINDDK71_INC_DDK ?= $(PATH_SDK_WINDDK71_INC)/ddk
    6767
    68 PATH_SDK_WINDDK_LIB_ROOT      ?= $(PATH_SDK_WINDDK)/lib
    69 PATH_SDK_WINDDK_LIB_WLH_ROOT  ?= $(PATH_SDK_WINDDK_LIB_ROOT)/wlh
    70 PATH_SDK_WINDDK_LIB_WNET_ROOT ?= $(PATH_SDK_WINDDK_LIB_ROOT)/wnet
    71 PATH_SDK_WINDDK_LIB_WXP_ROOT  ?= $(PATH_SDK_WINDDK_LIB_ROOT)/wxp
    72 PATH_SDK_WINDDK_LIB_W2K_ROOT  ?= $(PATH_SDK_WINDDK_LIB_ROOT)/w2k
    73 PATH_SDK_WINDDK_LIB_WDF_ROOT  ?= $(PATH_SDK_WINDDK_LIB_ROOT)/w2k
     68PATH_SDK_WINDDK71_LIB_ROOT      ?= $(PATH_SDK_WINDDK71)/lib
     69PATH_SDK_WINDDK71_LIB_WLH_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/wlh
     70PATH_SDK_WINDDK71_LIB_WNET_ROOT ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/wnet
     71PATH_SDK_WINDDK71_LIB_WXP_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/wxp
     72PATH_SDK_WINDDK71_LIB_W2K_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/w2k
     73PATH_SDK_WINDDK71_LIB_WDF_ROOT  ?= $(PATH_SDK_WINDDK71_LIB_ROOT)/w2k
    7474
    75 PATH_SDK_WINDDK_LIB_WLH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WLH_ROOT)/amd64
    76 PATH_SDK_WINDDK_LIB_WLH.ia64  ?= $(PATH_SDK_WINDDK_LIB_WLH_ROOT)/ia64
    77 PATH_SDK_WINDDK_LIB_WLH.x86   ?= $(PATH_SDK_WINDDK_LIB_WLH_ROOT)/i386
    78 PATH_SDK_WINDDK_LIB_WLH       ?= $(PATH_SDK_WINDDK_LIB_WLH.$(KBUILD_TARGET_ARCH))
     75PATH_SDK_WINDDK71_LIB_WLH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH_ROOT)/amd64
     76PATH_SDK_WINDDK71_LIB_WLH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WLH_ROOT)/ia64
     77PATH_SDK_WINDDK71_LIB_WLH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WLH_ROOT)/i386
     78PATH_SDK_WINDDK71_LIB_WLH       ?= $(PATH_SDK_WINDDK71_LIB_WLH.$(KBUILD_TARGET_ARCH))
    7979
    80 PATH_SDK_WINDDK_LIB_WNET.amd64?= $(PATH_SDK_WINDDK_LIB_WNET_ROOT)/amd64
    81 PATH_SDK_WINDDK_LIB_WNET.ia64 ?= $(PATH_SDK_WINDDK_LIB_WNET_ROOT)/ia64
    82 PATH_SDK_WINDDK_LIB_WNET.x86  ?= $(PATH_SDK_WINDDK_LIB_WNET_ROOT)/i386
    83 PATH_SDK_WINDDK_LIB_WNET      ?= $(PATH_SDK_WINDDK_LIB_WNET.$(KBUILD_TARGET_ARCH))
     80PATH_SDK_WINDDK71_LIB_WNET.amd64?= $(PATH_SDK_WINDDK71_LIB_WNET_ROOT)/amd64
     81PATH_SDK_WINDDK71_LIB_WNET.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WNET_ROOT)/ia64
     82PATH_SDK_WINDDK71_LIB_WNET.x86  ?= $(PATH_SDK_WINDDK71_LIB_WNET_ROOT)/i386
     83PATH_SDK_WINDDK71_LIB_WNET      ?= $(PATH_SDK_WINDDK71_LIB_WNET.$(KBUILD_TARGET_ARCH))
    8484
    85 PATH_SDK_WINDDK_LIB_WXP.x86   ?= $(PATH_SDK_WINDDK_LIB_WXP_ROOT)/i386
    86 PATH_SDK_WINDDK_LIB_WXP       ?= $(PATH_SDK_WINDDK_LIB_WXP.$(KBUILD_TARGET_ARCH))
     85PATH_SDK_WINDDK71_LIB_WXP.x86   ?= $(PATH_SDK_WINDDK71_LIB_WXP_ROOT)/i386
     86PATH_SDK_WINDDK71_LIB_WXP       ?= $(PATH_SDK_WINDDK71_LIB_WXP.$(KBUILD_TARGET_ARCH))
    8787
    88 PATH_SDK_WINDDK_LIB_W2K.x86   ?= $(PATH_SDK_WINDDK_LIB_W2K_ROOT)/i386
    89 PATH_SDK_WINDDK_LIB_W2K       ?= $(PATH_SDK_WINDDK_LIB_W2K.$(KBUILD_TARGET_ARCH))
     88PATH_SDK_WINDDK71_LIB_W2K.x86   ?= $(PATH_SDK_WINDDK71_LIB_W2K_ROOT)/i386
     89PATH_SDK_WINDDK71_LIB_W2K       ?= $(PATH_SDK_WINDDK71_LIB_W2K.$(KBUILD_TARGET_ARCH))
    9090
    91 PATH_SDK_WINDDK_LIB.amd64     ?= $(PATH_SDK_WINDDK_LIB_WLH.amd64)
    92 PATH_SDK_WINDDK_LIB.ia64      ?= $(PATH_SDK_WINDDK_LIB_WLH.ia64)
    93 PATH_SDK_WINDDK_LIB.x86       ?= $(PATH_SDK_WINDDK_LIB_WLH.x86)
    94 PATH_SDK_WINDDK_LIB           ?= $(PATH_SDK_WINDDK_LIB.$(KBUILD_TARGET_ARCH))
     91PATH_SDK_WINDDK71_LIB.amd64     ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
     92PATH_SDK_WINDDK71_LIB.ia64      ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
     93PATH_SDK_WINDDK71_LIB.x86       ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
     94PATH_SDK_WINDDK71_LIB           ?= $(PATH_SDK_WINDDK71_LIB.$(KBUILD_TARGET_ARCH))
    9595
    9696# General Properties used by kBuild
    97 SDK_WINDDK_DEFS.amd64    ?= _AMD64_ AMD64 _WIN64
    98 SDK_WINDDK_DEFS.ia64     ?= _IA64_=1 IA64=1 _WIN64 _MSC_EXTENSIONS
    99 SDK_WINDDK_DEFS.x86      ?= _X86_=1 i386=1 STD_CALL
    100 SDK_WINDDK_INCS          ?= \
    101         $(PATH_SDK_WINDDK_INC_API) \
    102         $(PATH_SDK_WINDDK_INC_DDK)
     97SDK_WINDDK71_DEFS.amd64    ?= _AMD64_ AMD64 _WIN64
     98SDK_WINDDK71_DEFS.ia64     ?= _IA64_=1 IA64=1 _WIN64 _MSC_EXTENSIONS
     99SDK_WINDDK71_DEFS.x86      ?= _X86_=1 i386=1 STD_CALL
     100SDK_WINDDK71_INCS          ?= \
     101        $(PATH_SDK_WINDDK71_INC_API) \
     102        $(PATH_SDK_WINDDK71_INC_DDK)
    103103# The compiler tool(s) will have to select the appropriate crt includes.
    104 SDK_WINDDK_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WLH.amd64)
    105 SDK_WINDDK_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK_LIB_WLH.ia64)
    106 SDK_WINDDK_LIBPATH.x86   ?= $(PATH_SDK_WINDDK_LIB_WLH.x86)
     104SDK_WINDDK71_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
     105SDK_WINDDK71_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
     106SDK_WINDDK71_LIBPATH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
    107107
    108 #
    109 # CDFS defines for the various build environments. Just to give an idea what
    110 # you should put in your templates and target DEFS.
    111 #
    112 
    113 # Vista / Server Longhorn x64 Free:  NT_INST=0 WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL
    114 # Vista / Server Longhorn ia64 Free: NT_INST=0 WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL NO_HW_DETECT _MSC_EXTENSIONS _MERCED_A0_=1 FPO=0
    115 # Vista / Server Longhorn x86 Free:  NT_INST=0 WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL STD_CALL FPO=0
    116 # Windows Server 2003 amd64 Free:    NT_INST=0 WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x05020100 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL
    117 # Windows Server 2003 ia64 Free:     NT_INST=0 WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x05020100 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL NO_HW_DETECT _MSC_EXTENSIONS _MERCED_A0_=1 FPO=0
    118 # Windows Server 2003 x86 Free:      NT_INST=0 WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x05020100 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL STD_CALL FPO=0
    119 # Windows XP Free:                   NT_INST=0 WIN32=100 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0603 NTDDI_VERSION=0x05010200 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL STD_CALL FPO=0
    120 # Windows 2000 Free:                 NT_INST=0 WIN32=100 _WIN32_WINNT=0x0500 WINVER=0x0500 _WIN32_IE=0x0501 NTDDI_VERSION=0x05000400 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL STD_CALL FPO=0
    121 # Windows 2000 Checked:              NT_INST=0 WIN32=100 _WIN32_WINNT=0x0500 WINVER=0x0500 _WIN32_IE=0x0501 NTDDI_VERSION=0x05000400 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 WIN32_LEAN_AND_MEAN=1 CONDITION_HANDLING=1 DEVL=1 NDEBUG __BUILDMACHINE__=WinDDK _DLL STD_CALL FPO=0 MSC_NOOPT
    122 
    123 # Some notes about the defines:
    124 #  NTDDI_VERSION indicates the target NT version, looks kind of important to get right.
    125 #  _WIN32_WINNT, WINVER and _WIN32_IE are used by a bunch of headers for selecting features.
    126 #  WIN32_LEAN_AND_MEAN is used by api\WINDOWS.H to drop a bunch of includes.
    127 #  WIN32 is just used for some ifdef'ing by a handful headers.
    128 #  __BUILDMACHINE__ is used by api\common.ver (for resources it seems).
    129 #  STD_CALL is used by ddk\stdcall.inc (masm).
    130 #  DEVL governs the IF_NTOS_DEBUG() macro in ddk\wdm.h.
    131 #  NDEBUG is used by crt\assert.h dictated by the standards.
    132 #  CONDITION_HANDLING, FPO, KMDF_MAJOR_VERSION, KMDF_MINOR_VERSION, MSC_NOOPT and NT_INST are not referenced in any headers.
    133 
  • trunk/kBuild/sdks/WINDDK71WLH.kmk

    r2601 r2602  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Microsoft Windows Vista and Server 2008 DDKs, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).
     3# kBuild SDK - The Microsoft Windows 7 DDKs, v7.1, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).
    44#
    55
    66#
    7 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    3232#
    3333
    34 SDK_WINDDKWLH := The Microsoft Windows Vista and Server 2008 DDKs, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).
    35 SDK_WINDDKWLH_EXTENDS = WINDDK
    36 SDK_WINDDKWLH_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005
    37 SDK_WINDDKWLH_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WLH.amd64)
    38 SDK_WINDDKWLH_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK_LIB_WLH.ia64)
    39 SDK_WINDDKWLH_LIBPATH.x86   ?= $(PATH_SDK_WINDDK_LIB_WLH.x86)
     34SDK_WINDDK71WLH := The Microsoft Windows 7 DDKs, v7.1, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).
     35SDK_WINDDK71WLH_EXTENDS = WINDDK71
     36SDK_WINDDK71WLH_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005
     37SDK_WINDDK71WLH_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
     38SDK_WINDDK71WLH_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
     39SDK_WINDDK71WLH_LIBPATH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
    4040
    4141# SDK Specific Properties.
    42 # Note! extends the WINDDK sdk, so use those variables where ever possible
    43 PATH_SDK_WINDDKWLH_LIB.amd64?= $(PATH_SDK_WINDDK_LIB_WLH.amd64)
    44 PATH_SDK_WINDDKWLH_LIB.ia64 ?= $(PATH_SDK_WINDDK_LIB_WLH.ia64)
    45 PATH_SDK_WINDDKWLH_LIB.x86  ?= $(PATH_SDK_WINDDK_LIB_WLH.x86)
    46 PATH_SDK_WINDDKWLH_LIB      ?= $(PATH_SDK_WINDDKWLH_LIB.$(KBUILD_TARGET_ARCH))
     42# Note! extends the WINDDK71 sdk, so use those variables where ever possible
     43PATH_SDK_WINDDK71WLH_LIB.amd64?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64)
     44PATH_SDK_WINDDK71WLH_LIB.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)
     45PATH_SDK_WINDDK71WLH_LIB.x86  ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)
     46PATH_SDK_WINDDK71WLH_LIB      ?= $(PATH_SDK_WINDDK71WLH_LIB.$(KBUILD_TARGET_ARCH))
    4747
  • trunk/kBuild/sdks/WINDDK71WNET.kmk

    r2601 r2602  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Microsoft Windows Vista and Server 2008 DDKs, Targeting Windows Server 2003 (KBUILD_TARGET_ARCH).
     3# kBuild SDK - The Microsoft Windows 7 DDKs, v7.1, Targeting Windows Server 2003 (KBUILD_TARGET_ARCH).
    44#
    55
    66#
    7 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    3232#
    3333
    34 SDK_WINDDKWNET := The Microsoft Windows Vista and Server 2008 DDKs, Targeting Windows Server 2003 (KBUILD_TARGET_ARCH).
    35 SDK_WINDDKWNET_EXTENDS = WINDDK
    36 SDK_WINDDKWNET_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x05020100
    37 SDK_WINDDKWNET_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WNET.amd64)
    38 SDK_WINDDKWNET_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK_LIB_WNET.ia64)
    39 SDK_WINDDKWNET_LIBPATH.x86   ?= $(PATH_SDK_WINDDK_LIB_WNET.x86)
     34SDK_WINDDK71WNET := The Microsoft Windows 7 DDKs, v7.1, Targeting Windows Server 2003 (KBUILD_TARGET_ARCH).
     35SDK_WINDDK71WNET_EXTENDS = WINDDK71
     36SDK_WINDDK71WNET_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x05020100
     37SDK_WINDDK71WNET_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WNET.amd64)
     38SDK_WINDDK71WNET_LIBPATH.ia64  ?= $(PATH_SDK_WINDDK71_LIB_WNET.ia64)
     39SDK_WINDDK71WNET_LIBPATH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WNET.x86)
    4040
    4141# SDK Specific Properties.
    42 # Note! extends the WINDDK sdk, so use those variables where ever possible
    43 PATH_SDK_WINDDKWNET_LIB.amd64?= $(PATH_SDK_WINDDK_LIB_WNET.amd64)
    44 PATH_SDK_WINDDKWNET_LIB.ia64 ?= $(PATH_SDK_WINDDK_LIB_WNET.ia64)
    45 PATH_SDK_WINDDKWNET_LIB.x86  ?= $(PATH_SDK_WINDDK_LIB_WNET.x86)
    46 PATH_SDK_WINDDKWNET_LIB      ?= $(PATH_SDK_WINDDKWNET_LIB.$(KBUILD_TARGET_ARCH))
     42# Note! extends the WINDDK71 sdk, so use those variables where ever possible
     43PATH_SDK_WINDDK71WNET_LIB.amd64?= $(PATH_SDK_WINDDK71_LIB_WNET.amd64)
     44PATH_SDK_WINDDK71WNET_LIB.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WNET.ia64)
     45PATH_SDK_WINDDK71WNET_LIB.x86  ?= $(PATH_SDK_WINDDK71_LIB_WNET.x86)
     46PATH_SDK_WINDDK71WNET_LIB      ?= $(PATH_SDK_WINDDK71WNET_LIB.$(KBUILD_TARGET_ARCH))
    4747
  • trunk/kBuild/sdks/WINDDK71WXP.kmk

    r2601 r2602  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Microsoft Windows Vista and Server 2008 DDKs, Targeting Windows XP (x86).
     3# kBuild SDK - The Microsoft Windows 7 DDK, v7.1, Targeting Windows XP (x86).
    44#
    55
    66#
    7 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    3232#
    3333
    34 SDK_WINDDKWXP := The Microsoft Windows Vista and Server 2008 DDKs, Targeting Windows XP (x86).
    35 SDK_WINDDKWXP_EXTENDS = WINDDK
    36 SDK_WINDDKWXP_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0603 NTDDI_VERSION=0x05010200
    37 SDK_WINDDKWXP_LIBPATH.x86   ?= $(PATH_SDK_WINDDK_LIB_WXP.x86)
     34SDK_WINDDK71WXP := The Microsoft Windows 7 DDK, v7.1, Targeting Windows XP (x86).
     35SDK_WINDDK71WXP_EXTENDS = WINDDK71
     36SDK_WINDDK71WXP_DEFS          ?= WIN32=100 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0603 NTDDI_VERSION=0x05010200
     37SDK_WINDDK71WXP_LIBPATH.x86   ?= $(PATH_SDK_WINDDK71_LIB_WXP.x86)
    3838
    3939# SDK Specific Properties.
    40 # Note! extends the WINDDK sdk, so use those variables where ever possible
    41 PATH_SDK_WINDDKWXP_LIB.x86  ?= $(PATH_SDK_WINDDK_LIB_WXP.x86)
    42 PATH_SDK_WINDDKWXP_LIB      ?= $(PATH_SDK_WINDDKWXP_LIB.x86)
     40# Note! extends the WINDDK71 sdk, so use those variables where ever possible
     41PATH_SDK_WINDDK71WXP_LIB.x86  ?= $(PATH_SDK_WINDDK71_LIB_WXP.x86)
     42PATH_SDK_WINDDK71WXP_LIB      ?= $(PATH_SDK_WINDDK71WXP_LIB.x86)
    4343
  • trunk/kBuild/sdks/WINPSDK.kmk

    r2430 r2602  
    55
    66#
    7 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    4242 ifeq ($(PATH_SDK_WINPSDK),)
    4343  PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*)
    44  endif
    45  ifeq ($(PATH_SDK_WINPSDK),)
    46   PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)
    4744 endif
    4845 ifeq ($(PATH_SDK_WINPSDK),)
  • trunk/kBuild/sdks/WINPSDK71.kmk

    r2601 r2602  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Windows Platform SDK, targeting (KBUILD_TARGET).
     3# kBuild SDK - The Windows Platform SDK v7.1, targeting (KBUILD_TARGET).
    44#
    55
    66#
    7 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    3232#
    3333
    34 SDK_WINPSDK := The Windows Platform SDK, targeting (KBUILD_TARGET).
     34SDK_WINPSDK71 := The Windows Platform SDK v7.1, targeting (KBUILD_TARGET).
    3535
    3636# SDK Specific Properties
    37 ifndef PATH_SDK_WINPSDK
    38  PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/2*)
    39  ifeq ($(PATH_SDK_WINPSDK),)
    40   PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS_TRG)/sdk/2*)
     37ifndef PATH_SDK_WINPSDK71
     38 PATH_SDK_WINPSDK71 := $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/v7.1*)
     39 ifeq ($(PATH_SDK_WINPSDK71),)
     40  PATH_SDK_WINPSDK71 := $(wildcard $(PATH_DEVTOOLS_TRG)/sdk/v7.1*)
    4141 endif
    42  ifeq ($(PATH_SDK_WINPSDK),)
    43   PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*)
     42 ifeq ($(PATH_SDK_WINPSDK71),)
     43  PATH_SDK_WINPSDK71 := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/v7.1*)
    4444 endif
    45  ifeq ($(PATH_SDK_WINPSDK),)
    46   PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)
     45 ifeq ($(PATH_SDK_WINPSDK71),)
     46  PATH_SDK_WINPSDK71 := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/v7.1*)
    4747 endif
    48  ifeq ($(PATH_SDK_WINPSDK),)
    49   PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/2*)
    50  endif
    51  ifneq ($(PATH_SDK_WINPSDK),)
    52   PATH_SDK_WINPSDK := $(lastword $(sort $(PATH_SDK_WINPSDK)))
     48 ifneq ($(PATH_SDK_WINPSDK71),)
     49  PATH_SDK_WINPSDK71 := $(lastword $(sort $(PATH_SDK_WINPSDK71)))
    5350 else
    54   $(warning kBuild: PATH_SDK_WINPSDK couldn't be determined!)
    55   PATH_SDK_WINPSDK := $(PATH_DEVTOOLS_BLD)/sdk/not/found
     51  $(warning kBuild: PATH_SDK_WINPSDK71 couldn't be determined!)
     52  PATH_SDK_WINPSDK71 := $(PATH_DEVTOOLS_BLD)/sdk/v7.1-not-found
    5653 endif
    5754else
    58  PATH_SDK_WINPSDK := $(PATH_SDK_WINPSDK)
     55 PATH_SDK_WINPSDK71 := $(PATH_SDK_WINPSDK71)
    5956endif
    6057
    61 ifndef PATH_SDK_WINPSDK_INC
    62 PATH_SDK_WINPSDK_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDK)/Include)
     58ifndef PATH_SDK_WINPSDK71_INC
     59PATH_SDK_WINPSDK71_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDK71)/Include)
    6360endif
    6461
    65 ifndef PATH_SDK_WINPSDK_LIB.x86
    66 PATH_SDK_WINPSDK_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK)/Lib)
     62ifndef PATH_SDK_WINPSDK71_LIB.x86
     63PATH_SDK_WINPSDK71_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK71)/Lib)
    6764endif
    68 ifndef PATH_SDK_WINPSDK_LIB.amd64
    69 PATH_SDK_WINPSDK_LIB.amd64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ll][Ii][Bb]/[Aa][Mm][Dd]64 $(PATH_SDK_WINPSDK)/[Ll][Ii][Bb]/[xX]64) $(PATH_SDK_WINPSDK)/Lib/AMD64)
     65ifndef PATH_SDK_WINPSDK71_LIB.amd64
     66PATH_SDK_WINPSDK71_LIB.amd64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ll][Ii][Bb]/[Aa][Mm][Dd]64 $(PATH_SDK_WINPSDK71)/[Ll][Ii][Bb]/[xX]64) $(PATH_SDK_WINPSDK71)/Lib/AMD64)
    7067endif
    71 ifndef PATH_SDK_WINPSDK_LIB.ia64
    72 PATH_SDK_WINPSDK_LIB.ia64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ll][Ii][Bb]/[Ii][Aa]64) $(PATH_SDK_WINPSDK)/Lib/IA64)
     68ifndef PATH_SDK_WINPSDK71_LIB.ia64
     69PATH_SDK_WINPSDK71_LIB.ia64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ll][Ii][Bb]/[Ii][Aa]64) $(PATH_SDK_WINPSDK71)/Lib/IA64)
    7370endif
    74 PATH_SDK_WINPSDK_LIB ?= $(PATH_SDK_WINPSDK_LIB.$(KBUILD_TARGET_ARCH))
     71PATH_SDK_WINPSDK71_LIB ?= $(PATH_SDK_WINPSDK71_LIB.$(KBUILD_TARGET_ARCH))
    7572
    76 ifndef PATH_SDK_WINPSDK_BIN
    77 PATH_SDK_WINPSDK_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK)/Bin)
     73ifndef PATH_SDK_WINPSDK71_BIN
     74PATH_SDK_WINPSDK71_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK71)/Bin)
    7875endif
    79 ifndef PATH_SDK_WINPSDK_BIN_AMD64
    80 PATH_SDK_WINPSDK_BIN_AMD64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK_BIN)/[Ww][Ii][Nn]64/[Xx]86/[Aa][Mm][Dd]64 $(PATH_SDK_WINPSDK_BIN)/[Ww][Ii][Nn]64/[Xx]86) $(PATH_SDK_WINPSDK_BIN)/win64/AMD64)
     76ifndef PATH_SDK_WINPSDK71_BIN_AMD64
     77PATH_SDK_WINPSDK71_BIN_AMD64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71_BIN)/[Ww][Ii][Nn]64/[Xx]86/[Aa][Mm][Dd]64 $(PATH_SDK_WINPSDK71_BIN)/[Ww][Ii][Nn]64/[Xx]86) $(PATH_SDK_WINPSDK71_BIN)/win64/AMD64)
    8178endif
    82 ifndef PATH_SDK_WINPSDK_BIN_IA64
    83 PATH_SDK_WINPSDK_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDK_BIN)/win64)
     79ifndef PATH_SDK_WINPSDK71_BIN_IA64
     80PATH_SDK_WINPSDK71_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDK71_BIN)/win64)
    8481endif
    8582
    8683
    8784# General Properties used by kBuild
    88 SDK_WINPSDK_INCS ?= $(PATH_SDK_WINPSDK_INC)
    89 SDK_WINPSDK_LIBPATH.x86   ?= $(PATH_SDK_WINPSDK_LIB.x86)
    90 SDK_WINPSDK_LIBPATH.amd64 ?= $(PATH_SDK_WINPSDK_LIB.amd64)
    91 SDK_WINPSDK_LIBPATH.ia64  ?= $(PATH_SDK_WINPSDK_LIB.ia64)
    92 SDK_WINPSDK_LIBS.x86 ?= \
    93         $(PATH_SDK_WINPSDK_LIB.x86)/Kernel32.Lib \
    94         $(PATH_SDK_WINPSDK_LIB.x86)/User32.Lib \
    95         $(PATH_SDK_WINPSDK_LIB.x86)/Gdi32.Lib \
    96         $(PATH_SDK_WINPSDK_LIB.x86)/AdvAPI32.Lib \
    97         $(PATH_SDK_WINPSDK_LIB.x86)/Shell32.Lib \
    98         $(PATH_SDK_WINPSDK_LIB.x86)/ShLwApi.Lib \
    99         $(PATH_SDK_WINPSDK_LIB.x86)/SetupAPI.Lib \
    100         $(PATH_SDK_WINPSDK_LIB.x86)/Uuid.Lib \
    101         $(PATH_SDK_WINPSDK_LIB.x86)/Version.Lib \
    102         $(PATH_SDK_WINPSDK_LIB.x86)/WS2_32.Lib \
     85SDK_WINPSDK71_INCS ?= $(PATH_SDK_WINPSDK71_INC)
     86SDK_WINPSDK71_LIBPATH.x86   ?= $(PATH_SDK_WINPSDK71_LIB.x86)
     87SDK_WINPSDK71_LIBPATH.amd64 ?= $(PATH_SDK_WINPSDK71_LIB.amd64)
     88SDK_WINPSDK71_LIBPATH.ia64  ?= $(PATH_SDK_WINPSDK71_LIB.ia64)
     89SDK_WINPSDK71_LIBS.x86 ?= \
     90        $(PATH_SDK_WINPSDK71_LIB.x86)/Kernel32.Lib \
     91        $(PATH_SDK_WINPSDK71_LIB.x86)/User32.Lib \
     92        $(PATH_SDK_WINPSDK71_LIB.x86)/Gdi32.Lib \
     93        $(PATH_SDK_WINPSDK71_LIB.x86)/AdvAPI32.Lib \
     94        $(PATH_SDK_WINPSDK71_LIB.x86)/Shell32.Lib \
     95        $(PATH_SDK_WINPSDK71_LIB.x86)/ShLwApi.Lib \
     96        $(PATH_SDK_WINPSDK71_LIB.x86)/SetupAPI.Lib \
     97        $(PATH_SDK_WINPSDK71_LIB.x86)/Uuid.Lib \
     98        $(PATH_SDK_WINPSDK71_LIB.x86)/Version.Lib \
     99        $(PATH_SDK_WINPSDK71_LIB.x86)/WS2_32.Lib \
    103100        \
    104         $(PATH_SDK_WINPSDK_LIB.x86)/Ole32.Lib \
    105         $(PATH_SDK_WINPSDK_LIB.x86)/OleAut32.Lib \
    106         $(PATH_SDK_WINPSDK_LIB.x86)/OleDlg.Lib \
    107         $(PATH_SDK_WINPSDK_LIB.x86)/RpcRT4.Lib \
     101        $(PATH_SDK_WINPSDK71_LIB.x86)/Ole32.Lib \
     102        $(PATH_SDK_WINPSDK71_LIB.x86)/OleAut32.Lib \
     103        $(PATH_SDK_WINPSDK71_LIB.x86)/OleDlg.Lib \
     104        $(PATH_SDK_WINPSDK71_LIB.x86)/RpcRT4.Lib \
    108105        \
    109         $(PATH_SDK_WINPSDK_LIB.x86)/DbgHelp.Lib \
    110         $(PATH_SDK_WINPSDK_LIB.x86)/ImageHlp.Lib \
    111         $(PATH_SDK_WINPSDK_LIB.x86)/IPHlpApi.Lib \
    112         $(PATH_SDK_WINPSDK_LIB.x86)/ComCtl32.Lib \
    113         $(PATH_SDK_WINPSDK_LIB.x86)/ComDlg32.Lib \
    114         $(PATH_SDK_WINPSDK_LIB.x86)/WinSpool.Lib \
    115         $(PATH_SDK_WINPSDK_LIB.x86)/WinMM.Lib
    116 SDK_WINPSDK_LIBS.amd64 ?= \
    117         $(PATH_SDK_WINPSDK_LIB.amd64)/Kernel32.Lib \
    118         $(PATH_SDK_WINPSDK_LIB.amd64)/User32.Lib \
    119         $(PATH_SDK_WINPSDK_LIB.amd64)/Gdi32.Lib \
    120         $(PATH_SDK_WINPSDK_LIB.amd64)/AdvAPI32.Lib \
    121         $(PATH_SDK_WINPSDK_LIB.amd64)/Shell32.Lib \
    122         $(PATH_SDK_WINPSDK_LIB.amd64)/ShLwApi.Lib \
    123         $(PATH_SDK_WINPSDK_LIB.amd64)/SetupAPI.Lib \
    124         $(PATH_SDK_WINPSDK_LIB.amd64)/Uuid.Lib \
    125         $(PATH_SDK_WINPSDK_LIB.amd64)/Version.Lib \
    126         $(PATH_SDK_WINPSDK_LIB.amd64)/WS2_32.Lib \
     106        $(PATH_SDK_WINPSDK71_LIB.x86)/DbgHelp.Lib \
     107        $(PATH_SDK_WINPSDK71_LIB.x86)/ImageHlp.Lib \
     108        $(PATH_SDK_WINPSDK71_LIB.x86)/IPHlpApi.Lib \
     109        $(PATH_SDK_WINPSDK71_LIB.x86)/ComCtl32.Lib \
     110        $(PATH_SDK_WINPSDK71_LIB.x86)/ComDlg32.Lib \
     111        $(PATH_SDK_WINPSDK71_LIB.x86)/WinSpool.Lib \
     112        $(PATH_SDK_WINPSDK71_LIB.x86)/WinMM.Lib
     113SDK_WINPSDK71_LIBS.amd64 ?= \
     114        $(PATH_SDK_WINPSDK71_LIB.amd64)/Kernel32.Lib \
     115        $(PATH_SDK_WINPSDK71_LIB.amd64)/User32.Lib \
     116        $(PATH_SDK_WINPSDK71_LIB.amd64)/Gdi32.Lib \
     117        $(PATH_SDK_WINPSDK71_LIB.amd64)/AdvAPI32.Lib \
     118        $(PATH_SDK_WINPSDK71_LIB.amd64)/Shell32.Lib \
     119        $(PATH_SDK_WINPSDK71_LIB.amd64)/ShLwApi.Lib \
     120        $(PATH_SDK_WINPSDK71_LIB.amd64)/SetupAPI.Lib \
     121        $(PATH_SDK_WINPSDK71_LIB.amd64)/Uuid.Lib \
     122        $(PATH_SDK_WINPSDK71_LIB.amd64)/Version.Lib \
     123        $(PATH_SDK_WINPSDK71_LIB.amd64)/WS2_32.Lib \
    127124        \
    128         $(PATH_SDK_WINPSDK_LIB.amd64)/Ole32.Lib \
    129         $(PATH_SDK_WINPSDK_LIB.amd64)/OleAut32.Lib \
    130         $(PATH_SDK_WINPSDK_LIB.amd64)/OleDlg.Lib \
    131         $(PATH_SDK_WINPSDK_LIB.amd64)/RpcRT4.Lib \
     125        $(PATH_SDK_WINPSDK71_LIB.amd64)/Ole32.Lib \
     126        $(PATH_SDK_WINPSDK71_LIB.amd64)/OleAut32.Lib \
     127        $(PATH_SDK_WINPSDK71_LIB.amd64)/OleDlg.Lib \
     128        $(PATH_SDK_WINPSDK71_LIB.amd64)/RpcRT4.Lib \
    132129        \
    133         $(PATH_SDK_WINPSDK_LIB.amd64)/DbgHelp.Lib \
    134         $(PATH_SDK_WINPSDK_LIB.amd64)/ImageHlp.Lib \
    135         $(PATH_SDK_WINPSDK_LIB.amd64)/IPHlpApi.Lib \
    136         $(PATH_SDK_WINPSDK_LIB.amd64)/ComCtl32.Lib \
    137         $(PATH_SDK_WINPSDK_LIB.amd64)/ComDlg32.Lib \
    138         $(PATH_SDK_WINPSDK_LIB.amd64)/WinSpool.Lib \
    139         $(PATH_SDK_WINPSDK_LIB.amd64)/WinMM.Lib
    140 SDK_WINPSDK_LIBS.ia64 ?= \
    141         $(PATH_SDK_WINPSDK_LIB.ia64)/Kernel32.Lib \
    142         $(PATH_SDK_WINPSDK_LIB.ia64)/User32.Lib \
    143         $(PATH_SDK_WINPSDK_LIB.ia64)/Gdi32.Lib \
    144         $(PATH_SDK_WINPSDK_LIB.ia64)/AdvAPI32.Lib \
    145         $(PATH_SDK_WINPSDK_LIB.ia64)/Shell32.Lib \
    146         $(PATH_SDK_WINPSDK_LIB.ia64)/ShLwApi.Lib \
    147         $(PATH_SDK_WINPSDK_LIB.ia64)/SetupAPI.Lib \
    148         $(PATH_SDK_WINPSDK_LIB.ia64)/Uuid.Lib \
    149         $(PATH_SDK_WINPSDK_LIB.ia64)/Version.Lib \
    150         $(PATH_SDK_WINPSDK_LIB.ia64)/WS2_32.Lib \
     130        $(PATH_SDK_WINPSDK71_LIB.amd64)/DbgHelp.Lib \
     131        $(PATH_SDK_WINPSDK71_LIB.amd64)/ImageHlp.Lib \
     132        $(PATH_SDK_WINPSDK71_LIB.amd64)/IPHlpApi.Lib \
     133        $(PATH_SDK_WINPSDK71_LIB.amd64)/ComCtl32.Lib \
     134        $(PATH_SDK_WINPSDK71_LIB.amd64)/ComDlg32.Lib \
     135        $(PATH_SDK_WINPSDK71_LIB.amd64)/WinSpool.Lib \
     136        $(PATH_SDK_WINPSDK71_LIB.amd64)/WinMM.Lib
     137SDK_WINPSDK71_LIBS.ia64 ?= \
     138        $(PATH_SDK_WINPSDK71_LIB.ia64)/Kernel32.Lib \
     139        $(PATH_SDK_WINPSDK71_LIB.ia64)/User32.Lib \
     140        $(PATH_SDK_WINPSDK71_LIB.ia64)/Gdi32.Lib \
     141        $(PATH_SDK_WINPSDK71_LIB.ia64)/AdvAPI32.Lib \
     142        $(PATH_SDK_WINPSDK71_LIB.ia64)/Shell32.Lib \
     143        $(PATH_SDK_WINPSDK71_LIB.ia64)/ShLwApi.Lib \
     144        $(PATH_SDK_WINPSDK71_LIB.ia64)/SetupAPI.Lib \
     145        $(PATH_SDK_WINPSDK71_LIB.ia64)/Uuid.Lib \
     146        $(PATH_SDK_WINPSDK71_LIB.ia64)/Version.Lib \
     147        $(PATH_SDK_WINPSDK71_LIB.ia64)/WS2_32.Lib \
    151148        \
    152         $(PATH_SDK_WINPSDK_LIB.ia64)/Ole32.Lib \
    153         $(PATH_SDK_WINPSDK_LIB.ia64)/OleAut32.Lib \
    154         $(PATH_SDK_WINPSDK_LIB.ia64)/OleDlg.Lib \
    155         $(PATH_SDK_WINPSDK_LIB.ia64)/RpcRT4.Lib \
     149        $(PATH_SDK_WINPSDK71_LIB.ia64)/Ole32.Lib \
     150        $(PATH_SDK_WINPSDK71_LIB.ia64)/OleAut32.Lib \
     151        $(PATH_SDK_WINPSDK71_LIB.ia64)/OleDlg.Lib \
     152        $(PATH_SDK_WINPSDK71_LIB.ia64)/RpcRT4.Lib \
    156153        \
    157         $(PATH_SDK_WINPSDK_LIB.ia64)/DbgHelp.Lib \
    158         $(PATH_SDK_WINPSDK_LIB.ia64)/ImageHlp.Lib \
    159         $(PATH_SDK_WINPSDK_LIB.ia64)/IPHlpApi.Lib \
    160         $(PATH_SDK_WINPSDK_LIB.ia64)/ComCtl32.Lib \
    161         $(PATH_SDK_WINPSDK_LIB.ia64)/ComDlg32.Lib \
    162         $(PATH_SDK_WINPSDK_LIB.ia64)/WinSpool.Lib \
    163         $(PATH_SDK_WINPSDK_LIB.ia64)/WinMM.Lib
     154        $(PATH_SDK_WINPSDK71_LIB.ia64)/DbgHelp.Lib \
     155        $(PATH_SDK_WINPSDK71_LIB.ia64)/ImageHlp.Lib \
     156        $(PATH_SDK_WINPSDK71_LIB.ia64)/IPHlpApi.Lib \
     157        $(PATH_SDK_WINPSDK71_LIB.ia64)/ComCtl32.Lib \
     158        $(PATH_SDK_WINPSDK71_LIB.ia64)/ComDlg32.Lib \
     159        $(PATH_SDK_WINPSDK71_LIB.ia64)/WinSpool.Lib \
     160        $(PATH_SDK_WINPSDK71_LIB.ia64)/WinMM.Lib
    164161
  • trunk/kBuild/sdks/WINPSDK71INCS.kmk

    r2601 r2602  
    11# $Id$
    22## @file
    3 # kBuild SDK - The Windows Platform SDK, targeting (KBUILD_TARGET) but
     3# kBuild SDK - The Windows Platform SDK v7.1, targeting (KBUILD_TARGET) but
    44#              without any libraries or LIBPATH properties.
    55#              Basically for finding specstrings.h when using the DDK.
     
    77
    88#
    9 # Copyright (c) 2006-2010 knut st. osmundsen <[email protected]>
     9# Copyright (c) 2006-2012 knut st. osmundsen <[email protected]>
    1010#
    1111# This file is part of kBuild.
     
    3434#
    3535
    36 SDK_WINPSDKINCS := The Windows Platform SDK, targeting (KBUILD_TARGET) but \
     36SDK_WINPSDK71INCS := The Windows Platform SDK v7.1, targeting (KBUILD_TARGET) but \
    3737        without any library or LIBPATH properties. \
    3838        Basically for finding specstrings.h when using the DDK.
    3939
    4040# SDK Specific Properties
    41 ifndef PATH_SDK_WINPSDKINCS
    42  ifdef PATH_SDK_WINPSDK
    43   PATH_SDK_WINPSDKINCS := $(PATH_SDK_WINPSDK)
     41ifndef PATH_SDK_WINPSDK71INCS
     42 ifdef PATH_SDK_WINPSDK71
     43  PATH_SDK_WINPSDK71INCS := $(PATH_SDK_WINPSDK71)
    4444 else
    45   PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/2*)
    46   ifeq ($(PATH_SDK_WINPSDKINCS),)
    47    PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS_TRG)/sdk/2*)
     45  PATH_SDK_WINPSDK71INCS := $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/v7.1*)
     46  ifeq ($(PATH_SDK_WINPSDK71INCS),)
     47   PATH_SDK_WINPSDK71INCS := $(wildcard $(PATH_DEVTOOLS_TRG)/sdk/v7.1*)
    4848  endif
    49   ifeq ($(PATH_SDK_WINPSDKINCS),)
    50    PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*)
     49  ifeq ($(PATH_SDK_WINPSDK71INCS),)
     50   PATH_SDK_WINPSDK71INCS := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/v7.1*)
    5151  endif
    52   ifeq ($(PATH_SDK_WINPSDKINCS),)
    53    PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)
     52  ifeq ($(PATH_SDK_WINPSDK71INCS),)
     53   PATH_SDK_WINPSDK71INCS := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/v7.1*)
    5454  endif
    55   ifeq ($(PATH_SDK_WINPSDKINCS),)
    56    PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/2*)
    57   endif
    58   ifneq ($(PATH_SDK_WINPSDKINCS),)
    59    PATH_SDK_WINPSDKINCS := $(lastword $(sort $(PATH_SDK_WINPSDKINCS)))
     55  ifneq ($(PATH_SDK_WINPSDK71INCS),)
     56   PATH_SDK_WINPSDK71INCS := $(lastword $(sort $(PATH_SDK_WINPSDK71INCS)))
    6057  else
    61    $(warning kBuild: PATH_SDK_WINPSDKINCS couldn't be determined!)
    62    PATH_SDK_WINPSDKINCS := $(PATH_DEVTOOLS_BLD)/sdk/not/found
     58   $(warning kBuild: PATH_SDK_WINPSDK71INCS couldn't be determined!)
     59   PATH_SDK_WINPSDK71INCS := $(PATH_DEVTOOLS_BLD)/sdk/v7.1-not-found
    6360  endif
    6461 endif
    6562else
    66  PATH_SDK_WINPSDKINCS := $(PATH_SDK_WINPSDKINCS)
     63 PATH_SDK_WINPSDK71INCS := $(PATH_SDK_WINPSDK71INCS)
    6764endif
    68 ifndef PATH_SDK_WINPSDKINCS_INC
    69 PATH_SDK_WINPSDKINCS_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDKINCS)/Include)
     65ifndef PATH_SDK_WINPSDK71INCS_INC
     66PATH_SDK_WINPSDK71INCS_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDK71INCS)/Include)
    7067endif
    7168
    72 ifndef PATH_SDK_WINPSDKINCS_LIB.x86
    73 PATH_SDK_WINPSDKINCS_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDKINCS)/Lib)
     69ifndef PATH_SDK_WINPSDK71INCS_LIB.x86
     70PATH_SDK_WINPSDK71INCS_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK71INCS)/Lib)
    7471endif
    75 ifndef PATH_SDK_WINPSDKINCS_LIB.amd64
    76 PATH_SDK_WINPSDKINCS_LIB.amd64 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Ll][Ii][Bb]/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDKINCS)/Lib/AMD64)
     72ifndef PATH_SDK_WINPSDK71INCS_LIB.amd64
     73PATH_SDK_WINPSDK71INCS_LIB.amd64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ll][Ii][Bb]/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDK71INCS)/Lib/AMD64)
    7774endif
    78 PATH_SDK_WINPSDKINCS_LIB ?= $(PATH_SDK_WINPSDKINCS_LIB.$(KBUILD_TARGET_ARCH))
     75PATH_SDK_WINPSDK71INCS_LIB ?= $(PATH_SDK_WINPSDK71INCS_LIB.$(KBUILD_TARGET_ARCH))
    7976
    80 ifndef PATH_SDK_WINPSDKINCS_BIN
    81 PATH_SDK_WINPSDKINCS_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDKINCS)/Bin)
     77ifndef PATH_SDK_WINPSDK71INCS_BIN
     78PATH_SDK_WINPSDK71INCS_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK71INCS)/Bin)
    8279endif
    83 ifndef PATH_SDK_WINPSDKINCS_BIN_AMD64
    84 PATH_SDK_WINPSDKINCS_BIN_AMD64 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS_BIN)/[Ww][Ii][Nn]64/[Xx]86/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDKINCS_BIN)/win64/AMD64)
     80ifndef PATH_SDK_WINPSDK71INCS_BIN_AMD64
     81PATH_SDK_WINPSDK71INCS_BIN_AMD64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS_BIN)/[Ww][Ii][Nn]64/[Xx]86/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDK71INCS_BIN)/win64/AMD64)
    8582endif
    86 ifndef PATH_SDK_WINPSDKINCS_BIN_IA64
    87 PATH_SDK_WINPSDKINCS_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDKINCS_BIN)/win64)
     83ifndef PATH_SDK_WINPSDK71INCS_BIN_IA64
     84PATH_SDK_WINPSDK71INCS_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDK71INCS_BIN)/win64)
    8885endif
    8986
    9087
    9188# General Properties used by kBuild
    92 SDK_WINPSDKINCS_INCS ?= $(PATH_SDK_WINPSDKINCS_INC)
     89SDK_WINPSDK71INCS_INCS ?= $(PATH_SDK_WINPSDK71INCS_INC)
    9390
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