Commit | Line | Data |
---|---|---|
6fd49698 PP |
1 | all-local: __init__.py |
2 | ||
3 | __init__.py: __init__.py.in | |
4 | sed "s/BABELTRACE_VERSION_STR/$(PACKAGE_VERSION)/g" < $< > $@ | |
24a3136a | 5 | |
dab8128f | 6 | AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ |
24a3136a | 7 | |
be5a4e67 PP |
8 | EXTRA_DIST = __init__.py.in nativebt.i common.py reader.py writer.py |
9 | nodist_btpackage_PYTHON = __init__.py nativebt.py common.py reader.py writer.py | |
6fd49698 PP |
10 | nativebtlib_LTLIBRARIES = _nativebt.la |
11 | ||
12 | btpackagedir = $(pythondir)/babeltrace | |
13 | nativebtlibdir = $(btpackagedir) | |
24a3136a | 14 | |
6fd49698 | 15 | MAINTAINERCLEANFILES = nativebt_wrap.c nativebt.py |
24a3136a | 16 | |
6fd49698 PP |
17 | nodist__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 |
28 | nativebt_wrap.c: nativebt.i |
29 | $(SWIG) -python -Wall -I. -I$(top_srcdir)/include $< | |
a6b5ad60 | 30 | |
6fd49698 | 31 | CLEANFILES = nativebt.py nativebt_wrap.c __init__.py |