/[ascend]/trunk/solvers/ida/SConscript
ViewVC logotype

Diff of /trunk/solvers/ida/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1596 by jpye, Wed Jun 27 13:45:17 2007 UTC revision 1597 by jpye, Fri Aug 17 05:26:05 2007 UTC
# Line 25  if env.get('WITH_IDA'): Line 25  if env.get('WITH_IDA'):
25    
26      solver_env.Append(      solver_env.Append(
27          LIBPATH=[env.get('SUNDIALS_LIBPATH'),"#"]          LIBPATH=[env.get('SUNDIALS_LIBPATH'),"#"]
28          , LIBS=[env.get('SUNDIALS_LIBS'),"ascend"]          ,LIBS=[env.get('SUNDIALS_LIBS'),"ascend"]
29      )      )
30    
31      srcs = ['ida.c','idalinear.c', 'idaanalyse.c']      srcs = ['ida.c','idalinear.c', 'idaanalyse.c']
32      libida = solver_env.SharedLibrary("ida",srcs)      lib = solver_env.SharedLibrary("ida",srcs
33            ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
34            ,SHLIBPREFIX = env['EXTLIB_PREFIX']
35        )
36    
37      env.Depends(libida,env['libascend'])      env.Depends(lib,env['libascend'])
38    
39      env['extfns'] += libida      env['extfns'] += lib
40    
41      if env.get('CAN_INSTALL'):      if env.get('CAN_INSTALL'):
42          dir = Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS"))          dir = Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS"))
43          env.InstallShared(dir,libida)          env.InstallShared(dir,lib)
44    
45  # vim: set syntax=python:  # vim: set syntax=python:

Legend:
Removed from v.1596  
changed lines
  Added in v.1597

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