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

Diff of /trunk/solvers/lrslv/SConscript

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

revision 1596 by jpye, Wed Jun 27 13:24:21 2007 UTC revision 1597 by jpye, Fri Aug 17 05:26:05 2007 UTC
# Line 1  Line 1 
1  Import('env')  Import('env')
2    
3  liblrslv = [env.SharedLibrary("lrslv",["slv9a.c"]  lib = env.SharedLibrary("lrslv",["slv9a.c"]
4      ,LIBS = ['ascend']      ,LIBS = ['ascend']
5      ,LIBPATH = ['#']      ,LIBPATH = ['#']
6  )]      ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
7        ,SHLIBPREFIX = env['EXTLIB_PREFIX']
8    )
9    
10  env['extfns'] += liblrslv  env['extfns'] += [lib]
11    
12  env.Depends(liblrslv,env['libascend'])  env.Depends(lib,env['libascend'])
13    
14    
15  if env.get('CAN_INSTALL'):  if env.get('CAN_INSTALL'):
16      env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),liblrslv)      env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),lib)
17    
18  # vim: set syntax=python:  # vim: set syntax=python:
19    

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

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