Python: split API in reader/writer modules
[babeltrace.git] / bindings / python / Makefile.am
CommitLineData
6fd49698
PP
1all-local: __init__.py
2
3__init__.py: __init__.py.in
4 sed "s/BABELTRACE_VERSION_STR/$(PACKAGE_VERSION)/g" < $< > $@
24a3136a 5
dab8128f 6AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/
24a3136a 7
be5a4e67
PP
8EXTRA_DIST = __init__.py.in nativebt.i common.py reader.py writer.py
9nodist_btpackage_PYTHON = __init__.py nativebt.py common.py reader.py writer.py
6fd49698
PP
10nativebtlib_LTLIBRARIES = _nativebt.la
11
12btpackagedir = $(pythondir)/babeltrace
13nativebtlibdir = $(btpackagedir)
24a3136a 14
6fd49698 15MAINTAINERCLEANFILES = nativebt_wrap.c nativebt.py
24a3136a 16
6fd49698
PP
17nodist__nativebt_la_SOURCES = nativebt_wrap.c
18_nativebt_la_SOURCES = python-complements.h python-complements.c
19_nativebt_la_LDFLAGS = -module
24a3136a 20
6fd49698 21_nativebt_la_CFLAGS = $(GLIB_CFLAGS) $(AM_CFLAGS)
24a3136a 22
6fd49698 23_nativebt_la_LIBS = $(GLIB_LIBS)
24a3136a 24
6fd49698 25_nativebt_la_LIBADD = $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
24a3136a
DS
26
27# SWIG 'warning md variable unused' fixed after SWIG build:
6fd49698
PP
28nativebt_wrap.c: nativebt.i
29 $(SWIG) -python -Wall -I. -I$(top_srcdir)/include $<
a6b5ad60 30
6fd49698 31CLEANFILES = nativebt.py nativebt_wrap.c __init__.py
This page took 0.025543 seconds and 4 git commands to generate.