Port: Add OSX endian.h compat
[babeltrace.git] / bindings / python / Makefile.am
... / ...
CommitLineData
1babeltrace.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
6AM_CFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ \
7 -I$(top_srcdir)/bindings/python
8
9EXTRA_DIST = babeltrace.i.in
10nodist_python_PYTHON = babeltrace.py
11pyexec_LTLIBRARIES = _babeltrace.la
12
13MAINTAINERCLEANFILES = babeltrace_wrap.c babeltrace.py
14
15nodist__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:
27babeltrace_wrap.c: babeltrace.i
28 $(SWIG) -python -Wall -I. -I$(top_srcdir)/include \
29 $(top_builddir)/bindings/python/babeltrace.i
30
31CLEANFILES = babeltrace.i babeltrace.py babeltrace_wrap.c
This page took 0.023963 seconds and 4 git commands to generate.