Commit | Line | Data |
---|---|---|
36907cb5 | 1 | lttng.i: lttng.i.in |
18ecc6ae | 2 | $(SED) "s/LTTNG_VERSION_STR/LTTng $(PACKAGE_VERSION)/g" < $(srcdir)/lttng.i.in >lttng.i |
36907cb5 | 3 | |
e2ad251c | 4 | AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include |
36907cb5 | 5 | |
ffadb7d3 JG |
6 | EXTRA_DIST = lttng.i.in |
7 | nodist_python_PYTHON = lttng.py | |
36907cb5 DS |
8 | pyexec_LTLIBRARIES = _lttng.la |
9 | ||
10 | MAINTAINERCLEANFILES = lttng_wrap.c lttng.py | |
11 | ||
ffadb7d3 | 12 | nodist__lttng_la_SOURCES = lttng_wrap.c |
36907cb5 | 13 | _lttng_la_LDFLAGS = -module |
e2ad251c SM |
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 | |
36907cb5 | 17 | |
36907cb5 DS |
18 | lttng_wrap.c: lttng.i |
19 | $(SWIG) -python -I. -I$(top_srcdir)/src/common/sessiond-comm lttng.i | |
36907cb5 | 20 | |
b8a74969 | 21 | CLEANFILES = lttng.i lttng.py lttng_wrap.c lttng.pyc |