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

Contents of /trunk/ascend/general/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2020 - (show annotations) (download)
Wed Apr 29 04:00:14 2009 UTC (15 years ago) by jpye
File size: 560 byte(s)
Fixed installation location of libascend headerfiles.
1 #!/usr/bin/python invoke_using_scons
2 Import('libascend_env')
3
4 csrcs = Split("""
5 dstring.c except.c
6 hashpjw.c list.c listio.c pool.c pretty.c
7 stack.c table.c tm_time.c
8 ospath.c env.c pairlist.c
9 """)
10
11 objs =[]
12 for c in csrcs:
13 objs += libascend_env.SharedObject(c)
14
15 #--------------------
16 # INSTALL
17
18 import glob
19
20 if libascend_env.get('CAN_INSTALL'):
21 installdir = Dir(libascend_env.subst("$INSTALL_ROOT$INSTALL_INCLUDE/ascend/general"))
22
23 headers = glob.glob("*.h")
24 libascend_env.InstallHeader(installdir,headers)
25
26 Return('objs')
27
28 # vim: set syntax=python:
29

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