Changeset 2607 in kBuild
- Timestamp:
- Jul 20, 2012 12:12:58 PM (13 years ago)
- Location:
- trunk/kBuild/sdks
- Files:
-
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/sdks/WINDDK80.kmk
r2605 r2607 1 1 # $Id$ 2 2 ## @file 3 # kBuild SDK - The Microsoft Windows 7 DDK, v7.1.3 # kBuild SDK - The Microsoft Windows 8 DDK. 4 4 # Defaults to $(KBUILD_TARGET_ARCH). Base SDK. 5 5 # … … 33 33 # 34 34 35 SDK_WINDDK 71 := The Microsoft Windows 7 DDK, v7.1. \35 SDK_WINDDK80 := The Microsoft Windows 8 DDK. \ 36 36 Defaults to $(KBUILD_TARGET_ARCH). Base SDK. 37 37 38 38 # SDK Specific Properties 39 ifndef PATH_SDK_WINDDK 7140 PATH_SDK_WINDDK 71 := $(wildcard $(PATH_DEVTOOLS_TRG)/ddk/7600.16385.1*)41 ifeq ($(PATH_SDK_WINDDK 71),)42 PATH_SDK_WINDDK 71 := $(wildcard $(PATH_DEVTOOLS)/win.x86/ddk/7600.16385.1*)39 ifndef 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*) 43 43 endif 44 ifeq ($(PATH_SDK_WINDDK 71),)45 PATH_SDK_WINDDK 71 := $(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*) 46 46 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))) 54 49 else 55 $(warning kBuild: PATH_SDK_WINDDK 71couldn't be determined!)56 PATH_SDK_WINDDK 71 := $(PATH_DEVTOOLS)/win.x86/ddk/7600.16385.1-not-found50 $(warning kBuild: PATH_SDK_WINDDK80 couldn't be determined!) 51 PATH_SDK_WINDDK80 := $(PATH_DEVTOOLS)/win.x86/ddk/v8.0/not/found 57 52 endif 58 53 else 59 54 # Resolve any fancy stuff once and for all. 60 PATH_SDK_WINDDK 71 := $(PATH_SDK_WINDDK71)55 PATH_SDK_WINDDK80 := $(PATH_SDK_WINDDK80) 61 56 endif 62 57 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 58 PATH_SDK_WINDDK80_INC ?= $(PATH_SDK_WINDDK80)/Include 59 PATH_SDK_WINDDK80_INC_UM ?= $(PATH_SDK_WINDDK80_INC)/um 60 PATH_SDK_WINDDK80_INC_KM ?= $(PATH_SDK_WINDDK80_INC)/km 61 PATH_SDK_WINDDK80_INC_KM_CRT ?= $(PATH_SDK_WINDDK80_INC_KM)/crt 62 PATH_SDK_WINDDK80_INC_SHARED ?= $(PATH_SDK_WINDDK80_INC)/Shared 67 63 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 64 PATH_SDK_WINDDK80_LIB_ROOT ?= $(PATH_SDK_WINDDK80)/Lib 65 PATH_SDK_WINDDK80_LIB_W8_ROOT ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/win8 66 PATH_SDK_WINDDK80_LIB_W7_ROOT ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/win7 67 PATH_SDK_WINDDK80_LIB_WLH_ROOT ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/wlh 68 PATH_SDK_WINDDK80_LIB_WDF_ROOT ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/wdf 69 PATH_SDK_WINDDK80_LIB_MFC_ROOT ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/Mfc 70 PATH_SDK_WINDDK80_LIB_ATL_ROOT ?= $(PATH_SDK_WINDDK80_LIB_ROOT)/Atl 74 71 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)) 72 PATH_SDK_WINDDK80_LIB_W8.amd64 ?= $(PATH_SDK_WINDDK80_LIB_W8_ROOT)/km/x64 73 PATH_SDK_WINDDK80_LIB_W8.x86 ?= $(PATH_SDK_WINDDK80_LIB_W8_ROOT)/km/x86 74 PATH_SDK_WINDDK80_LIB_W8 ?= $(PATH_SDK_WINDDK80_LIB_W8.$(KBUILD_TARGET_ARCH)) 79 75 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)) 76 PATH_SDK_WINDDK80_LIB_W7.amd64 ?= $(PATH_SDK_WINDDK80_LIB_W7_ROOT)/km/x64 77 PATH_SDK_WINDDK80_LIB_W7.x86 ?= $(PATH_SDK_WINDDK80_LIB_W7_ROOT)/km/x86 78 PATH_SDK_WINDDK80_LIB_W7 ?= $(PATH_SDK_WINDDK80_LIB_W7.$(KBUILD_TARGET_ARCH)) 84 79 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)) 80 PATH_SDK_WINDDK80_LIB_WLH.amd64 ?= $(PATH_SDK_WINDDK80_LIB_WLH_ROOT)/km/x64 81 PATH_SDK_WINDDK80_LIB_WLH.x86 ?= $(PATH_SDK_WINDDK80_LIB_WLH_ROOT)/km/x86 82 PATH_SDK_WINDDK80_LIB_WLH ?= $(PATH_SDK_WINDDK80_LIB_WLH.$(KBUILD_TARGET_ARCH)) 87 83 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)) 84 PATH_SDK_WINDDK80_LIB.amd64 ?= $(PATH_SDK_WINDDK80_LIB_WLH.amd64) 85 PATH_SDK_WINDDK80_LIB.x86 ?= $(PATH_SDK_WINDDK80_LIB_WLH.x86) 86 PATH_SDK_WINDDK80_LIB ?= $(PATH_SDK_WINDDK80_LIB.$(KBUILD_TARGET_ARCH)) 95 87 96 88 # General Properties used by kBuild 97 SDK_WINDDK 71_DEFS.amd64 ?= _AMD64_ AMD64 _WIN6498 SDK_WINDDK 71_DEFS.ia64 ?= _IA64_=1 IA64=1 _WIN64 _MSC_EXTENSIONS99 SDK_WINDDK 71_DEFS.x86 ?= _X86_=1 i386=1 STD_CALL100 SDK_WINDDK71_INCS ?=\101 $(PATH_SDK_WINDDK 71_INC_API) \102 $(PATH_SDK_WINDDK 71_INC_DDK)89 SDK_WINDDK80_DEFS.amd64 ?= _AMD64_ AMD64 _WIN64 90 SDK_WINDDK80_DEFS.x86 ?= _X86_=1 i386=1 STD_CALL 91 SDK_WINDDK80_INCS ?= \ 92 $(PATH_SDK_WINDDK80_INC_KM) \ 93 $(PATH_SDK_WINDDK80_INC_UM) \ 94 $(PATH_SDK_WINDDK80_INC_SHARED) \ 103 95 # 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) 96 SDK_WINDDK80_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK80_LIB_WLH.amd64) 97 SDK_WINDDK80_LIBPATH.x86 ?= $(PATH_SDK_WINDDK80_LIB_WLH.x86) 107 98 -
trunk/kBuild/sdks/WINDDK80W8.kmk
r2605 r2607 1 1 # $Id$ 2 2 ## @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). 4 4 # 5 5 … … 32 32 # 33 33 34 SDK_WINDDK 71WLH := The Microsoft Windows 7 DDKs, v7.1, Targeting Vista and 2008 (KBUILD_TARGET_ARCH).35 SDK_WINDDK 71WLH_EXTENDS = WINDDK7136 SDK_WINDDK 71WLH_DEFS ?= WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=00537 SDK_WINDDK71WLH_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.amd64) 38 SDK_WINDDK 71WLH_LIBPATH.ia64 ?= $(PATH_SDK_WINDDK71_LIB_WLH.ia64)39 SDK_WINDDK 71WLH_LIBPATH.x86 ?= $(PATH_SDK_WINDDK71_LIB_WLH.x86)34 SDK_WINDDK80W8 := The Microsoft Windows 8 DDKs, Targeting Windows 8 (KBUILD_TARGET_ARCH). 35 SDK_WINDDK80W8_EXTENDS = WINDDK80 36 SDK_WINDDK80W8_DEFS ?= WIN32=100 _WIN32_WINNT=0x0602 WINVER=0x0602 _WIN32_IE=0x0A00 NTDDI_VERSION=0x06020000 \ 37 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=005 38 SDK_WINDDK80W8_LIBPATH.amd64 ?= $(PATH_SDK_WINDDK80_LIB_W8.amd64) 39 SDK_WINDDK80W8_LIBPATH.x86 ?= $(PATH_SDK_WINDDK80_LIB_W8.x86) 40 40 41 41 # 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 43 PATH_SDK_WINDDK80W8_LIB.amd64?= $(PATH_SDK_WINDDK80_LIB_W8.amd64) 44 PATH_SDK_WINDDK80W8_LIB.x86 ?= $(PATH_SDK_WINDDK80_LIB_W8.x86) 45 PATH_SDK_WINDDK80W8_LIB ?= $(PATH_SDK_WINDDK80W8_LIB.$(KBUILD_TARGET_ARCH)) 47 46
Note:
See TracChangeset
for help on using the changeset viewer.