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

Contents of /trunk/base/generic/system/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1347 - (show annotations) (download)
Tue Mar 13 06:40:06 2007 UTC (17 years, 8 months ago) by jpye
File size: 777 byte(s)
Added routine for outputting system as a DOT graph.
Changed an 'assert' to an 'asc_assert' in logrelation.c.
Changed logical relation in sequence.a4c (was causing a crash).
Added Simulation::write(FILE,char*) for outputting *stuff* from a simulation.
1 Import('libascend_env')
2
3 csrcs = Split("""
4 analyze.c block.c
5 bnd.c bndman.c calc.c cond_config.c
6 conditional.c discrete.c
7 diffvars.c
8 jacobian.c
9 graph.c
10 logrel.c logrelman.c model_reorder.c
11 rel.c relman.c
12 slv.c
13 slv_common.c
14 slv_param.c
15 slv_stdcalls.c system.c var.c
16 """)
17
18 solver_env = libascend_env.Copy()
19
20 for i in libascend_env.get('WITH_SOLVERS'):
21 solver_env.Append(CPPDEFINES=["STATIC_"+i])
22
23 defs = []
24 objs = []
25
26 for c in csrcs:
27 objs += solver_env.SharedObject(c)
28
29 #--------------------
30 # INSTALL
31
32 import glob
33
34 if libascend_env.get('CAN_INSTALL'):
35 installdir = libascend_env['INSTALL_ROOT']+libascend_env['INSTALL_INCLUDE']+'/system'
36
37 headers = glob.glob("*.h")
38 libascend_env.InstallHeader(installdir,headers)
39
40 Return('objs')
41
42 # vim: set syntax=python:
43

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