spot/wrap/python/Makefile.am
Alexandre Duret-Lutz 0c50e20ffd * configure.ac: Output wrap/python/tests/Makefile
and wrap/python/tests/run.
* wrap/python/Makefile.am (SUBDIRS): New variable.
* wrap/python/spot.i: Include all formulae headers from ltlast/,
as well as ltlvisit/destroy.hh.
(spot::ltl::formula::__cmp__, spot::ltl::formula::__str__): New
functions.
* wrap/python/tests/Makefile.am, wrap/python/tests/ltlsimple.py,
wrap/python/tests/run.in: New files.
2003-07-31 20:04:29 +00:00

19 lines
449 B
Makefile

SUBDIRS = tests
AM_CPPFLAGS = -I$(PYTHONINC) -I$(top_srcdir)/src
python_PYTHON = spot.py
pyexec_LTLIBRARIES = _spot.la
_spot_la_SOURCES = spot_wrap.cxx
_spot_la_LDFLAGS = -avoid-version -module
_spot_la_LIBADD = $(top_builddir)/src/libspot.la
EXTRA_DIST = ltihooks.py spot.i
spot_wrap.cxx: spot.i
swig -c++ -python -I$(top_srcdir)/src spot.i
spot.py: spot.i
$(MAKE) $(AM_MAKEFLAGS) spot_wrap.cxx
MAINTAINERCLEANFILES = spot_wrap.cxx spot.py