Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v1/bootstrap.jam @ 12

Last change on this file since 12 was 12, checked in by landauf, 18 years ago

added boost

File size: 1.2 KB
Line 
1#  (C) Copyright David Abrahams 2001.
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
4
5#
6# Enforce toolset names to be lowercase for consistency. This also
7# removes bugs for incompatible names on file systems that are
8# case-insensitive.
9#
10TOOLS = $(TOOLS:L) ;
11
12SEARCH on <jam-module>allyourbase.jam = $(BOOST_BUILD_PATH) ;
13include <jam-module>allyourbase.jam ;
14SEARCH on <jam-module>boost-base.jam = $(BOOST_BUILD_PATH) ;
15include <jam-module>boost-base.jam ;
16
17#
18# Now include the user's Jamfile.
19#
20{
21    load-jamfiles $(JAMFILE) ;
22}
23
24#
25# Cause the targets specified in the command line to be updated
26#
27if $(JAM_VERSION) && $(JAM_VERSION:J="") >= 030101 &&  $(JAM_VERSION:J="") < 030104
28{
29    # Only the last invocation of UPDATE takes effect; we must
30    # accumulate the entire list before invoking UPDATE.  I always
31    # thought this was a confusing semantics, and probably the fact
32    # that the author of UPDATE got it wrong is proof.
33   
34    local t ;
35    for local e in $(ARGV[2-])
36    {
37        if ! [ MATCH "^(-).*" : $(e) ]
38        {
39            t += $(e) ;
40        }
41    }
42    UPDATE $(t) ; 
43}
Note: See TracBrowser for help on using the repository browser.