Changeset 2602 in kBuild
- Timestamp:
- Jul 12, 2012 8:21:45 PM (12 years ago)
- Location:
- trunk/kBuild/sdks
- Files:
-
- 1 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/sdks/WINDDK71.kmk
r2601 r2602 1 1 # $Id$ 2 2 ## @file 3 # kBuild SDK - The Microsoft Windows Vista and Server 2008 DDKs.3 # kBuild SDK - The Microsoft Windows 7 DDK, v7.1. 4 4 # Defaults to $(KBUILD_TARGET_ARCH). Base SDK. 5 5 # 6 6 7 7 # 8 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>8 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 9 9 # 10 10 # This file is part of kBuild. … … 33 33 # 34 34 35 SDK_WINDDK := The Microsoft Windows Vista and Server 2008 DDKs. \36 Defaults to $(KBUILD_TARGET_ARCH). Base SDK.35 SDK_WINDDK71 := The Microsoft Windows 7 DDK, v7.1. \ 36 Defaults to $(KBUILD_TARGET_ARCH). Base SDK. 37 37 38 38 # 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*)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*) 43 43 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*) 46 46 endif 47 ifeq ($(PATH_SDK_WINDDK ),)47 ifeq ($(PATH_SDK_WINDDK71),) 48 48 ifeq ($(KBUILD_HOST),win) 49 PATH_SDK_WINDDK := $(wildcard C:/WinDDK/6*)49 PATH_SDK_WINDDK71 := $(wildcard C:/WinDDK/7600.16385.1*) 50 50 endif 51 51 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))) 54 54 else 55 $(warning kBuild: PATH_SDK_WINDDK couldn't be determined!)56 PATH_SDK_WINDDK := $(PATH_DEVTOOLS)/win.x86/ddk/not/found55 $(warning kBuild: PATH_SDK_WINDDK71 couldn't be determined!) 56 PATH_SDK_WINDDK71 := $(PATH_DEVTOOLS)/win.x86/ddk/7600.16385.1-not-found 57 57 endif 58 58 else 59 59 # Resolve any fancy stuff once and for all. 60 PATH_SDK_WINDDK := $(PATH_SDK_WINDDK)60 PATH_SDK_WINDDK71 := $(PATH_SDK_WINDDK71) 61 61 endif 62 62 63 PATH_SDK_WINDDK _INC ?= $(PATH_SDK_WINDDK)/inc64 PATH_SDK_WINDDK _INC_API ?= $(PATH_SDK_WINDDK_INC)/api65 PATH_SDK_WINDDK _INC_CRT ?= $(PATH_SDK_WINDDK_INC)/crt66 PATH_SDK_WINDDK _INC_DDK ?= $(PATH_SDK_WINDDK_INC)/ddk63 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 67 67 68 PATH_SDK_WINDDK _LIB_ROOT ?= $(PATH_SDK_WINDDK)/lib69 PATH_SDK_WINDDK _LIB_WLH_ROOT ?= $(PATH_SDK_WINDDK_LIB_ROOT)/wlh70 PATH_SDK_WINDDK _LIB_WNET_ROOT ?= $(PATH_SDK_WINDDK_LIB_ROOT)/wnet71 PATH_SDK_WINDDK _LIB_WXP_ROOT ?= $(PATH_SDK_WINDDK_LIB_ROOT)/wxp72 PATH_SDK_WINDDK _LIB_W2K_ROOT ?= $(PATH_SDK_WINDDK_LIB_ROOT)/w2k73 PATH_SDK_WINDDK _LIB_WDF_ROOT ?= $(PATH_SDK_WINDDK_LIB_ROOT)/w2k68 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 74 74 75 PATH_SDK_WINDDK _LIB_WLH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WLH_ROOT)/amd6476 PATH_SDK_WINDDK _LIB_WLH.ia64 ?= $(PATH_SDK_WINDDK_LIB_WLH_ROOT)/ia6477 PATH_SDK_WINDDK _LIB_WLH.x86 ?= $(PATH_SDK_WINDDK_LIB_WLH_ROOT)/i38678 PATH_SDK_WINDDK _LIB_WLH ?= $(PATH_SDK_WINDDK_LIB_WLH.$(KBUILD_TARGET_ARCH))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)) 79 79 80 PATH_SDK_WINDDK _LIB_WNET.amd64?= $(PATH_SDK_WINDDK_LIB_WNET_ROOT)/amd6481 PATH_SDK_WINDDK _LIB_WNET.ia64 ?= $(PATH_SDK_WINDDK_LIB_WNET_ROOT)/ia6482 PATH_SDK_WINDDK _LIB_WNET.x86 ?= $(PATH_SDK_WINDDK_LIB_WNET_ROOT)/i38683 PATH_SDK_WINDDK _LIB_WNET ?= $(PATH_SDK_WINDDK_LIB_WNET.$(KBUILD_TARGET_ARCH))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)) 84 84 85 PATH_SDK_WINDDK _LIB_WXP.x86 ?= $(PATH_SDK_WINDDK_LIB_WXP_ROOT)/i38686 PATH_SDK_WINDDK _LIB_WXP ?= $(PATH_SDK_WINDDK_LIB_WXP.$(KBUILD_TARGET_ARCH))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)) 87 87 88 PATH_SDK_WINDDK _LIB_W2K.x86 ?= $(PATH_SDK_WINDDK_LIB_W2K_ROOT)/i38689 PATH_SDK_WINDDK _LIB_W2K ?= $(PATH_SDK_WINDDK_LIB_W2K.$(KBUILD_TARGET_ARCH))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 90 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))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)) 95 95 96 96 # General Properties used by kBuild 97 SDK_WINDDK _DEFS.amd64 ?= _AMD64_ AMD64 _WIN6498 SDK_WINDDK _DEFS.ia64 ?= _IA64_=1 IA64=1 _WIN64 _MSC_EXTENSIONS99 SDK_WINDDK _DEFS.x86 ?= _X86_=1 i386=1 STD_CALL100 SDK_WINDDK _INCS ?= \101 $(PATH_SDK_WINDDK _INC_API) \102 $(PATH_SDK_WINDDK _INC_DDK)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) 103 103 # 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)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) 107 107 108 #109 # CDFS defines for the various build environments. Just to give an idea what110 # 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 _DLL114 # 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=0115 # 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=0116 # 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 _DLL117 # 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=0118 # 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=0119 # 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=0120 # 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=0121 # 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_NOOPT122 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 1 1 # $Id$ 2 2 ## @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). 4 4 # 5 5 6 6 # 7 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>7 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 8 8 # 9 9 # This file is part of kBuild. … … 32 32 # 33 33 34 SDK_WINDDK WLH := The Microsoft Windows Vista and Server 2008 DDKs, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).35 SDK_WINDDK WLH_EXTENDS = WINDDK36 SDK_WINDDK WLH_DEFS ?= WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=00537 SDK_WINDDK WLH_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WLH.amd64)38 SDK_WINDDK WLH_LIBPATH.ia64 ?= $(PATH_SDK_WINDDK_LIB_WLH.ia64)39 SDK_WINDDK WLH_LIBPATH.x86 ?= $(PATH_SDK_WINDDK_LIB_WLH.x86)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) 40 40 41 41 # SDK Specific Properties. 42 # Note! extends the WINDDK sdk, so use those variables where ever possible43 PATH_SDK_WINDDK WLH_LIB.amd64?= $(PATH_SDK_WINDDK_LIB_WLH.amd64)44 PATH_SDK_WINDDK WLH_LIB.ia64 ?= $(PATH_SDK_WINDDK_LIB_WLH.ia64)45 PATH_SDK_WINDDK WLH_LIB.x86 ?= $(PATH_SDK_WINDDK_LIB_WLH.x86)46 PATH_SDK_WINDDK WLH_LIB ?= $(PATH_SDK_WINDDKWLH_LIB.$(KBUILD_TARGET_ARCH))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)) 47 47 -
trunk/kBuild/sdks/WINDDK71WNET.kmk
r2601 r2602 1 1 # $Id$ 2 2 ## @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). 4 4 # 5 5 6 6 # 7 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>7 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 8 8 # 9 9 # This file is part of kBuild. … … 32 32 # 33 33 34 SDK_WINDDK WNET := The Microsoft Windows Vista and Server 2008 DDKs, Targeting Windows Server 2003 (KBUILD_TARGET_ARCH).35 SDK_WINDDK WNET_EXTENDS = WINDDK36 SDK_WINDDK WNET_DEFS ?= WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x0502010037 SDK_WINDDK WNET_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK_LIB_WNET.amd64)38 SDK_WINDDK WNET_LIBPATH.ia64 ?= $(PATH_SDK_WINDDK_LIB_WNET.ia64)39 SDK_WINDDK WNET_LIBPATH.x86 ?= $(PATH_SDK_WINDDK_LIB_WNET.x86)34 SDK_WINDDK71WNET := The Microsoft Windows 7 DDKs, v7.1, Targeting Windows Server 2003 (KBUILD_TARGET_ARCH). 35 SDK_WINDDK71WNET_EXTENDS = WINDDK71 36 SDK_WINDDK71WNET_DEFS ?= WIN32=100 _WIN32_WINNT=0x0502 WINVER=0x0502 _WIN32_IE=0x0603 NTDDI_VERSION=0x05020100 37 SDK_WINDDK71WNET_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WNET.amd64) 38 SDK_WINDDK71WNET_LIBPATH.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WNET.ia64) 39 SDK_WINDDK71WNET_LIBPATH.x86 ?= $(PATH_SDK_WINDDK71_LIB_WNET.x86) 40 40 41 41 # SDK Specific Properties. 42 # Note! extends the WINDDK sdk, so use those variables where ever possible43 PATH_SDK_WINDDK WNET_LIB.amd64?= $(PATH_SDK_WINDDK_LIB_WNET.amd64)44 PATH_SDK_WINDDK WNET_LIB.ia64 ?= $(PATH_SDK_WINDDK_LIB_WNET.ia64)45 PATH_SDK_WINDDK WNET_LIB.x86 ?= $(PATH_SDK_WINDDK_LIB_WNET.x86)46 PATH_SDK_WINDDK WNET_LIB ?= $(PATH_SDK_WINDDKWNET_LIB.$(KBUILD_TARGET_ARCH))42 # Note! extends the WINDDK71 sdk, so use those variables where ever possible 43 PATH_SDK_WINDDK71WNET_LIB.amd64?= $(PATH_SDK_WINDDK71_LIB_WNET.amd64) 44 PATH_SDK_WINDDK71WNET_LIB.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WNET.ia64) 45 PATH_SDK_WINDDK71WNET_LIB.x86 ?= $(PATH_SDK_WINDDK71_LIB_WNET.x86) 46 PATH_SDK_WINDDK71WNET_LIB ?= $(PATH_SDK_WINDDK71WNET_LIB.$(KBUILD_TARGET_ARCH)) 47 47 -
trunk/kBuild/sdks/WINDDK71WXP.kmk
r2601 r2602 1 1 # $Id$ 2 2 ## @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). 4 4 # 5 5 6 6 # 7 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>7 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 8 8 # 9 9 # This file is part of kBuild. … … 32 32 # 33 33 34 SDK_WINDDK WXP := The Microsoft Windows Vista and Server 2008 DDKs, Targeting Windows XP (x86).35 SDK_WINDDK WXP_EXTENDS = WINDDK36 SDK_WINDDK WXP_DEFS ?= WIN32=100 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0603 NTDDI_VERSION=0x0501020037 SDK_WINDDK WXP_LIBPATH.x86 ?= $(PATH_SDK_WINDDK_LIB_WXP.x86)34 SDK_WINDDK71WXP := The Microsoft Windows 7 DDK, v7.1, Targeting Windows XP (x86). 35 SDK_WINDDK71WXP_EXTENDS = WINDDK71 36 SDK_WINDDK71WXP_DEFS ?= WIN32=100 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0603 NTDDI_VERSION=0x05010200 37 SDK_WINDDK71WXP_LIBPATH.x86 ?= $(PATH_SDK_WINDDK71_LIB_WXP.x86) 38 38 39 39 # SDK Specific Properties. 40 # Note! extends the WINDDK sdk, so use those variables where ever possible41 PATH_SDK_WINDDK WXP_LIB.x86 ?= $(PATH_SDK_WINDDK_LIB_WXP.x86)42 PATH_SDK_WINDDK WXP_LIB ?= $(PATH_SDK_WINDDKWXP_LIB.x86)40 # Note! extends the WINDDK71 sdk, so use those variables where ever possible 41 PATH_SDK_WINDDK71WXP_LIB.x86 ?= $(PATH_SDK_WINDDK71_LIB_WXP.x86) 42 PATH_SDK_WINDDK71WXP_LIB ?= $(PATH_SDK_WINDDK71WXP_LIB.x86) 43 43 -
trunk/kBuild/sdks/WINPSDK.kmk
r2430 r2602 5 5 6 6 # 7 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>7 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 8 8 # 9 9 # This file is part of kBuild. … … 42 42 ifeq ($(PATH_SDK_WINPSDK),) 43 43 PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*) 44 endif45 ifeq ($(PATH_SDK_WINPSDK),)46 PATH_SDK_WINPSDK := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)47 44 endif 48 45 ifeq ($(PATH_SDK_WINPSDK),) -
trunk/kBuild/sdks/WINPSDK71.kmk
r2601 r2602 1 1 # $Id$ 2 2 ## @file 3 # kBuild SDK - The Windows Platform SDK , targeting (KBUILD_TARGET).3 # kBuild SDK - The Windows Platform SDK v7.1, targeting (KBUILD_TARGET). 4 4 # 5 5 6 6 # 7 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>7 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 8 8 # 9 9 # This file is part of kBuild. … … 32 32 # 33 33 34 SDK_WINPSDK := The Windows Platform SDK, targeting (KBUILD_TARGET).34 SDK_WINPSDK71 := The Windows Platform SDK v7.1, targeting (KBUILD_TARGET). 35 35 36 36 # 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*)37 ifndef 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*) 41 41 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*) 44 44 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*) 47 47 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))) 53 50 else 54 $(warning kBuild: PATH_SDK_WINPSDK couldn't be determined!)55 PATH_SDK_WINPSDK := $(PATH_DEVTOOLS_BLD)/sdk/not/found51 $(warning kBuild: PATH_SDK_WINPSDK71 couldn't be determined!) 52 PATH_SDK_WINPSDK71 := $(PATH_DEVTOOLS_BLD)/sdk/v7.1-not-found 56 53 endif 57 54 else 58 PATH_SDK_WINPSDK := $(PATH_SDK_WINPSDK)55 PATH_SDK_WINPSDK71 := $(PATH_SDK_WINPSDK71) 59 56 endif 60 57 61 ifndef PATH_SDK_WINPSDK _INC62 PATH_SDK_WINPSDK _INC := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDK)/Include)58 ifndef PATH_SDK_WINPSDK71_INC 59 PATH_SDK_WINPSDK71_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDK71)/Include) 63 60 endif 64 61 65 ifndef PATH_SDK_WINPSDK _LIB.x8666 PATH_SDK_WINPSDK _LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK)/Lib)62 ifndef PATH_SDK_WINPSDK71_LIB.x86 63 PATH_SDK_WINPSDK71_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK71)/Lib) 67 64 endif 68 ifndef PATH_SDK_WINPSDK _LIB.amd6469 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)65 ifndef PATH_SDK_WINPSDK71_LIB.amd64 66 PATH_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) 70 67 endif 71 ifndef PATH_SDK_WINPSDK _LIB.ia6472 PATH_SDK_WINPSDK _LIB.ia64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Ll][Ii][Bb]/[Ii][Aa]64) $(PATH_SDK_WINPSDK)/Lib/IA64)68 ifndef PATH_SDK_WINPSDK71_LIB.ia64 69 PATH_SDK_WINPSDK71_LIB.ia64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Ll][Ii][Bb]/[Ii][Aa]64) $(PATH_SDK_WINPSDK71)/Lib/IA64) 73 70 endif 74 PATH_SDK_WINPSDK _LIB ?= $(PATH_SDK_WINPSDK_LIB.$(KBUILD_TARGET_ARCH))71 PATH_SDK_WINPSDK71_LIB ?= $(PATH_SDK_WINPSDK71_LIB.$(KBUILD_TARGET_ARCH)) 75 72 76 ifndef PATH_SDK_WINPSDK _BIN77 PATH_SDK_WINPSDK _BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK)/Bin)73 ifndef PATH_SDK_WINPSDK71_BIN 74 PATH_SDK_WINPSDK71_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK71)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK71)/Bin) 78 75 endif 79 ifndef PATH_SDK_WINPSDK _BIN_AMD6480 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)76 ifndef PATH_SDK_WINPSDK71_BIN_AMD64 77 PATH_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) 81 78 endif 82 ifndef PATH_SDK_WINPSDK _BIN_IA6483 PATH_SDK_WINPSDK _BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDK_BIN)/win64)79 ifndef PATH_SDK_WINPSDK71_BIN_IA64 80 PATH_SDK_WINPSDK71_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDK71_BIN)/win64) 84 81 endif 85 82 86 83 87 84 # 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 \85 SDK_WINPSDK71_INCS ?= $(PATH_SDK_WINPSDK71_INC) 86 SDK_WINPSDK71_LIBPATH.x86 ?= $(PATH_SDK_WINPSDK71_LIB.x86) 87 SDK_WINPSDK71_LIBPATH.amd64 ?= $(PATH_SDK_WINPSDK71_LIB.amd64) 88 SDK_WINPSDK71_LIBPATH.ia64 ?= $(PATH_SDK_WINPSDK71_LIB.ia64) 89 SDK_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 \ 103 100 \ 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 \ 108 105 \ 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.Lib116 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 113 SDK_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 \ 127 124 \ 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 \ 132 129 \ 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.Lib140 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 137 SDK_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 \ 151 148 \ 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 \ 156 153 \ 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.Lib154 $(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 164 161 -
trunk/kBuild/sdks/WINPSDK71INCS.kmk
r2601 r2602 1 1 # $Id$ 2 2 ## @file 3 # kBuild SDK - The Windows Platform SDK , targeting (KBUILD_TARGET) but3 # kBuild SDK - The Windows Platform SDK v7.1, targeting (KBUILD_TARGET) but 4 4 # without any libraries or LIBPATH properties. 5 5 # Basically for finding specstrings.h when using the DDK. … … 7 7 8 8 # 9 # Copyright (c) 2006-201 0knut st. osmundsen <[email protected]>9 # Copyright (c) 2006-2012 knut st. osmundsen <[email protected]> 10 10 # 11 11 # This file is part of kBuild. … … 34 34 # 35 35 36 SDK_WINPSDK INCS := The Windows Platform SDK, targeting (KBUILD_TARGET) but \36 SDK_WINPSDK71INCS := The Windows Platform SDK v7.1, targeting (KBUILD_TARGET) but \ 37 37 without any library or LIBPATH properties. \ 38 38 Basically for finding specstrings.h when using the DDK. 39 39 40 40 # SDK Specific Properties 41 ifndef PATH_SDK_WINPSDK INCS42 ifdef PATH_SDK_WINPSDK 43 PATH_SDK_WINPSDK INCS := $(PATH_SDK_WINPSDK)41 ifndef PATH_SDK_WINPSDK71INCS 42 ifdef PATH_SDK_WINPSDK71 43 PATH_SDK_WINPSDK71INCS := $(PATH_SDK_WINPSDK71) 44 44 else 45 PATH_SDK_WINPSDK INCS := $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/2*)46 ifeq ($(PATH_SDK_WINPSDK INCS),)47 PATH_SDK_WINPSDK INCS := $(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*) 48 48 endif 49 ifeq ($(PATH_SDK_WINPSDK INCS),)50 PATH_SDK_WINPSDK INCS := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*)49 ifeq ($(PATH_SDK_WINPSDK71INCS),) 50 PATH_SDK_WINPSDK71INCS := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/v7.1*) 51 51 endif 52 ifeq ($(PATH_SDK_WINPSDK INCS),)53 PATH_SDK_WINPSDK INCS := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)52 ifeq ($(PATH_SDK_WINPSDK71INCS),) 53 PATH_SDK_WINPSDK71INCS := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/v7.1*) 54 54 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))) 60 57 else 61 $(warning kBuild: PATH_SDK_WINPSDK INCS couldn't be determined!)62 PATH_SDK_WINPSDK INCS := $(PATH_DEVTOOLS_BLD)/sdk/not/found58 $(warning kBuild: PATH_SDK_WINPSDK71INCS couldn't be determined!) 59 PATH_SDK_WINPSDK71INCS := $(PATH_DEVTOOLS_BLD)/sdk/v7.1-not-found 63 60 endif 64 61 endif 65 62 else 66 PATH_SDK_WINPSDK INCS := $(PATH_SDK_WINPSDKINCS)63 PATH_SDK_WINPSDK71INCS := $(PATH_SDK_WINPSDK71INCS) 67 64 endif 68 ifndef PATH_SDK_WINPSDK INCS_INC69 PATH_SDK_WINPSDK INCS_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDKINCS)/Include)65 ifndef PATH_SDK_WINPSDK71INCS_INC 66 PATH_SDK_WINPSDK71INCS_INC := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WINPSDK71INCS)/Include) 70 67 endif 71 68 72 ifndef PATH_SDK_WINPSDK INCS_LIB.x8673 PATH_SDK_WINPSDK INCS_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDKINCS)/Lib)69 ifndef PATH_SDK_WINPSDK71INCS_LIB.x86 70 PATH_SDK_WINPSDK71INCS_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK71INCS)/Lib) 74 71 endif 75 ifndef PATH_SDK_WINPSDK INCS_LIB.amd6476 PATH_SDK_WINPSDK INCS_LIB.amd64 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Ll][Ii][Bb]/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDKINCS)/Lib/AMD64)72 ifndef PATH_SDK_WINPSDK71INCS_LIB.amd64 73 PATH_SDK_WINPSDK71INCS_LIB.amd64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ll][Ii][Bb]/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDK71INCS)/Lib/AMD64) 77 74 endif 78 PATH_SDK_WINPSDK INCS_LIB ?= $(PATH_SDK_WINPSDKINCS_LIB.$(KBUILD_TARGET_ARCH))75 PATH_SDK_WINPSDK71INCS_LIB ?= $(PATH_SDK_WINPSDK71INCS_LIB.$(KBUILD_TARGET_ARCH)) 79 76 80 ifndef PATH_SDK_WINPSDK INCS_BIN81 PATH_SDK_WINPSDK INCS_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDKINCS)/Bin)77 ifndef PATH_SDK_WINPSDK71INCS_BIN 78 PATH_SDK_WINPSDK71INCS_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK71INCS)/Bin) 82 79 endif 83 ifndef PATH_SDK_WINPSDK INCS_BIN_AMD6484 PATH_SDK_WINPSDK INCS_BIN_AMD64 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS_BIN)/[Ww][Ii][Nn]64/[Xx]86/[Aa][Mm][Dd]64) $(PATH_SDK_WINPSDKINCS_BIN)/win64/AMD64)80 ifndef PATH_SDK_WINPSDK71INCS_BIN_AMD64 81 PATH_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) 85 82 endif 86 ifndef PATH_SDK_WINPSDK INCS_BIN_IA6487 PATH_SDK_WINPSDK INCS_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDKINCS_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDKINCS_BIN)/win64)83 ifndef PATH_SDK_WINPSDK71INCS_BIN_IA64 84 PATH_SDK_WINPSDK71INCS_BIN_IA64 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS_BIN)/[Ww][Ii][Nn]64) $(PATH_SDK_WINPSDK71INCS_BIN)/win64) 88 85 endif 89 86 90 87 91 88 # General Properties used by kBuild 92 SDK_WINPSDK INCS_INCS ?= $(PATH_SDK_WINPSDKINCS_INC)89 SDK_WINPSDK71INCS_INCS ?= $(PATH_SDK_WINPSDK71INCS_INC) 93 90
Note:
See TracChangeset
for help on using the changeset viewer.