* wrap/Makefile.am, wrap/spot.i: Move ...
* wrap/python/Makefile.am, wrap/python/spot.i: ... here. * wrap/Makefile.am: New file. * configure.ac: Output wrap/python/Makefile.
This commit is contained in:
parent
bdd2be3366
commit
525cc01696
7 changed files with 34 additions and 25 deletions
18
wrap/python/Makefile.am
Normal file
18
wrap/python/Makefile.am
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
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 = 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