1 SUBDIRS = ctf-ir ctf-writer prio_heap plugin graph .
3 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
5 lib_LTLIBRARIES = libbabeltrace.la libbabeltrace-ctf.la
7 libbabeltrace_la_SOURCES = babeltrace.c values.c ref.c logging.c
8 libbabeltrace_la_LDFLAGS = $(LT_NO_UNDEFINED) \
9 -version-info $(BABELTRACE_LIBRARY_VERSION)
11 libbabeltrace_la_LIBADD = \
12 prio_heap/libprio_heap.la \
16 ctf-writer/libctf-writer.la \
17 $(top_builddir)/logging/libbabeltrace-logging.la \
18 $(top_builddir)/common/libbabeltrace-common.la \
19 $(top_builddir)/compat/libcompat.la
21 if BUILT_IN_PYTHON_PLUGIN_SUPPORT
22 libbabeltrace_la_LIBADD += $(top_builddir)/python-plugin-provider/libbabeltrace-python-plugin-provider.la
25 # Build a libbabeltrace-ctf library for backwards compatibility.
26 # CTF writer used to be in libbabeltrace-ctf in Babeltrace 1, so this
27 # file must still exist. As of Babeltrace 2, CTF writer is implemented
29 libbabeltrace_ctf_la_SOURCES = babeltrace.c values.c ref.c logging.c
30 libbabeltrace_ctf_la_LDFLAGS = $(LT_NO_UNDEFINED) \
31 -version-info $(BABELTRACE_LIBRARY_VERSION)
33 libbabeltrace_ctf_la_LIBADD = \
36 ctf-writer/libctf-writer.la \
37 $(top_builddir)/logging/libbabeltrace-logging.la \
38 $(top_builddir)/common/libbabeltrace-common.la \
39 $(top_builddir)/compat/libcompat.la