1 |
|
2 |
######################################################## |
3 |
# |
4 |
# Copyright (c) 2003-2010 by University of Queensland |
5 |
# Earth Systems Science Computational Center (ESSCC) |
6 |
# http://www.uq.edu.au/esscc |
7 |
# |
8 |
# Primary Business: Queensland, Australia |
9 |
# Licensed under the Open Software License version 3.0 |
10 |
# http://www.opensource.org/licenses/osl-3.0.php |
11 |
# |
12 |
######################################################## |
13 |
|
14 |
|
15 |
import os |
16 |
Import('*') |
17 |
|
18 |
local_env = clone_env(env_mpi) |
19 |
if local_env['usesilo']: |
20 |
local_env.Append(CPPDEFINES = ['USE_SILO']) |
21 |
local_env.AppendUnique(LIBS = [env['silo_libs']]) |
22 |
|
23 |
local_env.AppendUnique(LIBS = ['escriptexport']) |
24 |
prog = local_env.Program('escriptconvert', ['escriptconvert.cpp']) |
25 |
env.Alias('target_escriptconvert', prog) |
26 |
inst_escriptconvert = local_env.Install(local_env['bininstall'], prog) |
27 |
env.Alias('target_install_escriptconvert', inst_escriptconvert) |
28 |
|
29 |
# esdcreate has no other dependencies |
30 |
local_env = clone_env(env) |
31 |
prog = local_env.Program('esdcreate', 'esdcreate.cpp') |
32 |
env.Alias('target_esdcreate', prog) |
33 |
inst_esdcreate = local_env.Install(local_env['bininstall'], prog) |
34 |
env.Alias('target_install_esdcreate', inst_esdcreate) |
35 |
|