fe6b88b0b993546cb4f50b60a35d047e297da98a
[babeltrace.git] / lib / Makefile.am
1 SUBDIRS = trace-ir ctf-writer prio_heap plugin graph .
2
3 lib_LTLIBRARIES = libbabeltrace2.la libbabeltrace2-ctf.la
4
5 libbabeltrace2_la_SOURCES = \
6 babeltrace2.c \
7 value.c \
8 util.c \
9 lib-logging.c \
10 logging.c \
11 object-pool.c
12 libbabeltrace2_la_LDFLAGS = $(LT_NO_UNDEFINED) \
13 -version-info $(BABELTRACE_LIBRARY_VERSION)
14
15 libbabeltrace2_la_LIBADD = \
16 prio_heap/libprio_heap.la \
17 graph/libgraph.la \
18 plugin/libplugin.la \
19 trace-ir/libtrace-ir.la \
20 ctf-writer/libctf-writer.la \
21 $(top_builddir)/logging/libbabeltrace2-logging.la \
22 $(top_builddir)/common/libbabeltrace2-common.la \
23 $(top_builddir)/ctfser/libbabeltrace2-ctfser.la \
24 $(top_builddir)/compat/libcompat.la
25
26 if ENABLE_BUILT_IN_PYTHON_PLUGIN_SUPPORT
27 libbabeltrace2_la_LIBADD += $(top_builddir)/python-plugin-provider/libbabeltrace2-python-plugin-provider.la
28 endif
29
30 # FIXME: Should we drop this? We changed the basename of the library,
31 # libbabeltrace2 is not a drop-in replacement for libbabeltrace anymore.
32 #
33 # Build a libbabeltrace2-ctf library for backwards compatibility.
34 # CTF writer used to be in libbabeltrace2-ctf in Babeltrace 1, so this
35 # file must still exist. As of Babeltrace 2, CTF writer is implemented
36 # in libbabeltrace2.
37 libbabeltrace2_ctf_la_SOURCES = $(libbabeltrace2_la_SOURCES)
38 libbabeltrace2_ctf_la_LDFLAGS = $(LT_NO_UNDEFINED) \
39 -version-info $(BABELTRACE_LIBRARY_VERSION)
40
41 libbabeltrace2_ctf_la_LIBADD = \
42 graph/libgraph.la \
43 trace-ir/libtrace-ir.la \
44 ctf-writer/libctf-writer.la \
45 $(top_builddir)/logging/libbabeltrace2-logging.la \
46 $(top_builddir)/common/libbabeltrace2-common.la \
47 $(top_builddir)/ctfser/libbabeltrace2-ctfser.la \
48 $(top_builddir)/compat/libcompat.la
This page took 0.033004 seconds and 3 git commands to generate.