source: trunk/kBuild/sdks/WINSDK10-KM-WLH.kmk

Last change on this file was 3626, checked in by bird, 9 months ago

sdks/WINSDK10.kmk: Added an optional SDK_WINSDK10_MAX_VERSION restriction to make it easier to pick an WDK/SDK verison with x86 kernel mode libraries.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1# $Id: WINSDK10-KM-WLH.kmk 3626 2024-10-22 23:02:49Z bird $
2## @file
3# kBuild SDK - Derives from WINSDK10.kmk, kernel mode, Targeting Windows Vista (KBUILD_TARGET_ARCH).
4#
5# @note There are no Vista libraries shipping with the windows 10 WDK, so this
6# is a bit hackish and uses the Windows 7 ones instead.
7#
8
9#
10# Copyright (c) 2006-2021 knut st. osmundsen <bird-kBuild-spam-xviiv@anduin.net>
11#
12# This file is part of kBuild.
13#
14# kBuild is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License as published by
16# the Free Software Foundation; either version 2 of the License, or
17# (at your option) any later version.
18#
19# kBuild is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License
25# along with kBuild; if not, write to the Free Software
26# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27#
28#
29# As a special exception you are granted permission to include this file, via
30# the kmk include directive, as you wish without this in itself causing the
31# resulting makefile, program or whatever to be covered by the GPL license.
32# This exception does not however invalidate any other reasons why the makefile,
33# program, whatever should not be covered the GPL.
34#
35#
36
37ifndef SDK_WINSDK10
38 include $(KBUILD_PATH)/sdks/WINSDK10-KM.kmk
39endif
40
41SDK_WINSDK10-KM-WLH := The Microsoft Windows 10 SDK, kernel mode, Targeting Windows Vista (KBUILD_TARGET_ARCH) - using W7 libraries.
42SDK_WINSDK10-KM-WLH_EXTENDS := WINSDK10-KM
43SDK_WINSDK10-KM-WLH_DEFS ?= WIN32=100 _WIN32_WINNT=0x0600 WINVER=0x0600 _WIN32_IE=0x0700 NTDDI_VERSION=0x06000000 \
44 KMDF_MAJOR_VERSION=01 KMDF_MINOR_VERSION=007
45SDK_WINSDK10-KM-WLH_LIBPATH.x86 ?= $(PATH_SDK_WINSDK10_KM_LIB_W7.x86)
46SDK_WINSDK10-KM-WLH_LIBPATH.amd64 ?= $(PATH_SDK_WINSDK10_KM_LIB_W7.amd64)
47SDK_WINSDK10-KM-WLH_LIBPATH.arm32 ?= $(PATH_SDK_WINSDK10_KM_LIB_W7.arm32)
48
49# SDK Specific Properties.
50PATH_SDK_WINSDK10-KM-WLH_LIB.x86 ?= $(PATH_SDK_WINSDK10_KM_LIB_W7.x86)
51PATH_SDK_WINSDK10-KM-WLH_LIB.amd64?= $(PATH_SDK_WINSDK10_KM_LIB_W7.amd64)
52PATH_SDK_WINSDK10-KM-WLH_LIB.arm32?= $(PATH_SDK_WINSDK10_KM_LIB_W7.arm32)
53PATH_SDK_WINSDK10-KM-WLH_LIB ?= $(PATH_SDK_WINSDK10-KM-WLH_LIB.$(KBUILD_TARGET_ARCH))
54
Note: See TracBrowser for help on using the repository browser.