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

Contents of /trunk/base/generic/general/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 721 - (show annotations) (download)
Mon Jul 3 06:22:42 2006 UTC (14 years, 1 month ago) by johnpye
File size: 475 byte(s)
Added '--models' option to ascend-config.
Fixed a bug with packages.c wrt generating absolute paths to library files.
Added SCons directives to install header files in INSTALL_INCLUDE subdirs.
Changed rel.c so that init function is only run if provided in the package.
Added 'ospath_getabs' to convert relative paths into absolute paths by adding prefix of fully-resolved '.'
1 Import('libascend_env')
2
3 csrcs = Split("""
4 dstring.c hashpjw.c list.c listio.c pool.c pretty.c
5 stack.c table.c tm_time.c
6 ospath.c env.c
7 """)
8
9 objs =[]
10 for c in csrcs:
11 objs += libascend_env.SharedObject(c)
12
13 #--------------------
14 # INSTALL
15
16 import glob
17
18 if libascend_env.get('CAN_INSTALL'):
19 installdir = libascend_env['INSTALL_ROOT']+libascend_env['INSTALL_INCLUDE']+'/general'
20
21 headers = glob.glob("*.h")
22 libascend_env.InstallHeader(installdir,headers)
23
24 Return('objs')

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