spot/wrap/Makefile.am
Alexandre Duret-Lutz 4e965abe34 * src/ltlvisit/Makefile.am (lib_LTLIBRARIES): Rename as ...
(noinst_LTLIBRARIES): ... this.
* src/ltlenv/Makefile.am, src/ltlast/Makefile.am,
src/ltlparse/Makefile.am: Likewise.
* src/Makefile.am (lib_LTLIBRARIES, libspot_la_SOURCES,
libspot_la_LIBADD): New variable.   Build a libspot.la library
from all the sub-libraries.
2003-04-30 12:46:12 +00:00

18 lines
409 B
Makefile

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/libspot.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