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-path.hpp \
24 cpp-common/bt2/field.hpp \
25 cpp-common/bt2/integer-range-set.hpp \
26 cpp-common/bt2/integer-range.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/shared-object.hpp \
40 cpp-common/bt2/trace-ir.hpp \
41 cpp-common/bt2/type-traits.hpp \
42 cpp-common/bt2/value.hpp \
43 cpp-common/bt2/wrap.hpp \
44 cpp-common/bt2c/align.hpp \
45 cpp-common/bt2c/endian.hpp \
46 cpp-common/bt2c/exc.hpp \
47 cpp-common/bt2c/glib-up.hpp \
48 cpp-common/bt2c/lib-str.hpp \
49 cpp-common/bt2c/libc-up.hpp \
50 cpp-common/bt2c/make-unique.hpp \
51 cpp-common/bt2c/read-fixed-len-int.hpp \
52 cpp-common/bt2c/safe-ops.hpp \
53 cpp-common/bt2c/std-int.hpp \
54 cpp-common/bt2c/uuid-view.hpp \
55 cpp-common/bt2c/uuid.hpp \
56 cpp-common/bt2c/vector.hpp \
57 cpp-common/nlohmann/json.hpp \
58 cpp-common/optional.hpp \
59 cpp-common/string_view.hpp
61 ## This target generates an include file that contains the git version
62 ## string of the current branch, it must be continuously updated when
63 ## we build in the git repo and shipped in dist tarballs to reflect the
64 ## status of the tree when it was generated. If the tree is clean and
65 ## the current commit is a tag starting with "v", consider this a
66 ## release version and set an empty git version.
68 version_verbose = $(version_verbose_@AM_V@)
69 version_verbose_ = $(version_verbose_@AM_DEFAULT_V@)
70 version_verbose_0 = @echo " GEN " $@;
73 $(version_verbose)GREP=$(GREP) SED=$(SED) TOP_SRCDIR="$(top_srcdir)" $(SHELL) $(srcdir)/gen-version-i.sh
75 dist_noinst_SCRIPTS = gen-version-i.sh
77 # Ensure version.i is generated before any code is built.
78 BUILT_SOURCES = common/version.i
81 ## version.i is defined as a .PHONY target even if it's a real file,
82 ## we want the target to be re-run on every make.
84 .PHONY: common/version.i
86 CLEANFILES = common/version.i.tmp
89 ## Only clean "version.i" on dist-clean, we need to keep it on regular
90 ## clean when it's part of a dist tarball.
92 DISTCLEANFILES = common/version.i
95 # Convenience libraries
98 noinst_LTLIBRARIES = \
100 autodisc/libautodisc.la \
101 common/libcommon.la \
102 compat/libcompat.la \
103 ctfser/libctfser.la \
104 fd-cache/libfd-cache.la \
105 logging/liblogging.la \
106 param-parse/libparam-parse.la \
107 plugins/common/muxing/libmuxing.la \
108 plugins/common/param-validation/libparam-validation.la \
109 plugins/ctf/common/metadata/libctf-ast.la \
110 plugins/ctf/common/metadata/libctf-parser.la \
111 string-format/libstring-format.la
114 argpar_libargpar_la_SOURCES = \
118 autodisc_libautodisc_la_SOURCES = \
119 autodisc/autodisc.c \
122 common_libcommon_la_SOURCES = \
130 common/mmap-align.h \
137 common_libcommon_la_CPPFLAGS = \
139 -DBABELTRACE_PLUGINS_DIR=\"$(BABELTRACE_PLUGINS_DIR)\"
141 compat_libcompat_la_SOURCES = \
159 ctfser_libctfser_la_SOURCES = \
163 fd_cache_libfd_cache_la_SOURCES = \
164 fd-cache/fd-cache.c \
167 logging_liblogging_la_SOURCES = \
168 logging/comp-logging.h \
172 param_parse_libparam_parse_la_SOURCES = \
173 param-parse/param-parse.c \
174 param-parse/param-parse.h
176 string_format_libstring_format_la_SOURCES = \
177 string-format/format-plugin-comp-cls-name.c \
178 string-format/format-plugin-comp-cls-name.h \
179 string-format/format-error.c \
180 string-format/format-error.h
182 plugins_common_muxing_libmuxing_la_SOURCES = \
183 plugins/common/muxing/muxing.c \
184 plugins/common/muxing/muxing.h
186 plugins_common_param_validation_libparam_validation_la_SOURCES = \
187 plugins/common/param-validation/param-validation.c \
188 plugins/common/param-validation/param-validation.h
190 # Set flags for the Bison based metadata parser
191 # -t : instrument the parser
192 # -d : produce a header
194 # -Wno-yacc : disable POSIX Yacc incompatibilities warnings
198 plugins_ctf_common_metadata_libctf_parser_la_SOURCES = \
199 plugins/ctf/common/metadata/lexer.lpp \
200 plugins/ctf/common/metadata/parser.ypp \
201 plugins/ctf/common/metadata/objstack.cpp
203 # scanner-symbols.h is included to prefix generated yy_* symbols with bt_.
204 plugins_ctf_common_metadata_libctf_parser_la_CPPFLAGS = \
206 -include $(srcdir)/plugins/ctf/common/metadata/scanner-symbols.hpp
208 # This library contains (mostly) generated code, silence some warnings that it
210 plugins_ctf_common_metadata_libctf_parser_la_CXXFLAGS = \
212 -Wno-unused-function \
213 -Wno-null-dereference \
214 -Wno-missing-field-initializers \
215 -Wno-unused-parameter
217 plugins_ctf_common_metadata_libctf_ast_la_SOURCES = \
218 plugins/ctf/common/metadata/visitor-generate-ir.cpp \
219 plugins/ctf/common/metadata/visitor-semantic-validator.cpp \
220 plugins/ctf/common/metadata/visitor-parent-links.cpp \
221 plugins/ctf/common/metadata/ast.hpp \
222 plugins/ctf/common/metadata/objstack.hpp \
223 plugins/ctf/common/metadata/parser.hpp \
224 plugins/ctf/common/metadata/parser-wrap.hpp \
225 plugins/ctf/common/metadata/scanner.hpp \
226 plugins/ctf/common/metadata/scanner-symbols.hpp \
227 plugins/ctf/common/metadata/decoder.cpp \
228 plugins/ctf/common/metadata/decoder.hpp \
229 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.cpp \
230 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.hpp \
231 plugins/ctf/common/metadata/logging.cpp \
232 plugins/ctf/common/metadata/logging.hpp \
233 plugins/ctf/common/metadata/ctf-meta.hpp \
234 plugins/ctf/common/metadata/ctf-meta-visitors.hpp \
235 plugins/ctf/common/metadata/ctf-meta-validate.cpp \
236 plugins/ctf/common/metadata/ctf-meta-update-meanings.cpp \
237 plugins/ctf/common/metadata/ctf-meta-update-in-ir.cpp \
238 plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.cpp \
239 plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.cpp \
240 plugins/ctf/common/metadata/ctf-meta-update-alignments.cpp \
241 plugins/ctf/common/metadata/ctf-meta-update-value-storing-indexes.cpp \
242 plugins/ctf/common/metadata/ctf-meta-update-stream-class-config.cpp \
243 plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp \
244 plugins/ctf/common/metadata/ctf-meta-translate.cpp \
245 plugins/ctf/common/metadata/ctf-meta-resolve.cpp \
246 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.cpp \
247 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.hpp
249 if BABELTRACE_BUILD_WITH_MINGW
250 plugins_ctf_common_metadata_libctf_ast_la_LIBADD = -lintl -liconv -lole32
254 plugins/ctf/common/metadata/parser.hpp
259 # We have bison: we can clean the generated parser files
261 plugins/ctf/common/metadata/parser.cpp \
262 plugins/ctf/common/metadata/parser.hpp \
263 plugins/ctf/common/metadata/parser.output
265 # Create target used to stop the build if we want to build the parser,
266 # but we don't have the necessary tool to do so
267 plugins/ctf/common/metadata/parser.cpp plugins/ctf/common/metadata/parser.hpp: plugins/ctf/common/metadata/parser.ypp
268 @echo "Error: Cannot build target because bison is missing."
269 @echo "Make sure bison is installed and run the configure script again."
273 plugins/ctf/common/metadata/parser.cpp \
274 plugins/ctf/common/metadata/parser.hpp
278 # We have flex: we can clean the generated lexer files
279 CLEANFILES += plugins/ctf/common/metadata/lexer.cpp
281 # Create target used to stop the build if we want to build the lexer,
282 # but we don't have the necessary tool to do so
283 plugins/ctf/common/metadata/lexer.cpp: plugins/ctf/common/metadata/lexer.lpp
284 @echo "Error: Cannot build target because flex is missing."
285 @echo "Make sure flex is installed and run the configure script again."
288 ALL_LOCAL += plugins/ctf/common/metadata/lexer.cpp
291 all-local: $(ALL_LOCAL)
293 if ENABLE_PYTHON_COMMON_DEPS
294 noinst_LTLIBRARIES += py-common/libpy-common.la
296 py_common_libpy_common_la_SOURCES = \
297 py-common/py-common.c \
298 py-common/py-common.h
300 py_common_libpy_common_la_CPPFLAGS = \
304 endif # ENABLE_PYTHON_COMMON_DEPS
307 noinst_LTLIBRARIES += plugins/lttng-utils/debug-info/libdebug-info.la
309 plugins_lttng_utils_debug_info_libdebug_info_la_SOURCES = \
310 plugins/lttng-utils/debug-info/bin-info.c \
311 plugins/lttng-utils/debug-info/bin-info.h \
312 plugins/lttng-utils/debug-info/crc32.c \
313 plugins/lttng-utils/debug-info/crc32.h \
314 plugins/lttng-utils/debug-info/debug-info.c \
315 plugins/lttng-utils/debug-info/debug-info.h \
316 plugins/lttng-utils/debug-info/dwarf.c \
317 plugins/lttng-utils/debug-info/dwarf.h \
318 plugins/lttng-utils/debug-info/trace-ir-data-copy.c \
319 plugins/lttng-utils/debug-info/trace-ir-data-copy.h \
320 plugins/lttng-utils/debug-info/trace-ir-mapping.c \
321 plugins/lttng-utils/debug-info/trace-ir-mapping.h \
322 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c \
323 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.h \
324 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c \
325 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.h \
326 plugins/lttng-utils/debug-info/utils.c \
327 plugins/lttng-utils/debug-info/utils.h
329 plugins_lttng_utils_debug_info_libdebug_info_la_LIBADD = \
330 fd-cache/libfd-cache.la
332 endif # ENABLE_DEBUG_INFO
340 ctf-writer/libbabeltrace2-ctf-writer.la \
341 lib/libbabeltrace2.la
343 lib_libbabeltrace2_la_SOURCES = \
344 lib/graph/message/discarded-items.c \
345 lib/graph/message/discarded-items.h \
346 lib/graph/message/event.c \
347 lib/graph/message/event.h \
348 lib/graph/message-iterator-class.c \
349 lib/graph/message-iterator-class.h \
350 lib/graph/message/iterator.h \
351 lib/graph/message/message.c \
352 lib/graph/message/message.h \
353 lib/graph/message/message-iterator-inactivity.c \
354 lib/graph/message/message-iterator-inactivity.h \
355 lib/graph/message/packet.c \
356 lib/graph/message/packet.h \
357 lib/graph/message/stream.c \
358 lib/graph/message/stream.h \
359 lib/graph/component.c \
360 lib/graph/component-class.c \
361 lib/graph/component-class.h \
362 lib/graph/component-class-sink-simple.c \
363 lib/graph/component-class-sink-simple.h \
364 lib/graph/component-descriptor-set.c \
365 lib/graph/component-descriptor-set.h \
366 lib/graph/component-filter.c \
367 lib/graph/component-filter.h \
368 lib/graph/component.h \
369 lib/graph/component-sink.c \
370 lib/graph/component-sink.h \
371 lib/graph/component-source.c \
372 lib/graph/component-source.h \
373 lib/graph/connection.c \
374 lib/graph/connection.h \
377 lib/graph/interrupter.c \
378 lib/graph/interrupter.h \
379 lib/graph/iterator.c \
383 lib/graph/query-executor.c \
384 lib/graph/query-executor.h \
385 lib/plugin/plugin.c \
386 lib/plugin/plugin.h \
387 lib/plugin/plugin-so.c \
388 lib/plugin/plugin-so.h \
389 lib/prio-heap/prio-heap.c \
390 lib/prio-heap/prio-heap.h \
391 lib/trace-ir/attributes.c \
392 lib/trace-ir/attributes.h \
393 lib/trace-ir/clock-class.c \
394 lib/trace-ir/clock-class.h \
395 lib/trace-ir/clock-snapshot.c \
396 lib/trace-ir/clock-snapshot.h \
397 lib/trace-ir/event.c \
398 lib/trace-ir/event-class.c \
399 lib/trace-ir/event-class.h \
400 lib/trace-ir/event.h \
401 lib/trace-ir/field.c \
402 lib/trace-ir/field-class.c \
403 lib/trace-ir/field-class.h \
404 lib/trace-ir/field.h \
405 lib/trace-ir/field-path.c \
406 lib/trace-ir/field-path.h \
407 lib/trace-ir/field-wrapper.c \
408 lib/trace-ir/field-wrapper.h \
409 lib/trace-ir/packet.c \
410 lib/trace-ir/packet.h \
411 lib/trace-ir/resolve-field-path.c \
412 lib/trace-ir/resolve-field-path.h \
413 lib/trace-ir/stream.c \
414 lib/trace-ir/stream-class.c \
415 lib/trace-ir/stream-class.h \
416 lib/trace-ir/stream.h \
417 lib/trace-ir/trace.c \
418 lib/trace-ir/trace-class.c \
419 lib/trace-ir/trace-class.h \
420 lib/trace-ir/trace.h \
421 lib/trace-ir/utils.c \
422 lib/trace-ir/utils.h \
423 lib/assert-cond-base.h \
427 lib/current-thread.c \
431 lib/integer-range-set.c \
432 lib/integer-range-set.h \
444 lib_libbabeltrace2_la_LDFLAGS = \
447 -version-info $(BABELTRACE_LIBRARY_VERSION)
449 lib_libbabeltrace2_la_CPPFLAGS = \
451 '-DBABELTRACE_PLUGIN_PROVIDERS_DIR="$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"'
453 lib_libbabeltrace2_la_LIBADD = \
454 logging/liblogging.la \
455 common/libcommon.la \
458 ctf_writer_libbabeltrace2_ctf_writer_la_SOURCES = \
459 ctf-writer/assert-pre.h \
460 ctf-writer/attributes.c \
461 ctf-writer/attributes.h \
463 ctf-writer/clock-class.c \
464 ctf-writer/clock-class.h \
467 ctf-writer/event-class.c \
468 ctf-writer/event-class.h \
470 ctf-writer/field-path.c \
471 ctf-writer/field-path.h \
472 ctf-writer/fields.c \
473 ctf-writer/fields.h \
474 ctf-writer/field-types.c \
475 ctf-writer/field-types.h \
476 ctf-writer/field-wrapper.c \
477 ctf-writer/field-wrapper.h \
478 ctf-writer/functor.c \
479 ctf-writer/functor.h \
480 ctf-writer/logging.c \
481 ctf-writer/logging.h \
482 ctf-writer/object.c \
483 ctf-writer/object.h \
484 ctf-writer/object-pool.c \
485 ctf-writer/object-pool.h \
486 ctf-writer/resolve.c \
487 ctf-writer/resolve.h \
488 ctf-writer/stream.c \
489 ctf-writer/stream-class.c \
490 ctf-writer/stream-class.h \
491 ctf-writer/stream.h \
496 ctf-writer/validation.c \
497 ctf-writer/validation.h \
498 ctf-writer/values.c \
499 ctf-writer/values.h \
500 ctf-writer/visitor.c \
501 ctf-writer/visitor.h \
502 ctf-writer/writer.c \
505 ctf_writer_libbabeltrace2_ctf_writer_la_LDFLAGS = \
508 -version-info $(BABELTRACE_LIBRARY_VERSION)
510 ctf_writer_libbabeltrace2_ctf_writer_la_LIBADD = \
511 logging/liblogging.la \
512 common/libcommon.la \
513 ctfser/libctfser.la \
516 pkgconfigdir = $(libdir)/pkgconfig
518 babeltrace2-ctf-writer.pc \
522 # Python plugin provider
525 if ENABLE_PYTHON_PLUGINS
526 pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"
527 pluginprovider_LTLIBRARIES = python-plugin-provider/babeltrace2-python-plugin-provider.la
529 python_plugin_provider_babeltrace2_python_plugin_provider_la_SOURCES = \
530 python-plugin-provider/python-plugin-provider.c \
531 python-plugin-provider/python-plugin-provider.h
533 python_plugin_provider_babeltrace2_python_plugin_provider_la_LDFLAGS = \
536 -avoid-version -module \
539 python_plugin_provider_babeltrace2_python_plugin_provider_la_CPPFLAGS = \
543 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD =
545 # Link the Python plugin provider library with libbabeltrace2
546 # when it's not built-in the babeltrace2 executable.
547 if !ENABLE_BUILT_IN_PLUGINS
548 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD += \
549 logging/liblogging.la \
550 common/libcommon.la \
551 py-common/libpy-common.la \
552 lib/libbabeltrace2.la
554 endif # ENABLE_PYTHON_PLUGINS
560 plugindir = "$(BABELTRACE_PLUGINS_DIR)"
561 plugin_LTLIBRARIES = \
562 plugins/ctf/babeltrace-plugin-ctf.la \
563 plugins/text/babeltrace-plugin-text.la \
564 plugins/utils/babeltrace-plugin-utils.la
568 plugins_utils_babeltrace_plugin_utils_la_SOURCES = \
569 plugins/utils/counter/counter.c \
570 plugins/utils/counter/counter.h \
571 plugins/utils/dummy/dummy.c \
572 plugins/utils/dummy/dummy.h \
573 plugins/utils/muxer/muxer.c \
574 plugins/utils/muxer/muxer.h \
575 plugins/utils/trimmer/trimmer.c \
576 plugins/utils/trimmer/trimmer.h \
577 plugins/utils/plugin.c
579 plugins_utils_babeltrace_plugin_utils_la_LDFLAGS = \
582 -avoid-version -module $(LD_NOTEXT)
584 plugins_utils_babeltrace_plugin_utils_la_LIBADD = \
585 plugins/common/muxing/libmuxing.la
587 if !ENABLE_BUILT_IN_PLUGINS
588 plugins_utils_babeltrace_plugin_utils_la_LIBADD += \
589 lib/libbabeltrace2.la \
590 common/libcommon.la \
591 logging/liblogging.la \
592 plugins/common/param-validation/libparam-validation.la
596 plugins_ctf_babeltrace_plugin_ctf_la_SOURCES = \
597 plugins/ctf/common/bfcr/bfcr.cpp \
598 plugins/ctf/common/bfcr/bfcr.hpp \
599 plugins/ctf/common/msg-iter/msg-iter.cpp \
600 plugins/ctf/common/msg-iter/msg-iter.hpp \
601 plugins/ctf/common/print.hpp \
602 plugins/ctf/fs-sink/fs-sink.cpp \
603 plugins/ctf/fs-sink/fs-sink-ctf-meta.hpp \
604 plugins/ctf/fs-sink/fs-sink.hpp \
605 plugins/ctf/fs-sink/fs-sink-stream.cpp \
606 plugins/ctf/fs-sink/fs-sink-stream.hpp \
607 plugins/ctf/fs-sink/fs-sink-trace.cpp \
608 plugins/ctf/fs-sink/fs-sink-trace.hpp \
609 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp \
610 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.hpp \
611 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.cpp \
612 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.hpp \
613 plugins/ctf/fs-src/data-stream-file.cpp \
614 plugins/ctf/fs-src/data-stream-file.hpp \
615 plugins/ctf/fs-src/file.cpp \
616 plugins/ctf/fs-src/file.hpp \
617 plugins/ctf/fs-src/fs.cpp \
618 plugins/ctf/fs-src/fs.hpp \
619 plugins/ctf/fs-src/lttng-index.hpp \
620 plugins/ctf/fs-src/metadata.cpp \
621 plugins/ctf/fs-src/metadata.hpp \
622 plugins/ctf/fs-src/query.cpp \
623 plugins/ctf/fs-src/query.hpp \
624 plugins/ctf/lttng-live/data-stream.cpp \
625 plugins/ctf/lttng-live/data-stream.hpp \
626 plugins/ctf/lttng-live/lttng-live.cpp \
627 plugins/ctf/lttng-live/lttng-live.hpp \
628 plugins/ctf/lttng-live/lttng-viewer-abi.hpp \
629 plugins/ctf/lttng-live/metadata.cpp \
630 plugins/ctf/lttng-live/metadata.hpp \
631 plugins/ctf/lttng-live/viewer-connection.cpp \
632 plugins/ctf/lttng-live/viewer-connection.hpp \
633 plugins/ctf/plugin.cpp
635 plugins_ctf_babeltrace_plugin_ctf_la_LDFLAGS = \
638 -avoid-version -module $(LD_NOTEXT)
640 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD = \
641 plugins/ctf/common/metadata/libctf-parser.la \
642 plugins/ctf/common/metadata/libctf-ast.la \
643 plugins/common/param-validation/libparam-validation.la
645 if BABELTRACE_BUILD_WITH_MINGW
646 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += -lws2_32
649 if !ENABLE_BUILT_IN_PLUGINS
650 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += \
651 lib/libbabeltrace2.la \
652 logging/liblogging.la \
653 plugins/common/muxing/libmuxing.la \
654 common/libcommon.la \
659 plugins_text_babeltrace_plugin_text_la_SOURCES = \
660 plugins/text/details/colors.h \
661 plugins/text/details/details.c \
662 plugins/text/details/details.h \
663 plugins/text/details/obj-lifetime-mgmt.c \
664 plugins/text/details/obj-lifetime-mgmt.h \
665 plugins/text/details/write.c \
666 plugins/text/details/write.h \
667 plugins/text/dmesg/dmesg.c \
668 plugins/text/dmesg/dmesg.h \
669 plugins/text/pretty/pretty.c \
670 plugins/text/pretty/pretty.h \
671 plugins/text/pretty/print.c \
672 plugins/text/plugin.c
674 plugins_text_babeltrace_plugin_text_la_LDFLAGS = \
677 -avoid-version -module $(LD_NOTEXT)
679 plugins_text_babeltrace_plugin_text_la_LIBADD =
681 if !ENABLE_BUILT_IN_PLUGINS
682 plugins_text_babeltrace_plugin_text_la_LIBADD += \
683 lib/libbabeltrace2.la \
684 common/libcommon.la \
685 logging/liblogging.la \
686 compat/libcompat.la \
687 plugins/common/param-validation/libparam-validation.la
692 plugin_LTLIBRARIES += \
693 plugins/lttng-utils/babeltrace-plugin-lttng-utils.la
695 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_SOURCES = \
696 plugins/lttng-utils/plugin.c
698 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LDFLAGS = \
701 -avoid-version -module $(LD_NOTEXT) \
704 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD = \
705 plugins/lttng-utils/debug-info/libdebug-info.la
707 if !ENABLE_BUILT_IN_PLUGINS
708 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD += \
709 lib/libbabeltrace2.la \
710 common/libcommon.la \
711 logging/liblogging.la \
712 plugins/common/param-validation/libparam-validation.la
713 endif # !ENABLE_BUILT_IN_PLUGINS
714 endif # ENABLE_DEBUG_INFO
716 EXTRA_DIST = cpp-common/optional.hpp.license