* wrap/python/Makefile.am (lib_LTLIBRARIES)

(libspotswigpy_la_SOURCES, libspotswigpy_la_CFLAGS)
(libspotswigpy_la_LDFLAGS): New variables.
(_spot_la_LIBADD, _buddy_la_LDFLAGS): Link with libspotswigpy.la
($(srcdir)/spot_wrap.cxx, $(srcdir)/buddy_wrap.cxx): Run
swig with -c.
* wrap/python/tests/libpy.c: New file.
* wrap/python/tests/run.in: Run python if no arguments are given.
* wrap/python/tests/interdep.py: New file.
* wrap/python/tests/Makefile.am (TESTS): Add interdep.py.
This commit is contained in:
Alexandre Duret-Lutz 2003-08-04 15:35:55 +00:00
parent ea9a96237b
commit 31f4f7b79a
7 changed files with 673 additions and 10 deletions

View file

@ -4,10 +4,7 @@
# unset, be quiet.
test -n "$srcdir" && test -z "$VERBOSE" && exec >/dev/null 2>&1
if test -z "$1"; then
echo "Usage: ./run something" 2>&1
exit 1
fi
test -z "$1" && PYTHONPATH=..:@srcdir@/.. exec @PYTHON@
case $1 in
*.py)