| 1 | babeltrace.i: babeltrace.i.in |
| 2 | sed "s/BABELTRACE_VERSION_STR/Babeltrace $(PACKAGE_VERSION)/g" < \ |
| 3 | $(top_srcdir)/bindings/python/babeltrace.i.in > \ |
| 4 | $(top_builddir)/bindings/python/babeltrace.i |
| 5 | |
| 6 | AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ \ |
| 7 | -I$(top_srcdir)/bindings/python |
| 8 | |
| 9 | EXTRA_DIST = babeltrace.i.in |
| 10 | nodist_python_PYTHON = babeltrace.py |
| 11 | pyexec_LTLIBRARIES = _babeltrace.la |
| 12 | |
| 13 | MAINTAINERCLEANFILES = babeltrace_wrap.c babeltrace.py |
| 14 | |
| 15 | nodist__babeltrace_la_SOURCES = babeltrace_wrap.c |
| 16 | _babeltrace_la_SOURCES = python-complements.h python-complements.c |
| 17 | _babeltrace_la_LDFLAGS = -module |
| 18 | |
| 19 | _babeltrace_la_CFLAGS = $(GLIB_CFLAGS) $(AM_CFLAGS) |
| 20 | |
| 21 | _babeltrace_la_LIBS = $(GLIB_LIBS) |
| 22 | |
| 23 | _babeltrace_la_LIBADD = $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \ |
| 24 | $(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la |
| 25 | |
| 26 | # SWIG 'warning md variable unused' fixed after SWIG build: |
| 27 | babeltrace_wrap.c: babeltrace.i |
| 28 | $(SWIG) -python -Wall -I. -I$(top_srcdir)/include \ |
| 29 | $(top_builddir)/bindings/python/babeltrace.i |
| 30 | |
| 31 | CLEANFILES = babeltrace.i babeltrace.py babeltrace_wrap.c |