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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1509 - (show annotations) (download)
Wed Jun 27 13:08:47 2007 UTC (12 years ago) by jpye
File size: 676 byte(s)
Fixed external loading of integrators, at least on my system. Needs testing
with/without fortran, sundials, etc.
Changed little thing kn d1mach.c to make default behaviour correct on Linux.
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 defs = []
21 objs = []
22
23 for c in csrcs:
24 objs += solver_env.SharedObject(c)
25
26 #--------------------
27 # INSTALL
28
29 import glob
30
31 if libascend_env.get('CAN_INSTALL'):
32 installdir = Dir(libascend_env.subst("$INSTALL_ROOT$INSTALL_INCLUDE/system"))
33
34 headers = glob.glob("*.h")
35 libascend_env.InstallHeader(installdir,headers)
36
37 Return('objs')
38
39 # vim: set syntax=python:
40

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