1 |
jpye |
1504 |
Import('env') |
2 |
jpye |
1941 |
qrslv_env = env.Clone() |
3 |
jpye |
1504 |
|
4 |
jpye |
1941 |
lib = qrslv_env.SharedLibrary("qrslv",["qrslv.c"] |
5 |
jpye |
1504 |
,LIBS = ['ascend'] |
6 |
|
|
,LIBPATH = ['#'] |
7 |
jpye |
1597 |
,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
8 |
|
|
,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
9 |
|
|
) |
10 |
jpye |
1504 |
|
11 |
jpye |
3307 |
env.Depends(lib,env['libascend']) |
12 |
|
|
|
13 |
jpye |
1597 |
env['extfns'] += [lib] |
14 |
jpye |
1504 |
|
15 |
|
|
if env.get('CAN_INSTALL'): |
16 |
jpye |
1505 |
dir = Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")) |
17 |
jpye |
1597 |
env.InstallShared(dir,lib) |
18 |
jpye |
1504 |
|
19 |
|
|
# vim: set syntax=python: |