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