Completely rework configure.ac
[babeltrace.git] / lib / Makefile.am
1 SUBDIRS = ctf-ir ctf-writer prio_heap plugin graph .
2
3 lib_LTLIBRARIES = libbabeltrace.la libbabeltrace-ctf.la
4
5 libbabeltrace_la_SOURCES = babeltrace.c values.c ref.c logging.c
6 libbabeltrace_la_LDFLAGS = $(LT_NO_UNDEFINED) \
7 -version-info $(BABELTRACE_LIBRARY_VERSION)
8
9 libbabeltrace_la_LIBADD = \
10 prio_heap/libprio_heap.la \
11 graph/libgraph.la \
12 plugin/libplugin.la \
13 ctf-ir/libctf-ir.la \
14 ctf-writer/libctf-writer.la \
15 $(top_builddir)/logging/libbabeltrace-logging.la \
16 $(top_builddir)/common/libbabeltrace-common.la \
17 $(top_builddir)/compat/libcompat.la
18
19 if ENABLE_BUILT_IN_PYTHON_PLUGIN_SUPPORT
20 libbabeltrace_la_LIBADD += $(top_builddir)/python-plugin-provider/libbabeltrace-python-plugin-provider.la
21 endif
22
23 # Build a libbabeltrace-ctf library for backwards compatibility.
24 # CTF writer used to be in libbabeltrace-ctf in Babeltrace 1, so this
25 # file must still exist. As of Babeltrace 2, CTF writer is implemented
26 # in libbabeltrace.
27 libbabeltrace_ctf_la_SOURCES = babeltrace.c values.c ref.c logging.c
28 libbabeltrace_ctf_la_LDFLAGS = $(LT_NO_UNDEFINED) \
29 -version-info $(BABELTRACE_LIBRARY_VERSION)
30
31 libbabeltrace_ctf_la_LIBADD = \
32 graph/libgraph.la \
33 ctf-ir/libctf-ir.la \
34 ctf-writer/libctf-writer.la \
35 $(top_builddir)/logging/libbabeltrace-logging.la \
36 $(top_builddir)/common/libbabeltrace-common.la \
37 $(top_builddir)/compat/libcompat.la
This page took 0.030865 seconds and 4 git commands to generate.