2 sed "s/LTTNG_VERSION_STR/LTTng $(PACKAGE_VERSION)/g" < $(srcdir)/lttng.i.in >lttng.i
4 AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include
6 EXTRA_DIST = lttng.i.in
7 nodist_python_PYTHON = lttng.py
8 pyexec_LTLIBRARIES = _lttng.la
10 MAINTAINERCLEANFILES = lttng_wrap.c lttng.py
12 nodist__lttng_la_SOURCES = lttng_wrap.c
13 _lttng_la_LDFLAGS = -module
14 _lttng_la_LIBADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
15 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
16 $(top_builddir)/src/common/libcommon.la
19 $(SWIG) -python -I. -I$(top_srcdir)/src/common/sessiond-comm lttng.i
21 CLEANFILES = lttng.i lttng.py lttng_wrap.c lttng.pyc