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