Commit | Line | Data |
---|---|---|
c5504f73 | 1 | SUBDIRS = ctf-ir ctf-writer prio_heap plugin graph . |
1eb0c69c | 2 | |
74f21e2d | 3 | AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include |
1eb0c69c | 4 | |
91dadb0f | 5 | lib_LTLIBRARIES = libbabeltrace.la libbabeltrace-ctf.la |
6f3077a2 | 6 | |
beb0fb75 | 7 | libbabeltrace_la_SOURCES = babeltrace.c values.c ref.c logging.c |
c5410abe MJ |
8 | libbabeltrace_la_LDFLAGS = $(LT_NO_UNDEFINED) \ |
9 | -version-info $(BABELTRACE_LIBRARY_VERSION) | |
3fbccce7 | 10 | |
b1bbab84 | 11 | libbabeltrace_la_LIBADD = \ |
018f3175 | 12 | prio_heap/libprio_heap.la \ |
c5504f73 | 13 | graph/libgraph.la \ |
1670bffd | 14 | plugin/libplugin.la \ |
dc3fffef | 15 | ctf-ir/libctf-ir.la \ |
1b83271b PP |
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 | |
6fbd4105 PP |
20 | |
21 | if BUILT_IN_PYTHON_PLUGIN_SUPPORT | |
22 | libbabeltrace_la_LIBADD += $(top_builddir)/python-plugin-provider/libbabeltrace-python-plugin-provider.la | |
23 | endif | |
c3ddb532 | 24 | |
91dadb0f MJ |
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 | |
28 | # in libbabeltrace. | |
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) | |
32 | ||
33 | libbabeltrace_ctf_la_LIBADD = \ | |
34 | graph/libgraph.la \ | |
35 | ctf-ir/libctf-ir.la \ | |
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 |