source: trunk/kBuild/sdks/W32API.kmk@ 1505

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

Updated the copyright year.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: W32API.kmk 1505 2008-04-09 00:13:14Z bird $
2## @file
3#
4# kBuild SDK - w32api (MinGW), targeting x86.
5#
6# Copyright (c) 2004-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
7#
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
27SDK_W32API := w32api (MinGW), targeting x86.
28
29# SDK Specific Properties
30ifndef PATH_SDK_W32API
31 PATH_SDK_W32API := $(wildcard $(PATH_DEVTOOLS)/win.x86/w32api/v*)
32 ifeq ($(PATH_SDK_W32API),)
33 PATH_SDK_W32API := $(wildcard $(PATH_DEVTOOLS)/x86.win32/w32api/v*)
34 endif
35 ifneq ($(PATH_SDK_W32API),)
36 PATH_SDK_W32API := $(lastword $(sort $(PATH_SDK_W32API)))
37 else
38 $(warning kBuild: PATH_SDK_W32API couldn't be determined!)
39 PATH_SDK_W32API := $(PATH_DEVTOOLS)/x86.win/w32api/not/found
40 endif
41else
42 # Resolve any fancy stuff once and for all.
43 PATH_SDK_W32API := $(PATH_SDK_W32API)
44endif
45PATH_SDK_W32API_INC ?= $(PATH_SDK_W32API)/include
46PATH_SDK_W32API_LIB ?= $(PATH_SDK_W32API)/lib
47
48# General Properties used by kBuild
49SDK_W32API_INCS ?= $(PATH_SDK_W32API_INC)
50SDK_W32API_LIBPATH ?= $(PATH_SDK_W32API_LIB)
51
Note: See TracBrowser for help on using the repository browser.