8 |
extfn_env.Append(LIBPATH=['#']) |
extfn_env.Append(LIBPATH=['#']) |
9 |
extfn_env.Append(LIBS=['ascend']) |
extfn_env.Append(LIBS=['ascend']) |
10 |
|
|
11 |
targets = [] |
lib = extfn_env.SharedLibrary("extfntest",srcs |
12 |
targets.append( extfn_env.SharedLibrary("extfntest",srcs) ) |
,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
13 |
|
,SHLIBPREFIX = env['EXTLIB_PREFIX'] |
14 |
|
) |
15 |
|
|
16 |
# To run the test |
# To run the test |
17 |
# type |
# type |
19 |
# ASCENDLIBRARY=../../../models LD_LIBRARY_PATH=../../.. PYTHONPATH=../../../pygtk python extfntest.py |
# ASCENDLIBRARY=../../../models LD_LIBRARY_PATH=../../.. PYTHONPATH=../../../pygtk python extfntest.py |
20 |
|
|
21 |
# Return the targs |
# Return the targs |
22 |
env['extfns'] += targets |
env['extfns'] += [lib] |
23 |
|
|
24 |
# vim: set syntax=python: |
# vim: set syntax=python: |
25 |
|
|