source: trunk/kBuild/sdks/WINPSDKINCS.kmk@ 700

Last change on this file since 700 was 692, checked in by bird, 19 years ago

tools location is being cleaned up.

  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: WINPSDKINCS.kmk 692 2006-12-08 22:31:16Z bird $
2## @file
3#
4# kBuild SDK - The Windows Platform SDK, targeting (BUILD_TARGET) but
5# without any libraries or LIBPATH properties.
6# Basically for finding specstrings.h when using the DDK.
7#
8# Copyright (c) 2006 knut st. osmundsen <bird-srcspam@anduin.net>
9#
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#
28
29SDK_WINPSDKINCS := The Windows Platform SDK, targeting (BUILD_TARGET) but \
30 without any library or LIBPATH properties. \
31 Basically for finding specstrings.h when using the DDK.
32
33# SDK Specific Properties
34ifndef PATH_SDK_WINPSDKINCS
35 ifdef PATH_SDK_WINPSDK
36 PATH_SDK_WINPSDKINCS := $(PATH_SDK_WINPSDK)
37 else
38 PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/2*)
39 ifeq ($(PATH_SDK_WINPSDKINCS),)
40 PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS_TRG)/sdk/2*)
41 endif
42 ifeq ($(PATH_SDK_WINPSDKINCS),)
43 PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*)
44 endif
45 ifeq ($(PATH_SDK_WINPSDKINCS),)
46 PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)
47 endif
48 ifeq ($(PATH_SDK_WINPSDKINCS),)
49 PATH_SDK_WINPSDKINCS := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/2*)
50 endif
51 ifneq ($(PATH_SDK_WINPSDKINCS),)
52 PATH_SDK_WINPSDKINCS := $(lastword $(sort $(PATH_SDK_WINPSDKINCS)))
53 else
54 $(warning kBuild: PATH_SDK_WINPSDKINCS couldn't be determined!)
55 PATH_SDK_WINPSDKINCS := $(PATH_DEVTOOLS_BLD)/sdk/not/found
56 endif
57 endif
58else
59 PATH_SDK_WINPSDKINCS := $(PATH_SDK_WINPSDKINCS)
60endif
61PATH_SDK_WINPSDKINCS_INC ?= $(PATH_SDK_WINPSDKINCS)/include
62PATH_SDK_WINPSDKINCS_LIB.x86 ?= $(PATH_SDK_WINPSDKINCS)/lib
63PATH_SDK_WINPSDKINCS_LIB.amd64 ?= $(PATH_SDK_WINPSDKINCS)/lib
64PATH_SDK_WINPSDKINCS_LIB ?= $(PATH_SDK_WINPSDKINCS_LIB.$(BUILD_TARGET_ARCH))
65PATH_SDK_WINPSDKINCS_BIN ?= $(PATH_SDK_WINPSDKINCS)/bin
66PATH_SDK_WINPSDKINCS_BIN_AMD64 ?= $(PATH_SDK_WINPSDKINCS)/bin/win64/x86/AMD64
67PATH_SDK_WINPSDKINCS_BIN_IA64 ?= $(PATH_SDK_WINPSDKINCS)/bin/win64/
68
69# General Properties used by kBuild
70SDK_WINPSDKINCS_INCS ?= $(PATH_SDK_WINPSDKINCS_INC)
71
Note: See TracBrowser for help on using the repository browser.