Fix: Use result of AC_PROG_* when using sed / grep
[lttng-tools.git] / extras / bindings / swig / python / Makefile.am
CommitLineData
36907cb5 1lttng.i: lttng.i.in
18ecc6ae 2 $(SED) "s/LTTNG_VERSION_STR/LTTng $(PACKAGE_VERSION)/g" < $(srcdir)/lttng.i.in >lttng.i
36907cb5 3
e2ad251c 4AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include
36907cb5 5
ffadb7d3
JG
6EXTRA_DIST = lttng.i.in
7nodist_python_PYTHON = lttng.py
36907cb5
DS
8pyexec_LTLIBRARIES = _lttng.la
9
10MAINTAINERCLEANFILES = lttng_wrap.c lttng.py
11
ffadb7d3 12nodist__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
18lttng_wrap.c: lttng.i
19 $(SWIG) -python -I. -I$(top_srcdir)/src/common/sessiond-comm lttng.i
36907cb5 20
b8a74969 21CLEANFILES = lttng.i lttng.py lttng_wrap.c lttng.pyc
This page took 0.030201 seconds and 4 git commands to generate.