5 |
if solver_env.get('WITH_TRON'): |
if solver_env.get('WITH_TRON'): |
6 |
solver_env.AppendUnique(CPPPATH=[solver_env.get('TRON_CPPPATH')]) |
solver_env.AppendUnique(CPPPATH=[solver_env.get('TRON_CPPPATH')]) |
7 |
|
|
8 |
libtron = solver_env.SharedLibrary("tron",["asc_tron.c"] |
lib = solver_env.SharedLibrary("tron",["asc_tron.c"] |
9 |
,LIBS = ['ascend'] |
,LIBS = ['ascend'] |
10 |
,LIBPATH = ['#'] |
,LIBPATH = ['#'] |
11 |
|
,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
12 |
|
,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
13 |
) |
) |
14 |
|
|
15 |
env.Depends(libtron,env['libascend']) |
env.Depends(lib,env['libascend']) |
16 |
|
|
17 |
env['extfns'] += [libtron] |
env['extfns'] += [lib] |
18 |
|
|
19 |
# vim: set syntax=python: |
# vim: set syntax=python: |