/[ascend]/trunk/base/generic/solver/SConscript
ViewVC logotype

Contents of /trunk/base/generic/solver/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 507 - (show annotations) (download)
Wed Apr 19 02:44:25 2006 UTC (14 years, 6 months ago) by johnpye
File size: 635 byte(s)
Fixing for ubuntu GCC 4
1 Import('env')
2
3 csrcs = Split("""
4
5 analyze.c bnd.c bndman.c calc.c cond_config.c
6 conditional.c conopt.c discrete.c incidence.c linsol.c
7 linsolqr.c linutils.c logrel.c logrelman.c model_reorder.c
8 mps.c mtx_basic.c mtx_linal.c mtx_perms.c mtx_query.c
9 mtx_reorder.c mtx_use_only.c rel.c relman.c
10 slv.c slv0.c slv1.c slv2.c slv3.c slv6.c slv7.c
11 slv8.c slv9.c slv9a.c slvDOF.c slv_common.c
12 slv_interface.c slv_stdcalls.c system.c var.c
13
14 """)
15
16 solver_env = env.Copy()
17
18 defs = []
19 for i in env['WITH_SOLVERS']:
20 solver_env.Append(CPPDEFINES=["STATIC_"+i])
21
22 objs = []
23 for c in csrcs:
24 objs += solver_env.SharedObject(c)
25
26 Return('objs')

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22