3 # kBuild SDK - Windows Platform SDK (from ~2002), targeting x86.
4 # Differs in that it has ddraw.lib and dxguid.lib.
8 # Copyright (c) 2006-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net>
10 # This file is part of kBuild.
12 # kBuild is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
15 # (at your option) any later version.
17 # kBuild is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with kBuild; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 # As a special exception you are granted permission to include this file, via
28 # the kmk include directive, as you wish without this in itself causing the
29 # resulting makefile, program or whatever to be covered by the GPL license.
30 # This exception does not however invalidate any other reasons why the makefile,
31 # program, whatever should not be covered the GPL.
36 SDK_WIN32SDK2002
:= Windows Platform SDK
(from ~
2002), targeting x86. \
37 Differs in that it has ddraw.lib and dxguid.lib.
39 # SDK Specific Properties
40 ifndef PATH_SDK_WIN32SDK2002
41 PATH_SDK_WIN32SDK2002
:= $(wildcard $(PATH_DEVTOOLS
)/win.x86
/sdk
/2002*)
42 ifeq ($(PATH_SDK_WIN32SDK2002
),)
43 PATH_SDK_WIN32SDK2002
:= $(wildcard $(PATH_DEVTOOLS
)/x86.win32
/sdk
/2002*)
45 ifeq ($(PATH_SDK_WIN32SDK2002
),)
46 PATH_SDK_WIN32SDK2002
:= $(wildcard $(PATH_DEVTOOLS
)/x86.win32
/sdk2002
*)
48 ifneq ($(PATH_SDK_WIN32SDK2002
),)
49 PATH_SDK_WIN32SDK2002
:= $(lastword
$(sort $(PATH_SDK_WIN32SDK2002
)))
51 $(warning kBuild
: PATH_SDK_WIN32SDK2002 couldn
't be determined!)
52 PATH_SDK_WIN32SDK2002 := $(PATH_DEVTOOLS)/win.x86/sdk/2002/not/found
55 # Resolve any fancy stuff once and for all.
56 PATH_SDK_WIN32SDK2002 := $(PATH_SDK_WIN32SDK2002)
58 PATH_SDK_WIN32SDK2002_INC ?= $(PATH_SDK_WIN32SDK2002)/include
59 PATH_SDK_WIN32SDK2002_LIB ?= $(PATH_SDK_WIN32SDK2002)/lib
61 # General Properties used by kBuild
62 SDK_WIN32SDK2002_INCS ?= $(PATH_SDK_WIN32SDK2002_INC)
63 SDK_WIN32SDK2002_LIBPATH ?= $(PATH_SDK_WIN32SDK2002_LIB)
64 SDK_WIN32SDK2002_LIBS ?= \
65 $(PATH_SDK_WIN32SDK2002_LIB)/Kernel32.Lib \
66 $(PATH_SDK_WIN32SDK2002_LIB)/User32.Lib \
67 $(PATH_SDK_WIN32SDK2002_LIB)/Gdi32.Lib \
68 $(PATH_SDK_WIN32SDK2002_LIB)/AdvAPI32.Lib \
69 $(PATH_SDK_WIN32SDK2002_LIB)/Shell32.Lib \
70 $(PATH_SDK_WIN32SDK2002_LIB)/ShLwApi.Lib \
71 $(PATH_SDK_WIN32SDK2002_LIB)/SetupAPI.Lib \
72 $(PATH_SDK_WIN32SDK2002_LIB)/Uuid.Lib \
73 $(PATH_SDK_WIN32SDK2002_LIB)/Version.Lib \
74 $(PATH_SDK_WIN32SDK2002_LIB)/WS2_32.Lib \
76 $(PATH_SDK_WIN32SDK2002_LIB)/Ole32.Lib \
77 $(PATH_SDK_WIN32SDK2002_LIB)/OleAut32.Lib \
78 $(PATH_SDK_WIN32SDK2002_LIB)/OleDlg.Lib \
79 $(PATH_SDK_WIN32SDK2002_LIB)/RpcRT4.Lib \
81 $(PATH_SDK_WIN32SDK2002_LIB)/DbgHelp.Lib \
82 $(PATH_SDK_WIN32SDK2002_LIB)/ImageHlp.Lib \
83 $(PATH_SDK_WIN32SDK2002_LIB)/IPHlpApi.Lib \
84 $(PATH_SDK_WIN32SDK2002_LIB)/ddraw.lib \
85 $(PATH_SDK_WIN32SDK2002_LIB)/dxguid.lib \
86 $(PATH_SDK_WIN32SDK2002_LIB)/ComCtl32.Lib \
87 $(PATH_SDK_WIN32SDK2002_LIB)/ComDlg32.Lib \
88 $(PATH_SDK_WIN32SDK2002_LIB)/WinSpool.Lib \
89 $(PATH_SDK_WIN32SDK2002_LIB)/WinMM.Lib