source: trunk/kBuild/sdks/WIN32SDK.kmk@ 1621

Last change on this file since 1621 was 1547, checked in by bird, 17 years ago

License clearification.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# $Id: WIN32SDK.kmk 1547 2008-04-22 02:02:09Z bird $
2## @file
3# kBuild SDK - The Windows Platform SDK, targeting x86.
4#
5
6#
7# Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
8#
9# This file is part of kBuild.
10#
11# kBuild is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# kBuild is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with kBuild; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24#
25#
26# As a special exception you are granted permission to include this file, via
27# the kmk include directive, as you wish without this in itself causing the
28# resulting makefile, program or whatever to be covered by the GPL license.
29# This exception does not however invalidate any other reasons why the makefile,
30# program, whatever should not be covered the GPL.
31#
32#
33
34SDK_WIN32SDK := The Windows Platform SDK, targeting x86.
35
36# SDK Specific Properties
37ifndef PATH_SDK_WIN32SDK
38 PATH_SDK_WIN32SDK := $(wildcard $(PATH_DEVTOOLS)/win.x86/sdk/2*)
39 ifeq ($(PATH_SDK_WIN32SDK),)
40 PATH_SDK_WIN32SDK := $(PATH_SDK_WINPSDK)
41 endif
42 ifeq ($(PATH_SDK_WIN32SDK),)
43 PATH_SDK_WIN32SDK := $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2*)
44 endif
45 ifeq ($(PATH_SDK_WIN32SDK),)
46 PATH_SDK_WIN32SDK := $(wildcard $(PATH_DEVTOOLS)/win.amd64/sdk/2*)
47 endif
48 ifneq ($(PATH_SDK_WIN32SDK),)
49 PATH_SDK_WIN32SDK := $(lastword $(sort $(PATH_SDK_WIN32SDK)))
50 else
51 $(warning kBuild: PATH_SDK_WIN32SDK couldn't be determined!)
52 PATH_SDK_WIN32SDK := $(PATH_DEVTOOLS)/win.x86/sdk/not/found
53 endif
54endif
55ifndef PATH_SDK_WIN32SDK_INC
56PATH_SDK_WIN32SDK_INC := $(firstword $(wildcard $(PATH_SDK_WIN32SDK)/[Ii][Nn][Cc][Ll][Uu][Dd][Ee]) $(PATH_SDK_WIN32SDK)/Include)
57endif
58ifndef PATH_SDK_WIN32SDK_LIB
59PATH_SDK_WIN32SDK_LIB := $(firstword $(wildcard $(PATH_SDK_WIN32SDK)/[Ll][Ii][Bb]) $(PATH_SDK_WIN32SDK)/Lib)
60endif
61ifndef PATH_SDK_WIN32SDK_BIN
62PATH_SDK_WIN32SDK_BIN := $(firstword $(wildcard $(PATH_SDK_WIN32SDK)/[Bb][Ii][Nn]) $(PATH_SDK_WIN32SDK)/Bin)
63endif
64
65
66# General Properties used by kBuild
67SDK_WIN32SDK_INCS ?= $(PATH_SDK_WIN32SDK_INC)
68SDK_WIN32SDK_LIBPATH ?= $(PATH_SDK_WIN32SDK_LIB)
69SDK_WIN32SDK_LIBS ?= \
70 $(PATH_SDK_WIN32SDK_LIB)/Kernel32.Lib \
71 $(PATH_SDK_WIN32SDK_LIB)/User32.Lib \
72 $(PATH_SDK_WIN32SDK_LIB)/Gdi32.Lib \
73 $(PATH_SDK_WIN32SDK_LIB)/AdvAPI32.Lib \
74 $(PATH_SDK_WIN32SDK_LIB)/Shell32.Lib \
75 $(PATH_SDK_WIN32SDK_LIB)/ShLwApi.Lib \
76 $(PATH_SDK_WIN32SDK_LIB)/SetupAPI.Lib \
77 $(PATH_SDK_WIN32SDK_LIB)/Uuid.Lib \
78 $(PATH_SDK_WIN32SDK_LIB)/Version.Lib \
79 $(PATH_SDK_WIN32SDK_LIB)/WS2_32.Lib \
80 \
81 $(PATH_SDK_WIN32SDK_LIB)/Ole32.Lib \
82 $(PATH_SDK_WIN32SDK_LIB)/OleAut32.Lib \
83 $(PATH_SDK_WIN32SDK_LIB)/OleDlg.Lib \
84 $(PATH_SDK_WIN32SDK_LIB)/RpcRT4.Lib \
85 \
86 $(PATH_SDK_WIN32SDK_LIB)/DbgHelp.Lib \
87 $(PATH_SDK_WIN32SDK_LIB)/ImageHlp.Lib \
88 $(PATH_SDK_WIN32SDK_LIB)/IPHlpApi.Lib \
89 $(PATH_SDK_WIN32SDK_LIB)/ComCtl32.Lib \
90 $(PATH_SDK_WIN32SDK_LIB)/ComDlg32.Lib \
91 $(PATH_SDK_WIN32SDK_LIB)/WinSpool.Lib \
92 $(PATH_SDK_WIN32SDK_LIB)/WinMM.Lib \
93
Note: See TracBrowser for help on using the repository browser.