Move to kernel style SPDX license identifiers
[lttng-tools.git] / extras / bindings / swig / python / Makefile.am
CommitLineData
ab5be9fa
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
36907cb5 3lttng.i: lttng.i.in
18ecc6ae 4 $(SED) "s/LTTNG_VERSION_STR/LTTng $(PACKAGE_VERSION)/g" < $(srcdir)/lttng.i.in >lttng.i
36907cb5 5
343af227 6AM_CPPFLAGS += $(PYTHON_INCLUDE)
36907cb5 7
ffadb7d3
JG
8EXTRA_DIST = lttng.i.in
9nodist_python_PYTHON = lttng.py
36907cb5
DS
10pyexec_LTLIBRARIES = _lttng.la
11
12MAINTAINERCLEANFILES = lttng_wrap.c lttng.py
13
ffadb7d3 14nodist__lttng_la_SOURCES = lttng_wrap.c
36907cb5 15_lttng_la_LDFLAGS = -module
e2ad251c
SM
16_lttng_la_LIBADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
17 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
18 $(top_builddir)/src/common/libcommon.la
36907cb5 19
36907cb5
DS
20lttng_wrap.c: lttng.i
21 $(SWIG) -python -I. -I$(top_srcdir)/src/common/sessiond-comm lttng.i
36907cb5 22
b8a74969 23CLEANFILES = lttng.i lttng.py lttng_wrap.c lttng.pyc
This page took 0.034398 seconds and 4 git commands to generate.