]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/filesystem/build/Jamfile.v2
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / filesystem / build / Jamfile.v2
1 # Boost Filesystem Library Build Jamfile
2
3 # (C) Copyright Beman Dawes 2002-2006
4 # Distributed under the Boost Software License, Version 1.0.
5 # See www.boost.org/LICENSE_1_0.txt
6
7 # See library home page at http://www.boost.org/libs/filesystem
8
9 project boost/filesystem
10 : requirements <host-os>hpux,<toolset>gcc:<define>_INCLUDE_STDC__SOURCE_199901
11 : source-location ../src
12 : usage-requirements # pass these requirement to dependents (i.e. users)
13 <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
14 <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
15 ;
16
17 SOURCES =
18 codecvt_error_category
19 operations
20 path
21 path_traits
22 portability
23 unique_path
24 utf8_codecvt_facet
25 windows_file_codecvt
26 ;
27
28 lib boost_filesystem
29 : $(SOURCES).cpp ../../system/build//boost_system
30 : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
31 <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
32 :
33 : # Boost.Filesystem uses some of Boost.System functions in inlined/templated
34 # functions, so clients that use Boost.Filesystem will have direct references
35 # to Boost.System symbols. On Windows, Darwin, and some other platforms, this
36 # means those clients have to be directly linked to Boost.System. For static
37 # linking this happens anyway, but for shared we need to make it happen. Since
38 # doing so is harmless even when not needed, we do it for all platforms.
39 <link>shared:<library>../../system/build//boost_system
40 ;
41
42 boost-install boost_filesystem ;