source: trunk/kBuild/sdks/WIN32SDK2002.kmk@ 675

Last change on this file since 675 was 664, checked in by bird, 19 years ago

Two types of SDKs, BUILD_TARGET and target specific. The latter is for use with bldprogs and when doing cross compilation. Also renamed PATH_DEV to PATH_DEVTOOLS as that seems more self explanatory.

  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# $Id: WIN32SDK2002.kmk 664 2006-12-06 02:14:43Z bird $
2## @file
3#
4# kBuild SDK - Windows Platform SDK (from ~2002), targeting x86.
5# Differs in that it has ddraw.lib and dxguid.lib.
6#
7# Copyright (c) 2006 knut st. osmundsen <bird-srcspam@anduin.net>
8#
9#
10# This file is part of kBuild.
11#
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.
16#
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.
21#
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
25#
26#
27
28
29SDK_WIN32SDK2002 := Windows Platform SDK (from ~2002), targeting x86. \
30 Differs in that it has ddraw.lib and dxguid.lib.
31
32# SDK Specific Properties
33ifndef PATH_SDK_WIN32SDK2002
34 PATH_SDK_WIN32SDK2002 := $(sort $(wildcard $(PATH_DEVTOOLS)/x86.win/sdk/2002*))
35 ifeq ($(PATH_SDK_WIN32SDK2002),)
36 PATH_SDK_WIN32SDK2002 := $(sort $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk/2002*))
37 endif
38 ifeq ($(PATH_SDK_WIN32SDK2002),)
39 PATH_SDK_WIN32SDK2002 := $(sort $(wildcard $(PATH_DEVTOOLS)/x86.win/sdk2002*))
40 endif
41 ifeq ($(PATH_SDK_WIN32SDK2002),)
42 PATH_SDK_WIN32SDK2002 := $(sort $(wildcard $(PATH_DEVTOOLS)/x86.win32/sdk2002*))
43 endif
44 ifneq ($(PATH_SDK_WIN32SDK2002),)
45 PATH_SDK_WIN32SDK2002 := $(call lastword,$(PATH_SDK_WIN32SDK2002))
46 else
47 $(warning kBuild: PATH_SDK_WIN32SDK2002 couldn't be determined!)
48 PATH_SDK_WIN32SDK2002 := $(PATH_DEVTOOLS)/x86.win/sdk/not/found
49 endif
50else
51 # Resolve any fancy stuff once and for all.
52 PATH_SDK_WIN32SDK2002 := $(PATH_SDK_WIN32SDK2002)
53endif
54PATH_SDK_WIN32SDK2002_INC ?= $(PATH_SDK_WIN32SDK2002)/include
55PATH_SDK_WIN32SDK2002_LIB ?= $(PATH_SDK_WIN32SDK2002)/lib
56
57# General Properties used by kBuild
58SDK_WIN32SDK2002_INCS ?= $(PATH_SDK_WIN32SDK2002_INC)
59SDK_WIN32SDK2002_LIBPATH ?= $(PATH_SDK_WIN32SDK2002_LIB)
60SDK_WIN32SDK2002_LIBS ?= \
61 $(PATH_SDK_WIN32SDK2002_LIB)/Kernel32.Lib \
62 $(PATH_SDK_WIN32SDK2002_LIB)/User32.Lib \
63 $(PATH_SDK_WIN32SDK2002_LIB)/Gdi32.Lib \
64 $(PATH_SDK_WIN32SDK2002_LIB)/AdvAPI32.Lib \
65 $(PATH_SDK_WIN32SDK2002_LIB)/Shell32.Lib \
66 $(PATH_SDK_WIN32SDK2002_LIB)/ShLwApi.Lib \
67 $(PATH_SDK_WIN32SDK2002_LIB)/SetupAPI.Lib \
68 $(PATH_SDK_WIN32SDK2002_LIB)/Uuid.Lib \
69 $(PATH_SDK_WIN32SDK2002_LIB)/Version.Lib \
70 $(PATH_SDK_WIN32SDK2002_LIB)/WS2_32.Lib \
71 \
72 $(PATH_SDK_WIN32SDK2002_LIB)/Ole32.Lib \
73 $(PATH_SDK_WIN32SDK2002_LIB)/OleAut32.Lib \
74 $(PATH_SDK_WIN32SDK2002_LIB)/OleDlg.Lib \
75 $(PATH_SDK_WIN32SDK2002_LIB)/RpcRT4.Lib \
76 \
77 $(PATH_SDK_WIN32SDK2002_LIB)/DbgHelp.Lib \
78 $(PATH_SDK_WIN32SDK2002_LIB)/ImageHlp.Lib \
79 $(PATH_SDK_WIN32SDK2002_LIB)/IPHlpApi.Lib \
80 $(PATH_SDK_WIN32SDK2002_LIB)/ddraw.lib \
81 $(PATH_SDK_WIN32SDK2002_LIB)/dxguid.lib \
82 $(PATH_SDK_WIN32SDK2002_LIB)/ComCtl32.Lib \
83 $(PATH_SDK_WIN32SDK2002_LIB)/ComDlg32.Lib \
84 $(PATH_SDK_WIN32SDK2002_LIB)/WinSpool.Lib \
85 $(PATH_SDK_WIN32SDK2002_LIB)/WinMM.Lib
86
Note: See TracBrowser for help on using the repository browser.