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 |
|
|