Commit | Line | Data |
---|---|---|
0235b0db MJ |
1 | # SPDX-License-Identifier: MIT |
2 | ||
056632bf | 3 | plugindir = "$(BABELTRACE_PLUGINS_DIR)" |
22e7ae19 | 4 | plugin_LTLIBRARIES = babeltrace-plugin-lttng-utils.la |
4f45f9bb | 5 | |
22e7ae19 | 6 | babeltrace_plugin_lttng_utils_la_SOURCES = \ |
c283522b | 7 | plugin.c |
4f45f9bb | 8 | |
22e7ae19 | 9 | babeltrace_plugin_lttng_utils_la_LDFLAGS = \ |
0b0893d4 | 10 | $(AM_LDFLAGS) \ |
c5410abe | 11 | $(LT_NO_UNDEFINED) \ |
5e8a0751 | 12 | -avoid-version -module $(LD_NOTEXT) \ |
901e5c12 | 13 | $(ELFUTILS_LIBS) |
4f45f9bb | 14 | |
cf7ed924 MJ |
15 | babeltrace_plugin_lttng_utils_la_LIBADD = |
16 | ||
17 | if ENABLE_DEBUG_INFO | |
18 | noinst_LTLIBRARIES = debug-info/libdebug-info.la | |
19 | ||
20 | debug_info_libdebug_info_la_SOURCES = \ | |
21 | debug-info/bin-info.c \ | |
22 | debug-info/bin-info.h \ | |
23 | debug-info/crc32.c \ | |
24 | debug-info/crc32.h \ | |
25 | debug-info/debug-info.c \ | |
26 | debug-info/debug-info.h \ | |
27 | debug-info/dwarf.c \ | |
28 | debug-info/dwarf.h \ | |
29 | debug-info/trace-ir-data-copy.c \ | |
30 | debug-info/trace-ir-data-copy.h \ | |
31 | debug-info/trace-ir-mapping.c \ | |
32 | debug-info/trace-ir-mapping.h \ | |
33 | debug-info/trace-ir-metadata-copy.c \ | |
34 | debug-info/trace-ir-metadata-copy.h \ | |
35 | debug-info/trace-ir-metadata-field-class-copy.c \ | |
36 | debug-info/trace-ir-metadata-field-class-copy.h \ | |
37 | debug-info/utils.c \ | |
38 | debug-info/utils.h | |
39 | ||
40 | debug_info_libdebug_info_la_LIBADD = \ | |
86ef6105 | 41 | $(top_builddir)/src/fd-cache/libfd-cache.la |
cf7ed924 MJ |
42 | |
43 | babeltrace_plugin_lttng_utils_la_LIBADD += \ | |
44 | debug-info/libdebug-info.la | |
45 | endif | |
46 | ||
9ffc0257 | 47 | if !ENABLE_BUILT_IN_PLUGINS |
77ca3096 | 48 | babeltrace_plugin_lttng_utils_la_LIBADD += \ |
578e048b MJ |
49 | $(top_builddir)/src/lib/libbabeltrace2.la \ |
50 | $(top_builddir)/src/common/libbabeltrace2-common.la \ | |
86ef6105 | 51 | $(top_builddir)/src/logging/liblogging.la \ |
cf7b259e | 52 | $(top_builddir)/src/plugins/common/param-validation/libbabeltrace2-param-validation.la |
c3ddb532 | 53 | endif |