stasis-aries-wal/utilities/swig/Makefile.am

13 lines
454 B
Makefile

BUILT_SOURCES = stasis_wrap.cc
all: $(BUILD_SOURCES)
pkgpython_PYTHON = stasis.py
pkgpyexec_LTLIBRARIES = _stasis.la
_stasis_la_SOURCES = stasis_wrap.cc
_stasis_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir) -I$(top_srcdir)/src
_stasis_la_LDFLAGS = -module
_stasis_la_LIBADD = $(top_srcdir)/src/stasis/liblladd.a $(top_srcdir)/src/libdfa/librw.a
stasis_wrap.cc : lladd.i
$(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir)/src -I$(top_srcdir) -o $@ $<