1 # SPDX-FileCopyrightText: 2019-2023 EfficiOS, Inc.
2 # SPDX-License-Identifier: MIT
4 # Build the current dir containing the library and plugins before the cli and
10 if ENABLE_PYTHON_BINDINGS
11 SUBDIRS += bindings/python/bt2
15 cpp-common/bt2/borrowed-object-iterator.hpp \
16 cpp-common/bt2/borrowed-object-proxy.hpp \
17 cpp-common/bt2/borrowed-object.hpp \
18 cpp-common/bt2/clock-class.hpp \
19 cpp-common/bt2/clock-snapshot.hpp \
20 cpp-common/bt2/component-port.hpp \
21 cpp-common/bt2/exc.hpp \
22 cpp-common/bt2/field-class.hpp \
23 cpp-common/bt2/field.hpp \
24 cpp-common/bt2/field-path.hpp \
25 cpp-common/bt2/integer-range.hpp \
26 cpp-common/bt2/integer-range-set.hpp \
27 cpp-common/bt2/internal/utils.hpp \
28 cpp-common/bt2/logging.hpp \
29 cpp-common/bt2/message-array.hpp \
30 cpp-common/bt2/message-iterator.hpp \
31 cpp-common/bt2/message.hpp \
32 cpp-common/bt2/shared-object.hpp \
33 cpp-common/bt2/raw-value-proxy.hpp \
34 cpp-common/bt2/private-query-executor.hpp \
35 cpp-common/bt2/self-component-class.hpp \
36 cpp-common/bt2/self-component-port.hpp \
37 cpp-common/bt2/self-message-iterator-configuration.hpp \
38 cpp-common/bt2/self-message-iterator.hpp \
39 cpp-common/bt2/trace-ir.hpp \
40 cpp-common/bt2/type-traits.hpp \
41 cpp-common/bt2/value.hpp \
42 cpp-common/align.hpp \
43 cpp-common/cfg-error-reporting.hpp \
44 cpp-common/cfg-error-reporting-throw.hpp \
45 cpp-common/cfg-logging-error-reporting.hpp \
46 cpp-common/cfg-logging-error-reporting-throw.hpp \
47 cpp-common/cfg-logging.hpp \
48 cpp-common/endian.hpp \
50 cpp-common/glib-up.hpp \
51 cpp-common/libc-up.hpp \
52 cpp-common/lib-str.hpp \
53 cpp-common/log-cfg.hpp \
54 cpp-common/make-unique.hpp \
55 cpp-common/nlohmann/json.hpp \
56 cpp-common/optional.hpp \
57 cpp-common/read-fixed-len-int.hpp \
58 cpp-common/safe-ops.hpp \
59 cpp-common/std-int.hpp \
60 cpp-common/string_view.hpp \
62 cpp-common/uuid-view.hpp \
65 ## This target generates an include file that contains the git version
66 ## string of the current branch, it must be continuously updated when
67 ## we build in the git repo and shipped in dist tarballs to reflect the
68 ## status of the tree when it was generated. If the tree is clean and
69 ## the current commit is a tag starting with "v", consider this a
70 ## release version and set an empty git version.
72 version_verbose = $(version_verbose_@AM_V@)
73 version_verbose_ = $(version_verbose_@AM_DEFAULT_V@)
74 version_verbose_0 = @echo " GEN " $@;
77 $(version_verbose)GREP=$(GREP) SED=$(SED) TOP_SRCDIR="$(top_srcdir)" $(SHELL) $(srcdir)/gen-version-i.sh
79 dist_noinst_SCRIPTS = gen-version-i.sh
81 # Ensure version.i is generated before any code is built.
82 BUILT_SOURCES = common/version.i
85 ## version.i is defined as a .PHONY target even if it's a real file,
86 ## we want the target to be re-run on every make.
88 .PHONY: common/version.i
90 CLEANFILES = common/version.i.tmp
93 ## Only clean "version.i" on dist-clean, we need to keep it on regular
94 ## clean when it's part of a dist tarball.
96 DISTCLEANFILES = common/version.i
99 # Convenience libraries
102 noinst_LTLIBRARIES = \
103 argpar/libargpar.la \
104 autodisc/libautodisc.la \
105 common/libcommon.la \
106 compat/libcompat.la \
107 ctfser/libctfser.la \
108 fd-cache/libfd-cache.la \
109 logging/liblogging.la \
110 param-parse/libparam-parse.la \
111 plugins/common/muxing/libmuxing.la \
112 plugins/common/param-validation/libparam-validation.la \
113 plugins/ctf/common/metadata/libctf-ast.la \
114 plugins/ctf/common/metadata/libctf-parser.la \
115 string-format/libstring-format.la
118 argpar_libargpar_la_SOURCES = \
122 autodisc_libautodisc_la_SOURCES = \
123 autodisc/autodisc.c \
126 common_libcommon_la_SOURCES = \
134 common/mmap-align.h \
141 common_libcommon_la_CPPFLAGS = \
143 -DBABELTRACE_PLUGINS_DIR=\"$(BABELTRACE_PLUGINS_DIR)\"
145 compat_libcompat_la_SOURCES = \
163 ctfser_libctfser_la_SOURCES = \
167 fd_cache_libfd_cache_la_SOURCES = \
168 fd-cache/fd-cache.c \
171 logging_liblogging_la_SOURCES = \
172 logging/comp-logging.h \
176 param_parse_libparam_parse_la_SOURCES = \
177 param-parse/param-parse.c \
178 param-parse/param-parse.h
180 string_format_libstring_format_la_SOURCES = \
181 string-format/format-plugin-comp-cls-name.c \
182 string-format/format-plugin-comp-cls-name.h \
183 string-format/format-error.c \
184 string-format/format-error.h
186 plugins_common_muxing_libmuxing_la_SOURCES = \
187 plugins/common/muxing/muxing.c \
188 plugins/common/muxing/muxing.h
190 plugins_common_param_validation_libparam_validation_la_SOURCES = \
191 plugins/common/param-validation/param-validation.c \
192 plugins/common/param-validation/param-validation.h
194 # Set flags for the Bison based metadata parser
195 # -t : instrument the parser
196 # -d : produce a header
198 # -Wno-yacc : disable POSIX Yacc incompatibilities warnings
202 plugins_ctf_common_metadata_libctf_parser_la_SOURCES = \
203 plugins/ctf/common/metadata/lexer.lpp \
204 plugins/ctf/common/metadata/parser.ypp \
205 plugins/ctf/common/metadata/objstack.cpp
207 # scanner-symbols.h is included to prefix generated yy_* symbols with bt_.
208 plugins_ctf_common_metadata_libctf_parser_la_CPPFLAGS = \
210 -include $(srcdir)/plugins/ctf/common/metadata/scanner-symbols.hpp
212 # This library contains (mostly) generated code, silence some warnings that it
214 plugins_ctf_common_metadata_libctf_parser_la_CXXFLAGS = \
216 -Wno-unused-function \
217 -Wno-null-dereference \
218 -Wno-missing-field-initializers \
219 -Wno-unused-parameter
221 plugins_ctf_common_metadata_libctf_ast_la_SOURCES = \
222 plugins/ctf/common/metadata/visitor-generate-ir.cpp \
223 plugins/ctf/common/metadata/visitor-semantic-validator.cpp \
224 plugins/ctf/common/metadata/visitor-parent-links.cpp \
225 plugins/ctf/common/metadata/ast.hpp \
226 plugins/ctf/common/metadata/objstack.hpp \
227 plugins/ctf/common/metadata/parser.hpp \
228 plugins/ctf/common/metadata/parser-wrap.hpp \
229 plugins/ctf/common/metadata/scanner.hpp \
230 plugins/ctf/common/metadata/scanner-symbols.hpp \
231 plugins/ctf/common/metadata/decoder.cpp \
232 plugins/ctf/common/metadata/decoder.hpp \
233 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.cpp \
234 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.hpp \
235 plugins/ctf/common/metadata/logging.cpp \
236 plugins/ctf/common/metadata/logging.hpp \
237 plugins/ctf/common/metadata/ctf-meta.hpp \
238 plugins/ctf/common/metadata/ctf-meta-visitors.hpp \
239 plugins/ctf/common/metadata/ctf-meta-validate.cpp \
240 plugins/ctf/common/metadata/ctf-meta-update-meanings.cpp \
241 plugins/ctf/common/metadata/ctf-meta-update-in-ir.cpp \
242 plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.cpp \
243 plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.cpp \
244 plugins/ctf/common/metadata/ctf-meta-update-alignments.cpp \
245 plugins/ctf/common/metadata/ctf-meta-update-value-storing-indexes.cpp \
246 plugins/ctf/common/metadata/ctf-meta-update-stream-class-config.cpp \
247 plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp \
248 plugins/ctf/common/metadata/ctf-meta-translate.cpp \
249 plugins/ctf/common/metadata/ctf-meta-resolve.cpp \
250 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.cpp \
251 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.hpp
253 if BABELTRACE_BUILD_WITH_MINGW
254 plugins_ctf_common_metadata_libctf_ast_la_LIBADD = -lintl -liconv -lole32
258 plugins/ctf/common/metadata/parser.hpp
263 # We have bison: we can clean the generated parser files
265 plugins/ctf/common/metadata/parser.cpp \
266 plugins/ctf/common/metadata/parser.hpp \
267 plugins/ctf/common/metadata/parser.output
269 # Create target used to stop the build if we want to build the parser,
270 # but we don't have the necessary tool to do so
271 plugins/ctf/common/metadata/parser.cpp plugins/ctf/common/metadata/parser.hpp: plugins/ctf/common/metadata/parser.ypp
272 @echo "Error: Cannot build target because bison is missing."
273 @echo "Make sure bison is installed and run the configure script again."
277 plugins/ctf/common/metadata/parser.cpp \
278 plugins/ctf/common/metadata/parser.hpp
282 # We have flex: we can clean the generated lexer files
283 CLEANFILES += plugins/ctf/common/metadata/lexer.cpp
285 # Create target used to stop the build if we want to build the lexer,
286 # but we don't have the necessary tool to do so
287 plugins/ctf/common/metadata/lexer.cpp: plugins/ctf/common/metadata/lexer.lpp
288 @echo "Error: Cannot build target because flex is missing."
289 @echo "Make sure flex is installed and run the configure script again."
292 ALL_LOCAL += plugins/ctf/common/metadata/lexer.cpp
295 all-local: $(ALL_LOCAL)
297 if ENABLE_PYTHON_COMMON_DEPS
298 noinst_LTLIBRARIES += py-common/libpy-common.la
300 py_common_libpy_common_la_SOURCES = \
301 py-common/py-common.c \
302 py-common/py-common.h
304 py_common_libpy_common_la_CPPFLAGS = \
308 endif # ENABLE_PYTHON_COMMON_DEPS
311 noinst_LTLIBRARIES += plugins/lttng-utils/debug-info/libdebug-info.la
313 plugins_lttng_utils_debug_info_libdebug_info_la_SOURCES = \
314 plugins/lttng-utils/debug-info/bin-info.c \
315 plugins/lttng-utils/debug-info/bin-info.h \
316 plugins/lttng-utils/debug-info/crc32.c \
317 plugins/lttng-utils/debug-info/crc32.h \
318 plugins/lttng-utils/debug-info/debug-info.c \
319 plugins/lttng-utils/debug-info/debug-info.h \
320 plugins/lttng-utils/debug-info/dwarf.c \
321 plugins/lttng-utils/debug-info/dwarf.h \
322 plugins/lttng-utils/debug-info/trace-ir-data-copy.c \
323 plugins/lttng-utils/debug-info/trace-ir-data-copy.h \
324 plugins/lttng-utils/debug-info/trace-ir-mapping.c \
325 plugins/lttng-utils/debug-info/trace-ir-mapping.h \
326 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c \
327 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.h \
328 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c \
329 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.h \
330 plugins/lttng-utils/debug-info/utils.c \
331 plugins/lttng-utils/debug-info/utils.h
333 plugins_lttng_utils_debug_info_libdebug_info_la_LIBADD = \
334 fd-cache/libfd-cache.la
336 endif # ENABLE_DEBUG_INFO
344 ctf-writer/libbabeltrace2-ctf-writer.la \
345 lib/libbabeltrace2.la
347 lib_libbabeltrace2_la_SOURCES = \
348 lib/graph/message/discarded-items.c \
349 lib/graph/message/discarded-items.h \
350 lib/graph/message/event.c \
351 lib/graph/message/event.h \
352 lib/graph/message-iterator-class.c \
353 lib/graph/message-iterator-class.h \
354 lib/graph/message/iterator.h \
355 lib/graph/message/message.c \
356 lib/graph/message/message.h \
357 lib/graph/message/message-iterator-inactivity.c \
358 lib/graph/message/message-iterator-inactivity.h \
359 lib/graph/message/packet.c \
360 lib/graph/message/packet.h \
361 lib/graph/message/stream.c \
362 lib/graph/message/stream.h \
363 lib/graph/component.c \
364 lib/graph/component-class.c \
365 lib/graph/component-class.h \
366 lib/graph/component-class-sink-simple.c \
367 lib/graph/component-class-sink-simple.h \
368 lib/graph/component-descriptor-set.c \
369 lib/graph/component-descriptor-set.h \
370 lib/graph/component-filter.c \
371 lib/graph/component-filter.h \
372 lib/graph/component.h \
373 lib/graph/component-sink.c \
374 lib/graph/component-sink.h \
375 lib/graph/component-source.c \
376 lib/graph/component-source.h \
377 lib/graph/connection.c \
378 lib/graph/connection.h \
381 lib/graph/interrupter.c \
382 lib/graph/interrupter.h \
383 lib/graph/iterator.c \
387 lib/graph/query-executor.c \
388 lib/graph/query-executor.h \
389 lib/plugin/plugin.c \
390 lib/plugin/plugin.h \
391 lib/plugin/plugin-so.c \
392 lib/plugin/plugin-so.h \
393 lib/prio-heap/prio-heap.c \
394 lib/prio-heap/prio-heap.h \
395 lib/trace-ir/attributes.c \
396 lib/trace-ir/attributes.h \
397 lib/trace-ir/clock-class.c \
398 lib/trace-ir/clock-class.h \
399 lib/trace-ir/clock-snapshot.c \
400 lib/trace-ir/clock-snapshot.h \
401 lib/trace-ir/event.c \
402 lib/trace-ir/event-class.c \
403 lib/trace-ir/event-class.h \
404 lib/trace-ir/event.h \
405 lib/trace-ir/field.c \
406 lib/trace-ir/field-class.c \
407 lib/trace-ir/field-class.h \
408 lib/trace-ir/field.h \
409 lib/trace-ir/field-path.c \
410 lib/trace-ir/field-path.h \
411 lib/trace-ir/field-wrapper.c \
412 lib/trace-ir/field-wrapper.h \
413 lib/trace-ir/packet.c \
414 lib/trace-ir/packet.h \
415 lib/trace-ir/resolve-field-path.c \
416 lib/trace-ir/resolve-field-path.h \
417 lib/trace-ir/stream.c \
418 lib/trace-ir/stream-class.c \
419 lib/trace-ir/stream-class.h \
420 lib/trace-ir/stream.h \
421 lib/trace-ir/trace.c \
422 lib/trace-ir/trace-class.c \
423 lib/trace-ir/trace-class.h \
424 lib/trace-ir/trace.h \
425 lib/trace-ir/utils.c \
426 lib/trace-ir/utils.h \
427 lib/assert-cond-base.h \
431 lib/current-thread.c \
435 lib/integer-range-set.c \
436 lib/integer-range-set.h \
448 lib_libbabeltrace2_la_LDFLAGS = \
451 -version-info $(BABELTRACE_LIBRARY_VERSION)
453 lib_libbabeltrace2_la_CPPFLAGS = \
455 '-DBABELTRACE_PLUGIN_PROVIDERS_DIR="$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"'
457 lib_libbabeltrace2_la_LIBADD = \
458 logging/liblogging.la \
459 common/libcommon.la \
462 ctf_writer_libbabeltrace2_ctf_writer_la_SOURCES = \
463 ctf-writer/assert-pre.h \
464 ctf-writer/attributes.c \
465 ctf-writer/attributes.h \
467 ctf-writer/clock-class.c \
468 ctf-writer/clock-class.h \
471 ctf-writer/event-class.c \
472 ctf-writer/event-class.h \
474 ctf-writer/field-path.c \
475 ctf-writer/field-path.h \
476 ctf-writer/fields.c \
477 ctf-writer/fields.h \
478 ctf-writer/field-types.c \
479 ctf-writer/field-types.h \
480 ctf-writer/field-wrapper.c \
481 ctf-writer/field-wrapper.h \
482 ctf-writer/functor.c \
483 ctf-writer/functor.h \
484 ctf-writer/logging.c \
485 ctf-writer/logging.h \
486 ctf-writer/object.c \
487 ctf-writer/object.h \
488 ctf-writer/object-pool.c \
489 ctf-writer/object-pool.h \
490 ctf-writer/resolve.c \
491 ctf-writer/resolve.h \
492 ctf-writer/stream.c \
493 ctf-writer/stream-class.c \
494 ctf-writer/stream-class.h \
495 ctf-writer/stream.h \
500 ctf-writer/validation.c \
501 ctf-writer/validation.h \
502 ctf-writer/values.c \
503 ctf-writer/values.h \
504 ctf-writer/visitor.c \
505 ctf-writer/visitor.h \
506 ctf-writer/writer.c \
509 ctf_writer_libbabeltrace2_ctf_writer_la_LDFLAGS = \
512 -version-info $(BABELTRACE_LIBRARY_VERSION)
514 ctf_writer_libbabeltrace2_ctf_writer_la_LIBADD = \
515 logging/liblogging.la \
516 common/libcommon.la \
517 ctfser/libctfser.la \
520 pkgconfigdir = $(libdir)/pkgconfig
522 babeltrace2-ctf-writer.pc \
526 # Python plugin provider
529 if ENABLE_PYTHON_PLUGINS
530 pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"
531 pluginprovider_LTLIBRARIES = python-plugin-provider/babeltrace2-python-plugin-provider.la
533 python_plugin_provider_babeltrace2_python_plugin_provider_la_SOURCES = \
534 python-plugin-provider/python-plugin-provider.c \
535 python-plugin-provider/python-plugin-provider.h
537 python_plugin_provider_babeltrace2_python_plugin_provider_la_LDFLAGS = \
540 -avoid-version -module \
543 python_plugin_provider_babeltrace2_python_plugin_provider_la_CPPFLAGS = \
547 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD =
549 # Link the Python plugin provider library with libbabeltrace2
550 # when it's not built-in the babeltrace2 executable.
551 if !ENABLE_BUILT_IN_PLUGINS
552 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD += \
553 logging/liblogging.la \
554 common/libcommon.la \
555 py-common/libpy-common.la \
556 lib/libbabeltrace2.la
558 endif # ENABLE_PYTHON_PLUGINS
564 plugindir = "$(BABELTRACE_PLUGINS_DIR)"
565 plugin_LTLIBRARIES = \
566 plugins/ctf/babeltrace-plugin-ctf.la \
567 plugins/text/babeltrace-plugin-text.la \
568 plugins/utils/babeltrace-plugin-utils.la
572 plugins_utils_babeltrace_plugin_utils_la_SOURCES = \
573 plugins/utils/counter/counter.c \
574 plugins/utils/counter/counter.h \
575 plugins/utils/dummy/dummy.c \
576 plugins/utils/dummy/dummy.h \
577 plugins/utils/muxer/muxer.c \
578 plugins/utils/muxer/muxer.h \
579 plugins/utils/trimmer/trimmer.c \
580 plugins/utils/trimmer/trimmer.h \
581 plugins/utils/plugin.c
583 plugins_utils_babeltrace_plugin_utils_la_LDFLAGS = \
586 -avoid-version -module $(LD_NOTEXT)
588 plugins_utils_babeltrace_plugin_utils_la_LIBADD = \
589 plugins/common/muxing/libmuxing.la
591 if !ENABLE_BUILT_IN_PLUGINS
592 plugins_utils_babeltrace_plugin_utils_la_LIBADD += \
593 lib/libbabeltrace2.la \
594 common/libcommon.la \
595 logging/liblogging.la \
596 plugins/common/param-validation/libparam-validation.la
600 plugins_ctf_babeltrace_plugin_ctf_la_SOURCES = \
601 plugins/ctf/common/bfcr/bfcr.cpp \
602 plugins/ctf/common/bfcr/bfcr.hpp \
603 plugins/ctf/common/msg-iter/msg-iter.cpp \
604 plugins/ctf/common/msg-iter/msg-iter.hpp \
605 plugins/ctf/common/print.hpp \
606 plugins/ctf/fs-sink/fs-sink.cpp \
607 plugins/ctf/fs-sink/fs-sink-ctf-meta.hpp \
608 plugins/ctf/fs-sink/fs-sink.hpp \
609 plugins/ctf/fs-sink/fs-sink-stream.cpp \
610 plugins/ctf/fs-sink/fs-sink-stream.hpp \
611 plugins/ctf/fs-sink/fs-sink-trace.cpp \
612 plugins/ctf/fs-sink/fs-sink-trace.hpp \
613 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp \
614 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.hpp \
615 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.cpp \
616 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.hpp \
617 plugins/ctf/fs-src/data-stream-file.cpp \
618 plugins/ctf/fs-src/data-stream-file.hpp \
619 plugins/ctf/fs-src/file.cpp \
620 plugins/ctf/fs-src/file.hpp \
621 plugins/ctf/fs-src/fs.cpp \
622 plugins/ctf/fs-src/fs.hpp \
623 plugins/ctf/fs-src/lttng-index.hpp \
624 plugins/ctf/fs-src/metadata.cpp \
625 plugins/ctf/fs-src/metadata.hpp \
626 plugins/ctf/fs-src/query.cpp \
627 plugins/ctf/fs-src/query.hpp \
628 plugins/ctf/lttng-live/data-stream.cpp \
629 plugins/ctf/lttng-live/data-stream.hpp \
630 plugins/ctf/lttng-live/lttng-live.cpp \
631 plugins/ctf/lttng-live/lttng-live.hpp \
632 plugins/ctf/lttng-live/lttng-viewer-abi.hpp \
633 plugins/ctf/lttng-live/metadata.cpp \
634 plugins/ctf/lttng-live/metadata.hpp \
635 plugins/ctf/lttng-live/viewer-connection.cpp \
636 plugins/ctf/lttng-live/viewer-connection.hpp \
637 plugins/ctf/plugin.cpp
639 plugins_ctf_babeltrace_plugin_ctf_la_LDFLAGS = \
642 -avoid-version -module $(LD_NOTEXT)
644 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD = \
645 plugins/ctf/common/metadata/libctf-parser.la \
646 plugins/ctf/common/metadata/libctf-ast.la \
647 plugins/common/param-validation/libparam-validation.la
649 if BABELTRACE_BUILD_WITH_MINGW
650 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += -lws2_32
653 if !ENABLE_BUILT_IN_PLUGINS
654 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += \
655 lib/libbabeltrace2.la \
656 logging/liblogging.la \
657 plugins/common/muxing/libmuxing.la \
658 common/libcommon.la \
663 plugins_text_babeltrace_plugin_text_la_SOURCES = \
664 plugins/text/details/colors.h \
665 plugins/text/details/details.c \
666 plugins/text/details/details.h \
667 plugins/text/details/obj-lifetime-mgmt.c \
668 plugins/text/details/obj-lifetime-mgmt.h \
669 plugins/text/details/write.c \
670 plugins/text/details/write.h \
671 plugins/text/dmesg/dmesg.c \
672 plugins/text/dmesg/dmesg.h \
673 plugins/text/pretty/pretty.c \
674 plugins/text/pretty/pretty.h \
675 plugins/text/pretty/print.c \
676 plugins/text/plugin.c
678 plugins_text_babeltrace_plugin_text_la_LDFLAGS = \
681 -avoid-version -module $(LD_NOTEXT)
683 plugins_text_babeltrace_plugin_text_la_LIBADD =
685 if !ENABLE_BUILT_IN_PLUGINS
686 plugins_text_babeltrace_plugin_text_la_LIBADD += \
687 lib/libbabeltrace2.la \
688 common/libcommon.la \
689 logging/liblogging.la \
690 compat/libcompat.la \
691 plugins/common/param-validation/libparam-validation.la
696 plugin_LTLIBRARIES += \
697 plugins/lttng-utils/babeltrace-plugin-lttng-utils.la
699 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_SOURCES = \
700 plugins/lttng-utils/plugin.c
702 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LDFLAGS = \
705 -avoid-version -module $(LD_NOTEXT) \
708 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD = \
709 plugins/lttng-utils/debug-info/libdebug-info.la
711 if !ENABLE_BUILT_IN_PLUGINS
712 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD += \
713 lib/libbabeltrace2.la \
714 common/libcommon.la \
715 logging/liblogging.la \
716 plugins/common/param-validation/libparam-validation.la
717 endif # !ENABLE_BUILT_IN_PLUGINS
718 endif # ENABLE_DEBUG_INFO
720 EXTRA_DIST = cpp-common/optional.hpp.license