|
|
|
|
######################################################## |
|
1 |
# |
# |
2 |
# Copyright (c) 2003-2008 by University of Queensland |
# $Id$ |
|
# Earth Systems Science Computational Center (ESSCC) |
|
|
# http://www.uq.edu.au/esscc |
|
3 |
# |
# |
4 |
# Primary Business: Queensland, Australia |
####################################################### |
5 |
# Licensed under the Open Software License version 3.0 |
# |
6 |
# http://www.opensource.org/licenses/osl-3.0.php |
# Copyright 2003-2007 by ACceSS MNRF |
7 |
|
# Copyright 2007 by University of Queensland |
8 |
|
# |
9 |
|
# http://esscc.uq.edu.au |
10 |
|
# Primary Business: Queensland, Australia |
11 |
|
# Licensed under the Open Software License version 3.0 |
12 |
|
# http://www.opensource.org/licenses/osl-3.0.php |
13 |
|
# |
14 |
|
####################################################### |
15 |
# |
# |
|
######################################################## |
|
|
|
|
16 |
|
|
17 |
import sys |
import sys |
18 |
|
|
19 |
|
py_vers_string = "%s.%s"%(sys.version_info[0],sys.version_info[1]) |
20 |
|
|
21 |
# locations of include files for python |
# locations of include files for python |
22 |
python_path = "/usr/include/python%s.%s"%(sys.version_info[0],sys.version_info[1]) |
python_path = "/usr/include/python" + py_vers_string |
23 |
python_lib_path = '/usr/lib' |
python_lib_path = '/usr/lib' |
24 |
python_lib = "python%s.%s"%(sys.version_info[0],sys.version_info[1]) |
python_lib = "python" + py_vers_string |
25 |
|
|
26 |
# locations of libraries for boost |
# locations of libraries for boost |
27 |
boost_path = '/usr/include' |
boost_path = '/usr/include' |
29 |
boost_lib = 'boost_python' |
boost_lib = 'boost_python' |
30 |
|
|
31 |
useNetCDF = 'yes' |
useNetCDF = 'yes' |
32 |
|
netCDF_path = '/usr/include' |
33 |
|
netCDF_lib_path = '/usr/lib' |
34 |
netCDF_libs = ['netcdf', 'netcdf_c++'] |
netCDF_libs = ['netcdf', 'netcdf_c++'] |
35 |
|
|
36 |
# locations of doc building executables |
# locations of doc building executables |
38 |
epydoc_path = '/usr/bin' |
epydoc_path = '/usr/bin' |
39 |
|
|
40 |
# c flags to use |
# c flags to use |
41 |
cc_flags = '-O3 -fpic -Wno-unknown-pragmas' |
cc_flags = '-fpic -Wno-unknown-pragmas' |
42 |
cc_flags_debug = '-g -O0 -fpic -Wno-unknown-pragmas' |
cc_optim = '-O3' |
43 |
|
cc_debug = '-g' |
|
# c++ flags to use |
|
|
cxx_flags = '-ansi' |
|
|
cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF' |
|
44 |
|
|
45 |
# static library archiver flags to use |
# static library archiver flags to use |
46 |
#ar_flags = 'crus' |
#ar_flags = 'crus' |