source: trunk/kBuild/sdks/WINPSDK71INCS.kmk

Last change on this file was 3418, checked in by bird, 5 years ago

sdks/*,units/qt3.kmk: s/PATH_DEVTOOLS/KBUILD_DEVTOOLS/g

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 KB
RevLine 
[819]1# $Id: WINPSDK71INCS.kmk 3418 2020-08-21 11:02:13Z bird $
2## @file
[2602]3# kBuild SDK - The Windows Platform SDK v7.1, targeting (KBUILD_TARGET) but
[819]4# without any libraries or LIBPATH properties.
5# Basically for finding specstrings.h when using the DDK.
6#
[1547]7
8#
[3121]9# Copyright (c) 2006-2017 knut st. osmundsen <bird-kBuild-spam-xviiv@anduin.net>
[819]10#
11# This file is part of kBuild.
12#
13# kBuild is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License as published by
15# the Free Software Foundation; either version 2 of the License, or
16# (at your option) any later version.
17#
18# kBuild is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License
24# along with kBuild; if not, write to the Free Software
25# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26#
27#
[1547]28# As a special exception you are granted permission to include this file, via
[2243]29# the kmk include directive, as you wish without this in itself causing the
30# resulting makefile, program or whatever to be covered by the GPL license.
[1547]31# This exception does not however invalidate any other reasons why the makefile,
32# program, whatever should not be covered the GPL.
33#
34#
[819]35
[2602]36SDK_WINPSDK71INCS := The Windows Platform SDK v7.1, targeting (KBUILD_TARGET) but \
[819]37 without any library or LIBPATH properties. \
38 Basically for finding specstrings.h when using the DDK.
39
40# SDK Specific Properties
[2602]41ifndef PATH_SDK_WINPSDK71INCS
42 ifdef PATH_SDK_WINPSDK71
43 PATH_SDK_WINPSDK71INCS := $(PATH_SDK_WINPSDK71)
[819]44 else
[3418]45 PATH_SDK_WINPSDK71INCS := $(wildcard $(KBUILD_DEVTOOLS_BLD)/sdk/v7.1*)
[2602]46 ifeq ($(PATH_SDK_WINPSDK71INCS),)
[3418]47 PATH_SDK_WINPSDK71INCS := $(wildcard $(KBUILD_DEVTOOLS_TRG)/sdk/v7.1*)
[819]48 endif
[2602]49 ifeq ($(PATH_SDK_WINPSDK71INCS),)
[3418]50 PATH_SDK_WINPSDK71INCS := $(wildcard $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1*)
[819]51 endif
[2602]52 ifeq ($(PATH_SDK_WINPSDK71INCS),)
[3418]53 PATH_SDK_WINPSDK71INCS := $(wildcard $(KBUILD_DEVTOOLS)/win.amd64/sdk/v7.1*)
[819]54 endif
[2602]55 ifneq ($(PATH_SDK_WINPSDK71INCS),)
56 PATH_SDK_WINPSDK71INCS := $(lastword $(sort $(PATH_SDK_WINPSDK71INCS)))
[819]57 else
[2602]58 $(warning kBuild: PATH_SDK_WINPSDK71INCS couldn't be determined!)
[3418]59 PATH_SDK_WINPSDK71INCS := $(KBUILD_DEVTOOLS_BLD)/sdk/v7.1-not-found
[819]60 endif
61 endif
62else
[2602]63 PATH_SDK_WINPSDK71INCS := $(PATH_SDK_WINPSDK71INCS)
[819]64endif
[2602]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)
[819]67endif
68
[2602]69ifndef PATH_SDK_WINPSDK71INCS_LIB.x86
70PATH_SDK_WINPSDK71INCS_LIB.x86 := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Ll][Ii][Bb]) $(PATH_SDK_WINPSDK71INCS)/Lib)
[819]71endif
[2602]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)
[819]74endif
[2602]75PATH_SDK_WINPSDK71INCS_LIB ?= $(PATH_SDK_WINPSDK71INCS_LIB.$(KBUILD_TARGET_ARCH))
[819]76
[2602]77ifndef PATH_SDK_WINPSDK71INCS_BIN
78PATH_SDK_WINPSDK71INCS_BIN := $(firstword $(wildcard $(PATH_SDK_WINPSDK71INCS)/[Bb][Ii][Nn]) $(PATH_SDK_WINPSDK71INCS)/Bin)
[819]79endif
[2602]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)
[819]82endif
[2602]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)
[819]85endif
86
87
88# General Properties used by kBuild
[2602]89SDK_WINPSDK71INCS_INCS ?= $(PATH_SDK_WINPSDK71INCS_INC)
[819]90
Note: See TracBrowser for help on using the repository browser.