Commit f0aa5803 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Update to SWIG 1.3.22.

* wrap/python/libpy.c: Delete.
* wrap/python/swigpy.i: New file.
* wrap/python/Makefile.am (swigpy_wrap.c): Build this from swigpy.i
and use it instead of libpy.c.
parent b4065d90
2004-09-20 Alexandre Duret-Lutz <adl@src.lip6.fr>
Update to SWIG 1.3.22.
* wrap/python/libpy.c: Delete.
* wrap/python/swigpy.i: New file.
* wrap/python/Makefile.am (swigpy_wrap.c): Build this from swigpy.i
and use it instead of libpy.c.
* INSTALL, lbtt/INSTALL: New upstream version.
2004-09-14 Thomas Martinez <martinez@src.lip6.fr>
......
......@@ -7,5 +7,5 @@ spot.py*
buddy.py*
*.lo
*.loT
*_wrap.cxx
*_wrap.*
*.pyc
......@@ -23,15 +23,25 @@ SUBDIRS = . cgi tests
AM_CPPFLAGS = -I$(PYTHONINC) -I$(top_srcdir)/src $(BUDDY_CPPFLAGS)
EXTRA_DIST = ltihooks.py spot.i buddy.i
EXTRA_DIST = ltihooks.py spot.i buddy.i swigpy.i
python_PYTHON = $(srcdir)/spot.py $(srcdir)/buddy.py
pyexec_LTLIBRARIES = _spot.la _buddy.la
lib_LTLIBRARIES = libspotswigpy.la
libspotswigpy_la_SOURCES = libpy.c
## libspotswigpy is the SWIG runtime common to the other modules.
libspotswigpy_la_SOURCES = $(srcdir)/swigpy_wrap.c
libspotswigpy_la_CFLAGS = -DSWIG_GLOBAL
libspotswigpy_la_LDFLAGS = -avoid-version
$(srcdir)/swigpy_wrap.c: $(srcdir)/swigpy.i
swig -runtime -python $(srcdir)/swigpy.i
rm -f $(srcdir)/swigpy.py
## spot
_spot_la_SOURCES = $(srcdir)/spot_wrap.cxx
_spot_la_LDFLAGS = -avoid-version -module
_spot_la_LIBADD = $(top_builddir)/src/libspot.la libspotswigpy.la
......@@ -42,6 +52,9 @@ $(srcdir)/spot_wrap.cxx: $(srcdir)/spot.i
$(srcdir)/spot.py: $(srcdir)/spot.i
$(MAKE) $(AM_MAKEFLAGS) spot_wrap.cxx
## buddy
_buddy_la_SOURCES = $(srcdir)/buddy_wrap.cxx
_buddy_la_LDFLAGS = -avoid-version -module $(BUDDY_LDFLAGS)
_buddy_la_LIBADD = libspotswigpy.la
......@@ -53,6 +66,8 @@ $(srcdir)/buddy.py: $(srcdir)/buddy.i
$(MAKE) $(AM_MAKEFLAGS) buddy_wrap.cxx
MAINTAINERCLEANFILES = \
$(srcdir)/spot_wrap.cxx $(srcdir)/spot.py \
$(srcdir)/buddy_wrap.cxx $(srcdir)/buddy.py
$(srcdir)/buddy_wrap.cxx $(srcdir)/buddy.py \
$(srcdir)/swigpy_wrap.cxx
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment