Reduce the number of Makefiles in 'src/'
[babeltrace.git] / src / plugins / lttng-utils / Makefile.am
CommitLineData
0235b0db
MJ
1# SPDX-License-Identifier: MIT
2
056632bf 3plugindir = "$(BABELTRACE_PLUGINS_DIR)"
22e7ae19 4plugin_LTLIBRARIES = babeltrace-plugin-lttng-utils.la
4f45f9bb 5
22e7ae19 6babeltrace_plugin_lttng_utils_la_SOURCES = \
c283522b 7 plugin.c
4f45f9bb 8
22e7ae19 9babeltrace_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
15babeltrace_plugin_lttng_utils_la_LIBADD =
16
17if ENABLE_DEBUG_INFO
18noinst_LTLIBRARIES = debug-info/libdebug-info.la
19
20debug_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
40debug_info_libdebug_info_la_LIBADD = \
86ef6105 41 $(top_builddir)/src/fd-cache/libfd-cache.la
cf7ed924
MJ
42
43babeltrace_plugin_lttng_utils_la_LIBADD += \
44 debug-info/libdebug-info.la
45endif
46
9ffc0257 47if !ENABLE_BUILT_IN_PLUGINS
77ca3096 48babeltrace_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 53endif
This page took 0.094999 seconds and 4 git commands to generate.