* m4/pypath.m4: New file.
* Makefile.am (SUBDIRS): Add wrap. * wrap/Makefile.am: New file. * wrap/spot.i: New file. Preliminary bindings for Python. * configure.ac: Call adl_CHECK_PYTHON and output wrap/Makefile.
This commit is contained in:
parent
16bc2c63d9
commit
e2c42a9f79
15 changed files with 141 additions and 2 deletions
22
wrap/Makefile.am
Normal file
22
wrap/Makefile.am
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
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 = \
|
||||
../src/ltlenv/libltlenv.la \
|
||||
../src/ltlparse/libltlparse.la \
|
||||
../src/ltlvisit/libltlvisit.la \
|
||||
../src/ltlast/libltlast.la
|
||||
|
||||
EXTRA_DIST = 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue