Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v1/gcc-stlport-tools.jam @ 12

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

added boost

File size: 1.5 KB
Line 
1# (C) Copyright David Abrahams and Carlos Pinto Coelho 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# this is simply an extension to the gcc toolset.
6extends-toolset gcc ;
7
8flags $(gCURRENT_TOOLSET) STLPORT_LIB_BASE_NAME ;
9
10if $(NT)
11{
12    STLPORT_LIB_BASE_NAME = stlport_cygwin ;
13}
14else
15{
16    STLPORT_LIB_BASE_NAME = stlport_gcc ;
17}
18
19SEARCH on stlport.jam = $(BOOST_BUILD_PATH) ;
20include stlport.jam ;
21
22# threading libraries always needed when using the library (i.e. iostreams).
23if $(UNIX)
24{
25    switch $(JAMUNAME)
26    {
27    case SunOS* :
28        {
29        flags gcc LINKFLAGS <stlport-iostream>on : -pthreads ;
30        flags gcc FINDLIBS <stlport-iostream>on : rt ;
31        }
32    case BeOS :
33        {
34        # BeOS has no threading options, don't set anything here.
35        }
36    case Darwin :
37        {
38        # MacOS X, doesn't need any threading options set
39        # -lpthread is linked to by default.
40        }
41    case *BSD :
42        {
43        flags gcc LINKFLAGS <stlport-iostream>on : -pthread ;
44        }
45    case IRIX :
46        {
47        # gcc on IRIX does not support multi-threading, don't set anything here.
48        }
49    case HP_UX :
50        {
51        # gcc on HP-UX does not support multi-threading, don't set anything here
52        }
53    case * :
54        {
55        flags gcc LINKFLAGS <stlport-iostream>on : -pthread ;
56        flags gcc FINDLIBS <stlport-iostream>on : rt ;
57        }
58    }
59}
Note: See TracBrowser for help on using the repository browser.