| 1 | # $Id: WIN32SDK2002.kmk 3418 2020-08-21 11:02:13Z bird $
|
|---|
| 2 | ## @file
|
|---|
| 3 | # kBuild SDK - Windows Platform SDK (from ~2002), targeting x86.
|
|---|
| 4 | # Differs in that it has ddraw.lib and dxguid.lib.
|
|---|
| 5 | #
|
|---|
| 6 |
|
|---|
| 7 | #
|
|---|
| 8 | # Copyright (c) 2006-2017 knut st. osmundsen <bird-kBuild-spam-xviiv@anduin.net>
|
|---|
| 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 | # 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.
|
|---|
| 32 | #
|
|---|
| 33 | #
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | SDK_WIN32SDK2002 := Windows Platform SDK (from ~2002), targeting x86. \
|
|---|
| 37 | Differs in that it has ddraw.lib and dxguid.lib.
|
|---|
| 38 |
|
|---|
| 39 | # SDK Specific Properties
|
|---|
| 40 | ifndef PATH_SDK_WIN32SDK2002
|
|---|
| 41 | PATH_SDK_WIN32SDK2002 := $(wildcard $(KBUILD_DEVTOOLS)/win.x86/sdk/2002*)
|
|---|
| 42 | ifeq ($(PATH_SDK_WIN32SDK2002),)
|
|---|
| 43 | PATH_SDK_WIN32SDK2002 := $(wildcard $(KBUILD_DEVTOOLS)/x86.win32/sdk/2002*)
|
|---|
| 44 | endif
|
|---|
| 45 | ifeq ($(PATH_SDK_WIN32SDK2002),)
|
|---|
| 46 | PATH_SDK_WIN32SDK2002 := $(wildcard $(KBUILD_DEVTOOLS)/x86.win32/sdk2002*)
|
|---|
| 47 | endif
|
|---|
| 48 | ifneq ($(PATH_SDK_WIN32SDK2002),)
|
|---|
| 49 | PATH_SDK_WIN32SDK2002 := $(lastword $(sort $(PATH_SDK_WIN32SDK2002)))
|
|---|
| 50 | else
|
|---|
| 51 | $(warning kBuild: PATH_SDK_WIN32SDK2002 couldn't be determined!)
|
|---|
| 52 | PATH_SDK_WIN32SDK2002 := $(KBUILD_DEVTOOLS)/win.x86/sdk/2002/not/found
|
|---|
| 53 | endif
|
|---|
| 54 | else
|
|---|
| 55 | # Resolve any fancy stuff once and for all.
|
|---|
| 56 | PATH_SDK_WIN32SDK2002 := $(PATH_SDK_WIN32SDK2002)
|
|---|
| 57 | endif
|
|---|
| 58 | PATH_SDK_WIN32SDK2002_INC ?= $(PATH_SDK_WIN32SDK2002)/include
|
|---|
| 59 | PATH_SDK_WIN32SDK2002_LIB ?= $(PATH_SDK_WIN32SDK2002)/lib
|
|---|
| 60 |
|
|---|
| 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 \
|
|---|
| 75 | \
|
|---|
| 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 \
|
|---|
| 80 | \
|
|---|
| 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
|
|---|
| 90 |
|
|---|