Fix: mark generated python bindings files as nodist
[lttng-tools.git] / extras / bindings / swig / python / Makefile.am
CommitLineData
36907cb5
DS
1lttng.i: lttng.i.in
2 sed "s/LTTNG_VERSION_STR/LTTng $(PACKAGE_VERSION)/g" <lttng.i.in >lttng.i
3
4AM_CFLAGS = -I$(PYTHON_INCLUDE) -I$(top_srcdir)/lib/lttng-ctl -I../common \
5 $(BUDDY_CFLAGS)
6
ffadb7d3
JG
7EXTRA_DIST = lttng.i.in
8nodist_python_PYTHON = lttng.py
36907cb5
DS
9pyexec_LTLIBRARIES = _lttng.la
10
11MAINTAINERCLEANFILES = lttng_wrap.c lttng.py
12
ffadb7d3 13nodist__lttng_la_SOURCES = lttng_wrap.c
36907cb5 14_lttng_la_LDFLAGS = -module
36907cb5
DS
15_lttng_la_LIBADD = $(top_srcdir)/src/lib/lttng-ctl/liblttng-ctl.la \
16 $(top_srcdir)/src/common/sessiond-comm/libsessiond-comm.la
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.023583 seconds and 4 git commands to generate.