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

Last change on this file since 689 was 674, checked in by bird, 19 years ago

variation of WINPSDK for use with the DDK.

  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: WINPSDKINCS.kmk 674 2006-12-07 00:53:00Z 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 PATH_SDK_WINPSDKINCS := $(sort $(wildcard $(PATH_DEVTOOLS_BLD)/sdk/2*))
36 ifeq ($(PATH_SDK_WINPSDKINCS),)
37 PATH_SDK_WINPSDKINCS := $(sort $(wildcard $(PATH_DEVTOOLS_TRG)/sdk/2*))
38 endif
39 ifeq ($(PATH_SDK_WINPSDKINCS),)
40 PATH_SDK_WINPSDKINCS := $(sort $(wildcard $(PATH_DEVTOOLS)/x86.win/sdk/2*))
41 endif
42 ifeq ($(PATH_SDK_WINPSDKINCS),)
43 PATH_SDK_WINPSDKINCS := $(sort $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*))
44 endif
45 ifeq ($(PATH_SDK_WINPSDKINCS),)
46 PATH_SDK_WINPSDKINCS := $(sort $(wildcard $(PATH_DEVTOOLS)/amd64.win/sdk/2*))
47 endif
48 ifneq ($(PATH_SDK_WINPSDKINCS),)
49 PATH_SDK_WINPSDKINCS := $(call lastword,$(PATH_SDK_WINPSDKINCS))
50 else
51 $(warning kBuild: PATH_SDK_WINPSDKINCS couldn't be determined!)
52 PATH_SDK_WINPSDKINCS := $(PATH_DEVTOOLS_BLD)/sdk//not/found
53 endif
54else
55 PATH_SDK_WINPSDKINCS := $(PATH_SDK_WINPSDKINCS)
56endif
57PATH_SDK_WINPSDKINCS_INC ?= $(PATH_SDK_WINPSDKINCS)/include
58PATH_SDK_WINPSDKINCS_LIB.x86 ?= $(PATH_SDK_WINPSDKINCS)/lib
59PATH_SDK_WINPSDKINCS_LIB.amd64 ?= $(PATH_SDK_WINPSDKINCS)/lib
60PATH_SDK_WINPSDKINCS_LIB ?= $(PATH_SDK_WINPSDKINCS_LIB.$(BUILD_TARGET_ARCH))
61PATH_SDK_WINPSDKINCS_BIN ?= $(PATH_SDK_WINPSDKINCS)/bin
62PATH_SDK_WINPSDKINCS_BIN_AMD64 ?= $(PATH_SDK_WINPSDKINCS)/bin/win64/x86/AMD64
63PATH_SDK_WINPSDKINCS_BIN_IA64 ?= $(PATH_SDK_WINPSDKINCS)/bin/win64/
64
65# General Properties used by kBuild
66SDK_WINPSDKINCS_INCS ?= $(PATH_SDK_WINPSDKINCS_INC)
67
Note: See TracBrowser for help on using the repository browser.