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

Contents of /trunk/base/generic/utilities/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1786 - (show annotations) (download)
Sat Jun 7 06:17:35 2008 UTC (11 years, 11 months ago) by jpye
File size: 695 byte(s)
Fixed for missing libpython (DistutilsPlatformError).
Fixed several env.Copy() warnings.
Removed swig 'SideEffect' statement for current SCons swig tool.
1 Import('libascend_env')
2
3 csrcs = Split("""
4
5 ascDynaLoad.c ascEnvVar.c ascMalloc.c ascPanic.c
6 ascPrint.c error.c mem.c readln.c set.c
7
8 """)
9
10 configh = libascend_env.SubstInFile(source='config.h.in')
11
12 objs = []
13 for c in csrcs:
14 objs += libascend_env.SharedObject(c)
15
16 sig_env = libascend_env.Clone()
17 sig_env.Append(CPPDEFINES=['NO_SIGINT_TRAP','NO_SIGSEGV_TRAP'])
18 objs += sig_env.SharedObject('ascSignal.c')
19
20 #--------------------
21 # INSTALL
22
23 import glob
24
25 if libascend_env.get('CAN_INSTALL'):
26 installdir = Dir(libascend_env.subst("$INSTALL_ROOT$INSTALL_INCLUDE/utilities"))
27
28 headers = glob.glob("*.h")
29 libascend_env.InstallHeader(installdir,headers)
30
31 Return('objs')
32
33 # vim: set syntax=python:
34

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