VirtualBox

source: kBuild/trunk/Config.kmk@ 281

Last change on this file since 281 was 270, checked in by bird, 20 years ago

More proper stuff.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# $Id: Config.kmk 270 2005-05-06 03:48:56Z bird $
2## @file
3#
4# Build Configuration.
5#
6# Copyright (c) 2005 knut st. osmundsen <[email protected]>
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
27
28#
29# Template for building commandline tools.
30#
31TEMPLATE_BIN = Commandline binary
32
33ifeq ($(BUILD_TARGET),os2)
34TEMPLATE_BIN_TOOL = GCC3OMF
35TEMPLATE_BIN_CFLAGS.release = -O3
36TEMPLATE_BIN_LDFLAGS = -Zhigh-mem -Zstack=1024
37TEMPLATE_BIN_INST = kBuild/bin/x86.os2/
38endif
39
40ifeq ($(BUILD_TARGET),win32)
41TEMPLATE_BIN_TOOL = VCC70
42TEMPLATE_BIN_DEFS = WINDOWS32 _CONSOLE WIN32
43TEMPLATE_BIN_DEFS.release = NDEBUG
44TEMPLATE_BIN_CFLAGS = -MT -W3
45TEMPLATE_BIN_INCS = \
46 . \
47 $(PATH_ROOT)/src/gmake/w32/include \
48 $(PATH_ROOT)/src/gmake/glob \
49 $(PATH_DEV)/x86.win32/vcc70/include \
50 $(PATH_DEV)/x86.win32/sdk200209/include
51TEMPLATE_BIN_LDFLAGS = /SUBSYSTEM:console /INCREMENTAL:no /NOD
52TEMPLATE_BIN_LIBS = \
53 $(PATH_DEV)/x86.win32/vcc70/lib/libcmt.lib \
54 $(PATH_DEV)/x86.win32/vcc70/lib/oldnames.lib \
55 $(PATH_DEV)/x86.win32/sdk200209/lib/Kernel32.Lib \
56 $(PATH_DEV)/x86.win32/sdk200209/lib/User32.Lib \
57 $(PATH_DEV)/x86.win32/sdk200209/lib/AdvAPI32.Lib
58TEMPLATE_BIN_INST = kBuild/bin/x86.win32/
59endif
60
61ifndef TEMPLATE_BIN_TOOL
62TEMPLATE_BIN_TOOL = GCC3
63TEMPLATE_BIN_CFLAGS.release = -O3
64TEMPLATE_BIN_LDFLAGS = /SUBSYSTEM:console /INCREMENTAL:no /NOD
65ifeq ($(BUILD_TARGET),linux)
66TEMPLATE_BIN_LIBS = rt
67endif
68TEMPLATE_BIN_INST = kBuild/bin/$(BUILD_TARGET_ARCH).$(BUILD_TARGET)/
69endif
70
71
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette