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

Contents of /trunk/ascend/integrator/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2020 - (show annotations) (download)
Wed Apr 29 04:00:14 2009 UTC (15 years, 8 months ago) by jpye
File size: 607 byte(s)
Fixed installation location of libascend headerfiles.
1 #!/usr/bin/python invoke_using_scons
2 Import('libascend_env')
3
4 objs = []
5
6 csrcs = Split("""
7 integrator.c samplelist.c
8 """)
9 # aww.c
10
11 solver_env = libascend_env.Clone()
12 if solver_env.get('WITH_MMIO'):
13 solver_env.Append(CPPPATH=["#/mmio"])
14
15 for c in csrcs:
16 objs += solver_env.SharedObject(c)
17
18 #--------------------
19 # INSTALL
20
21 import glob
22
23 if libascend_env.get('CAN_INSTALL'):
24 installdir = Dir(libascend_env.subst("$INSTALL_ROOT$INSTALL_INCLUDE/ascend/integrator"))
25
26 headers = glob.glob("*.h")
27 libascend_env.InstallHeader(installdir,headers)
28
29 print "OBJS =",objs
30 Return('objs')
31
32 # vim: set syntax=python:
33

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