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

Contents of /trunk/base/generic/integrator/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1508 - (show annotations) (download)
Wed Jun 27 11:37:28 2007 UTC (15 years, 3 months ago) by jpye
File size: 562 byte(s)
Adjusting build scripts after moving integrators
1 Import('libascend_env')
2
3 objs = []
4
5 csrcs = Split("""
6 integrator.c samplelist.c
7 """)
8 # aww.c
9
10 solver_env = libascend_env.Copy()
11 if solver_env.get('WITH_MMIO'):
12 solver_env.Append(CPPPATH=["#/mmio"])
13
14 for c in csrcs:
15 objs += solver_env.SharedObject(c)
16
17 #--------------------
18 # INSTALL
19
20 import glob
21
22 if libascend_env.get('CAN_INSTALL'):
23 installdir = Dir(libascend_env.subst("$INSTALL_ROOT$INSTALL_INCLUDE/integrator"))
24
25 headers = glob.glob("*.h")
26 libascend_env.InstallHeader(installdir,headers)
27
28 print "OBJS =",objs
29 Return('objs')
30
31 # vim: set syntax=python:
32

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