Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / math / config / Jamfile.v2
1 # copyright John Maddock 2008
2 # Distributed under the Boost Software License, Version 1.0. 
3 # (See accompanying file LICENSE_1_0.txt or copy at 
4 # http://www.boost.org/LICENSE_1_0.txt.
5
6 import modules ;
7 import path ;
8
9 local ntl-path = [ modules.peek : NTL_PATH ] ;
10 local gmp_path = [ modules.peek : GMP_PATH ] ;
11 local e_float_path = [ modules.peek : E_FLOAT_PATH ] ;
12
13 lib quadmath ;
14 lib fftw3 ;
15 lib fftw3f ;
16 lib fftw3l ;
17 lib fftw3q ;
18
19 obj has_long_double_support : has_long_double_support.cpp ;
20 obj has_mpfr_class : has_mpfr_class.cpp :
21       <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
22 obj has_mpreal : has_mpreal.cpp :
23       <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/mpfrc++ ;
24 obj has_ntl_rr : has_ntl_rr.cpp : <include>$(ntl-path)/include ;
25 obj has_gmpxx : has_gmpxx.cpp :
26       <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
27 obj has_gcc_visibility : has_gcc_visibility.cpp :
28       <toolset>gcc:<cxxflags>-fvisibility=hidden <toolset>gcc:<cxxflags>-Werror ;
29 obj has_e_float : has_e_float.cpp : <include>$(e_float_path) ;
30 exe has_float128 : has_float128.cpp quadmath ;
31 exe has_fftw3 : has_fftw3.cpp fftw3 fftw3f fftw3l ;
32 exe has_intel_quad : has_intel_quad.cpp : <cxxflags>-Qoption,cpp,--extended_float_type ;
33 obj has_128bit_floatmax_t : has_128bit_floatmax_t.cpp ;
34 obj has_mpfr : has_mpfr.cpp :
35       <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
36 obj has_gmp : has_gmp.cpp :
37       <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
38
39 explicit has_long_double_support ;
40 explicit has_mpfr_class ;
41 explicit has_mpfr ;
42 explicit has_gmp ;
43 explicit has_mpreal ;
44 explicit has_ntl_rr ;
45 explicit has_gmpxx ;
46 explicit has_gcc_visibility ;
47 explicit has_e_float ;
48 explicit has_float128 ;
49 explicit has_intel_quad ;
50 explicit has_128bit_floatmax_t ;
51 explicit has_fftw3 ;
52