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
14 ## This target generates an include file that contains the git version
15 ## string of the current branch, it must be continuously updated when
16 ## we build in the git repo and shipped in dist tarballs to reflect the
17 ## status of the tree when it was generated. If the tree is clean and
18 ## the current commit is a tag starting with "v", consider this a
19 ## release version and set an empty git version.
21 version_verbose = $(version_verbose_@AM_V@)
22 version_verbose_ = $(version_verbose_@AM_DEFAULT_V@)
23 version_verbose_0 = @echo " GEN " $@;
26 $(version_verbose)GREP=$(GREP) SED=$(SED) TOP_SRCDIR="$(top_srcdir)" $(SHELL) $(srcdir)/gen-version-i.sh
28 dist_noinst_SCRIPTS = gen-version-i.sh
30 # Ensure version.i is generated before any code is built.
31 BUILT_SOURCES = common/version.i
34 ## version.i is defined as a .PHONY target even if it's a real file,
35 ## we want the target to be re-run on every make.
37 .PHONY: common/version.i
39 CLEANFILES = common/version.i.tmp
42 ## Only clean "version.i" on dist-clean, we need to keep it on regular
43 ## clean when it's part of a dist tarball.
45 DISTCLEANFILES = common/version.i
48 # Convenience libraries
51 noinst_LTLIBRARIES = \
53 autodisc/libautodisc.la \
56 cpp-common/libcpp-common.la \
57 cpp-common/vendor/fmt/libfmt.la \
59 fd-cache/libfd-cache.la \
60 logging/liblogging.la \
61 param-parse/libparam-parse.la \
62 plugins/common/muxing/libmuxing.la \
63 plugins/common/param-validation/libparam-validation.la \
64 plugins/ctf/common/metadata/libctf-ast.la \
65 plugins/ctf/common/metadata/libctf-parser.la \
66 string-format/libstring-format.la
69 argpar_libargpar_la_SOURCES = \
73 autodisc_libautodisc_la_SOURCES = \
77 common_libcommon_la_SOURCES = \
92 common_libcommon_la_CPPFLAGS = \
94 -DBABELTRACE_PLUGINS_DIR=\"$(BABELTRACE_PLUGINS_DIR)\"
96 compat_libcompat_la_SOURCES = \
114 cpp_common_libcpp_common_la_SOURCES = \
115 cpp-common/bt2/borrowed-object-iterator.hpp \
116 cpp-common/bt2/borrowed-object-proxy.hpp \
117 cpp-common/bt2/borrowed-object.hpp \
118 cpp-common/bt2/clock-class.hpp \
119 cpp-common/bt2/clock-snapshot.hpp \
120 cpp-common/bt2/component-class-dev.hpp \
121 cpp-common/bt2/component-port.hpp \
122 cpp-common/bt2/exc.hpp \
123 cpp-common/bt2/field-class.hpp \
124 cpp-common/bt2/field-path.hpp \
125 cpp-common/bt2/field.hpp \
126 cpp-common/bt2/integer-range-set.hpp \
127 cpp-common/bt2/integer-range.hpp \
128 cpp-common/bt2/internal/comp-cls-bridge.hpp \
129 cpp-common/bt2/internal/utils.hpp \
130 cpp-common/bt2/logging.hpp \
131 cpp-common/bt2/message-array.hpp \
132 cpp-common/bt2/message-iterator.hpp \
133 cpp-common/bt2/message.hpp \
134 cpp-common/bt2/optional-borrowed-object.hpp \
135 cpp-common/bt2/plugin-dev.hpp \
136 cpp-common/bt2/plugin.hpp \
137 cpp-common/bt2/private-query-executor.hpp \
138 cpp-common/bt2/raw-value-proxy.hpp \
139 cpp-common/bt2/self-component-class.hpp \
140 cpp-common/bt2/self-component-port.hpp \
141 cpp-common/bt2/self-message-iterator-configuration.hpp \
142 cpp-common/bt2/self-message-iterator.hpp \
143 cpp-common/bt2/shared-object.hpp \
144 cpp-common/bt2/trace-ir.hpp \
145 cpp-common/bt2/type-traits.hpp \
146 cpp-common/bt2/value.hpp \
147 cpp-common/bt2/wrap.hpp \
148 cpp-common/bt2c/align.hpp \
149 cpp-common/bt2c/c-string-view.hpp \
150 cpp-common/bt2c/call.hpp \
151 cpp-common/bt2c/dummy.cpp \
152 cpp-common/bt2c/endian.hpp \
153 cpp-common/bt2c/exc.hpp \
154 cpp-common/bt2c/fmt.hpp \
155 cpp-common/bt2c/glib-up.hpp \
156 cpp-common/bt2c/libc-up.hpp \
157 cpp-common/bt2c/logging.hpp \
158 cpp-common/bt2c/prio-heap.hpp \
159 cpp-common/bt2c/read-fixed-len-int.hpp \
160 cpp-common/bt2c/safe-ops.hpp \
161 cpp-common/bt2c/std-int.hpp \
162 cpp-common/bt2c/type-traits.hpp \
163 cpp-common/bt2c/uuid.hpp \
164 cpp-common/bt2c/vector.hpp \
165 cpp-common/bt2s/make-unique.hpp \
166 cpp-common/bt2s/optional.hpp \
167 cpp-common/bt2s/span.hpp \
168 cpp-common/bt2s/string-view.hpp \
169 cpp-common/vendor/nlohmann/json.hpp \
170 cpp-common/vendor/optional-lite/optional.hpp \
171 cpp-common/vendor/span-lite/span.hpp \
172 cpp-common/vendor/string_view-standalone/string_view.hpp
174 cpp_common_vendor_fmt_libfmt_la_SOURCES = \
175 cpp-common/vendor/fmt/args.h \
176 cpp-common/vendor/fmt/chrono.h \
177 cpp-common/vendor/fmt/color.h \
178 cpp-common/vendor/fmt/compile.h \
179 cpp-common/vendor/fmt/core.h \
180 cpp-common/vendor/fmt/format-inl.h \
181 cpp-common/vendor/fmt/format.cc \
182 cpp-common/vendor/fmt/format.h \
183 cpp-common/vendor/fmt/os.cc \
184 cpp-common/vendor/fmt/os.h \
185 cpp-common/vendor/fmt/ostream.h \
186 cpp-common/vendor/fmt/printf.h \
187 cpp-common/vendor/fmt/ranges.h \
188 cpp-common/vendor/fmt/std.h \
189 cpp-common/vendor/fmt/xchar.h
191 ctfser_libctfser_la_SOURCES = \
195 fd_cache_libfd_cache_la_SOURCES = \
196 fd-cache/fd-cache.c \
199 logging_liblogging_la_SOURCES = \
200 logging/comp-logging.h \
205 param_parse_libparam_parse_la_SOURCES = \
206 param-parse/param-parse.c \
207 param-parse/param-parse.h
209 string_format_libstring_format_la_SOURCES = \
210 string-format/format-plugin-comp-cls-name.c \
211 string-format/format-plugin-comp-cls-name.h \
212 string-format/format-error.c \
213 string-format/format-error.h
215 plugins_common_muxing_libmuxing_la_SOURCES = \
216 plugins/common/muxing/muxing.c \
217 plugins/common/muxing/muxing.h
219 plugins_common_param_validation_libparam_validation_la_SOURCES = \
220 plugins/common/param-validation/param-validation.c \
221 plugins/common/param-validation/param-validation.h
223 # Set flags for the Bison based metadata parser
224 # -t : instrument the parser
225 # -d : produce a header
227 # -Wno-yacc : disable POSIX Yacc incompatibilities warnings
231 plugins_ctf_common_metadata_libctf_parser_la_SOURCES = \
232 plugins/ctf/common/metadata/lexer.lpp \
233 plugins/ctf/common/metadata/parser.ypp \
234 plugins/ctf/common/metadata/objstack.cpp
236 # scanner-symbols.h is included to prefix generated yy_* symbols with bt_.
237 plugins_ctf_common_metadata_libctf_parser_la_CPPFLAGS = \
239 -include $(srcdir)/plugins/ctf/common/metadata/scanner-symbols.hpp
241 # This library contains (mostly) generated code, silence some warnings that it
243 plugins_ctf_common_metadata_libctf_parser_la_CXXFLAGS = \
245 -Wno-unused-function \
246 -Wno-null-dereference \
247 -Wno-missing-field-initializers \
248 -Wno-unused-parameter
250 plugins_ctf_common_metadata_libctf_ast_la_SOURCES = \
251 plugins/ctf/common/metadata/visitor-generate-ir.cpp \
252 plugins/ctf/common/metadata/visitor-semantic-validator.cpp \
253 plugins/ctf/common/metadata/visitor-parent-links.cpp \
254 plugins/ctf/common/metadata/ast.hpp \
255 plugins/ctf/common/metadata/objstack.hpp \
256 plugins/ctf/common/metadata/parser.hpp \
257 plugins/ctf/common/metadata/parser-wrap.hpp \
258 plugins/ctf/common/metadata/scanner.hpp \
259 plugins/ctf/common/metadata/scanner-symbols.hpp \
260 plugins/ctf/common/metadata/decoder.cpp \
261 plugins/ctf/common/metadata/decoder.hpp \
262 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.cpp \
263 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.hpp \
264 plugins/ctf/common/metadata/logging.cpp \
265 plugins/ctf/common/metadata/logging.hpp \
266 plugins/ctf/common/metadata/ctf-meta.hpp \
267 plugins/ctf/common/metadata/ctf-meta-visitors.hpp \
268 plugins/ctf/common/metadata/ctf-meta-validate.cpp \
269 plugins/ctf/common/metadata/ctf-meta-update-meanings.cpp \
270 plugins/ctf/common/metadata/ctf-meta-update-in-ir.cpp \
271 plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.cpp \
272 plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.cpp \
273 plugins/ctf/common/metadata/ctf-meta-update-alignments.cpp \
274 plugins/ctf/common/metadata/ctf-meta-update-value-storing-indexes.cpp \
275 plugins/ctf/common/metadata/ctf-meta-update-stream-class-config.cpp \
276 plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp \
277 plugins/ctf/common/metadata/ctf-meta-translate.cpp \
278 plugins/ctf/common/metadata/ctf-meta-resolve.cpp \
279 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.cpp \
280 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.hpp
282 if BABELTRACE_BUILD_WITH_MINGW
283 plugins_ctf_common_metadata_libctf_ast_la_LIBADD = -lintl -liconv -lole32
287 plugins/ctf/common/metadata/parser.hpp
292 # We have bison: we can clean the generated parser files
294 plugins/ctf/common/metadata/parser.cpp \
295 plugins/ctf/common/metadata/parser.hpp \
296 plugins/ctf/common/metadata/parser.output
298 # Create target used to stop the build if we want to build the parser,
299 # but we don't have the necessary tool to do so
300 plugins/ctf/common/metadata/parser.cpp plugins/ctf/common/metadata/parser.hpp: plugins/ctf/common/metadata/parser.ypp
301 @echo "Error: Cannot build target because bison is missing."
302 @echo "Make sure bison is installed and run the configure script again."
306 plugins/ctf/common/metadata/parser.cpp \
307 plugins/ctf/common/metadata/parser.hpp
311 # We have flex: we can clean the generated lexer files
312 CLEANFILES += plugins/ctf/common/metadata/lexer.cpp
314 # Create target used to stop the build if we want to build the lexer,
315 # but we don't have the necessary tool to do so
316 plugins/ctf/common/metadata/lexer.cpp: plugins/ctf/common/metadata/lexer.lpp
317 @echo "Error: Cannot build target because flex is missing."
318 @echo "Make sure flex is installed and run the configure script again."
321 ALL_LOCAL += plugins/ctf/common/metadata/lexer.cpp
324 all-local: $(ALL_LOCAL)
326 if ENABLE_PYTHON_COMMON_DEPS
327 noinst_LTLIBRARIES += py-common/libpy-common.la
329 py_common_libpy_common_la_SOURCES = \
330 py-common/py-common.c \
331 py-common/py-common.h
333 py_common_libpy_common_la_CPPFLAGS = \
337 endif # ENABLE_PYTHON_COMMON_DEPS
340 noinst_LTLIBRARIES += plugins/lttng-utils/debug-info/libdebug-info.la
342 plugins_lttng_utils_debug_info_libdebug_info_la_SOURCES = \
343 plugins/lttng-utils/debug-info/bin-info.c \
344 plugins/lttng-utils/debug-info/bin-info.h \
345 plugins/lttng-utils/debug-info/crc32.c \
346 plugins/lttng-utils/debug-info/crc32.h \
347 plugins/lttng-utils/debug-info/debug-info.c \
348 plugins/lttng-utils/debug-info/debug-info.h \
349 plugins/lttng-utils/debug-info/dwarf.c \
350 plugins/lttng-utils/debug-info/dwarf.h \
351 plugins/lttng-utils/debug-info/trace-ir-data-copy.c \
352 plugins/lttng-utils/debug-info/trace-ir-data-copy.h \
353 plugins/lttng-utils/debug-info/trace-ir-mapping.c \
354 plugins/lttng-utils/debug-info/trace-ir-mapping.h \
355 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c \
356 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.h \
357 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c \
358 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.h \
359 plugins/lttng-utils/debug-info/utils.c \
360 plugins/lttng-utils/debug-info/utils.h
362 plugins_lttng_utils_debug_info_libdebug_info_la_LIBADD = \
363 fd-cache/libfd-cache.la
365 endif # ENABLE_DEBUG_INFO
373 ctf-writer/libbabeltrace2-ctf-writer.la \
374 lib/libbabeltrace2.la
376 lib_libbabeltrace2_la_SOURCES = \
377 lib/graph/message/discarded-items.c \
378 lib/graph/message/discarded-items.h \
379 lib/graph/message/event.c \
380 lib/graph/message/event.h \
381 lib/graph/message-iterator-class.c \
382 lib/graph/message-iterator-class.h \
383 lib/graph/message/message.c \
384 lib/graph/message/message.h \
385 lib/graph/message/message-iterator-inactivity.c \
386 lib/graph/message/message-iterator-inactivity.h \
387 lib/graph/message/packet.c \
388 lib/graph/message/packet.h \
389 lib/graph/message/stream.c \
390 lib/graph/message/stream.h \
391 lib/graph/component.c \
392 lib/graph/component-class.c \
393 lib/graph/component-class.h \
394 lib/graph/component-class-sink-simple.c \
395 lib/graph/component-class-sink-simple.h \
396 lib/graph/component-descriptor-set.c \
397 lib/graph/component-descriptor-set.h \
398 lib/graph/component-filter.c \
399 lib/graph/component-filter.h \
400 lib/graph/component.h \
401 lib/graph/component-sink.c \
402 lib/graph/component-sink.h \
403 lib/graph/component-source.c \
404 lib/graph/component-source.h \
405 lib/graph/connection.c \
406 lib/graph/connection.h \
409 lib/graph/interrupter.c \
410 lib/graph/interrupter.h \
411 lib/graph/iterator.c \
412 lib/graph/iterator.h \
416 lib/graph/query-executor.c \
417 lib/graph/query-executor.h \
418 lib/plugin/plugin.c \
419 lib/plugin/plugin.h \
420 lib/plugin/plugin-so.c \
421 lib/plugin/plugin-so.h \
422 lib/trace-ir/attributes.c \
423 lib/trace-ir/attributes.h \
424 lib/trace-ir/clock-class.c \
425 lib/trace-ir/clock-class.h \
426 lib/trace-ir/clock-snapshot.c \
427 lib/trace-ir/clock-snapshot.h \
428 lib/trace-ir/event.c \
429 lib/trace-ir/event-class.c \
430 lib/trace-ir/event-class.h \
431 lib/trace-ir/event.h \
432 lib/trace-ir/field.c \
433 lib/trace-ir/field-class.c \
434 lib/trace-ir/field-class.h \
435 lib/trace-ir/field.h \
436 lib/trace-ir/field-path.c \
437 lib/trace-ir/field-path.h \
438 lib/trace-ir/field-wrapper.c \
439 lib/trace-ir/field-wrapper.h \
440 lib/trace-ir/packet.c \
441 lib/trace-ir/packet.h \
442 lib/trace-ir/resolve-field-path.c \
443 lib/trace-ir/resolve-field-path.h \
444 lib/trace-ir/stream.c \
445 lib/trace-ir/stream-class.c \
446 lib/trace-ir/stream-class.h \
447 lib/trace-ir/stream.h \
448 lib/trace-ir/trace.c \
449 lib/trace-ir/trace-class.c \
450 lib/trace-ir/trace-class.h \
451 lib/trace-ir/trace.h \
452 lib/trace-ir/utils.c \
453 lib/trace-ir/utils.h \
454 lib/assert-cond-base.h \
458 lib/current-thread.c \
462 lib/integer-range-set.c \
463 lib/integer-range-set.h \
475 lib_libbabeltrace2_la_LDFLAGS = \
478 -version-info $(BABELTRACE_LIBRARY_VERSION)
480 lib_libbabeltrace2_la_CPPFLAGS = \
482 '-DBABELTRACE_PLUGIN_PROVIDERS_DIR="$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"'
484 lib_libbabeltrace2_la_LIBADD = \
485 logging/liblogging.la \
486 common/libcommon.la \
489 ctf_writer_libbabeltrace2_ctf_writer_la_SOURCES = \
490 ctf-writer/assert-pre.h \
491 ctf-writer/attributes.c \
492 ctf-writer/attributes.h \
494 ctf-writer/clock-class.c \
495 ctf-writer/clock-class.h \
498 ctf-writer/event-class.c \
499 ctf-writer/event-class.h \
501 ctf-writer/field-path.c \
502 ctf-writer/field-path.h \
503 ctf-writer/fields.c \
504 ctf-writer/fields.h \
505 ctf-writer/field-types.c \
506 ctf-writer/field-types.h \
507 ctf-writer/field-wrapper.c \
508 ctf-writer/field-wrapper.h \
509 ctf-writer/functor.c \
510 ctf-writer/functor.h \
511 ctf-writer/logging.c \
512 ctf-writer/logging.h \
513 ctf-writer/object.c \
514 ctf-writer/object.h \
515 ctf-writer/object-pool.c \
516 ctf-writer/object-pool.h \
517 ctf-writer/resolve.c \
518 ctf-writer/resolve.h \
519 ctf-writer/stream.c \
520 ctf-writer/stream-class.c \
521 ctf-writer/stream-class.h \
522 ctf-writer/stream.h \
527 ctf-writer/validation.c \
528 ctf-writer/validation.h \
529 ctf-writer/values.c \
530 ctf-writer/values.h \
531 ctf-writer/visitor.c \
532 ctf-writer/visitor.h \
533 ctf-writer/writer.c \
536 ctf_writer_libbabeltrace2_ctf_writer_la_LDFLAGS = \
539 -version-info $(BABELTRACE_LIBRARY_VERSION)
541 ctf_writer_libbabeltrace2_ctf_writer_la_LIBADD = \
542 logging/liblogging.la \
543 common/libcommon.la \
544 ctfser/libctfser.la \
547 pkgconfigdir = $(libdir)/pkgconfig
549 babeltrace2-ctf-writer.pc \
553 # Python plugin provider
556 if ENABLE_PYTHON_PLUGINS
557 pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"
558 pluginprovider_LTLIBRARIES = python-plugin-provider/babeltrace2-python-plugin-provider.la
560 python_plugin_provider_babeltrace2_python_plugin_provider_la_SOURCES = \
561 python-plugin-provider/python-plugin-provider.c \
562 python-plugin-provider/python-plugin-provider.h
564 python_plugin_provider_babeltrace2_python_plugin_provider_la_LDFLAGS = \
567 -avoid-version -module \
570 python_plugin_provider_babeltrace2_python_plugin_provider_la_CPPFLAGS = \
574 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD =
576 # Link the Python plugin provider library with libbabeltrace2
577 # when it's not built-in the babeltrace2 executable.
578 if !ENABLE_BUILT_IN_PLUGINS
579 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD += \
580 logging/liblogging.la \
581 common/libcommon.la \
582 py-common/libpy-common.la \
583 lib/libbabeltrace2.la
585 endif # ENABLE_PYTHON_PLUGINS
591 plugindir = "$(BABELTRACE_PLUGINS_DIR)"
592 plugin_LTLIBRARIES = \
593 plugins/ctf/babeltrace-plugin-ctf.la \
594 plugins/text/babeltrace-plugin-text.la \
595 plugins/utils/babeltrace-plugin-utils.la
599 plugins_utils_babeltrace_plugin_utils_la_SOURCES = \
600 plugins/utils/counter/counter.c \
601 plugins/utils/counter/counter.h \
602 plugins/utils/dummy/dummy.c \
603 plugins/utils/dummy/dummy.h \
604 plugins/utils/muxer/comp.cpp \
605 plugins/utils/muxer/comp.hpp \
606 plugins/utils/muxer/msg-iter.cpp \
607 plugins/utils/muxer/msg-iter.hpp \
608 plugins/utils/muxer/upstream-msg-iter.cpp \
609 plugins/utils/muxer/upstream-msg-iter.hpp \
610 plugins/utils/trimmer/trimmer.c \
611 plugins/utils/trimmer/trimmer.h \
612 plugins/utils/plugin.cpp
614 plugins_utils_babeltrace_plugin_utils_la_LDFLAGS = \
617 -avoid-version -module $(LD_NOTEXT)
619 plugins_utils_babeltrace_plugin_utils_la_LIBADD = \
620 plugins/common/muxing/libmuxing.la
622 if !ENABLE_BUILT_IN_PLUGINS
623 plugins_utils_babeltrace_plugin_utils_la_LIBADD += \
624 lib/libbabeltrace2.la \
625 common/libcommon.la \
626 cpp-common/vendor/fmt/libfmt.la \
627 logging/liblogging.la \
628 plugins/common/param-validation/libparam-validation.la
632 plugins_ctf_babeltrace_plugin_ctf_la_SOURCES = \
633 plugins/ctf/common/bfcr/bfcr.cpp \
634 plugins/ctf/common/bfcr/bfcr.hpp \
635 plugins/ctf/common/msg-iter/msg-iter.cpp \
636 plugins/ctf/common/msg-iter/msg-iter.hpp \
637 plugins/ctf/common/print.hpp \
638 plugins/ctf/fs-sink/fs-sink.cpp \
639 plugins/ctf/fs-sink/fs-sink-ctf-meta.hpp \
640 plugins/ctf/fs-sink/fs-sink.hpp \
641 plugins/ctf/fs-sink/fs-sink-stream.cpp \
642 plugins/ctf/fs-sink/fs-sink-stream.hpp \
643 plugins/ctf/fs-sink/fs-sink-trace.cpp \
644 plugins/ctf/fs-sink/fs-sink-trace.hpp \
645 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp \
646 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.hpp \
647 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.cpp \
648 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.hpp \
649 plugins/ctf/fs-src/data-stream-file.cpp \
650 plugins/ctf/fs-src/data-stream-file.hpp \
651 plugins/ctf/fs-src/file.cpp \
652 plugins/ctf/fs-src/file.hpp \
653 plugins/ctf/fs-src/fs.cpp \
654 plugins/ctf/fs-src/fs.hpp \
655 plugins/ctf/fs-src/lttng-index.hpp \
656 plugins/ctf/fs-src/metadata.cpp \
657 plugins/ctf/fs-src/metadata.hpp \
658 plugins/ctf/fs-src/query.cpp \
659 plugins/ctf/fs-src/query.hpp \
660 plugins/ctf/lttng-live/data-stream.cpp \
661 plugins/ctf/lttng-live/data-stream.hpp \
662 plugins/ctf/lttng-live/lttng-live.cpp \
663 plugins/ctf/lttng-live/lttng-live.hpp \
664 plugins/ctf/lttng-live/lttng-viewer-abi.hpp \
665 plugins/ctf/lttng-live/metadata.cpp \
666 plugins/ctf/lttng-live/metadata.hpp \
667 plugins/ctf/lttng-live/viewer-connection.cpp \
668 plugins/ctf/lttng-live/viewer-connection.hpp \
669 plugins/ctf/plugin.cpp
671 plugins_ctf_babeltrace_plugin_ctf_la_LDFLAGS = \
674 -avoid-version -module $(LD_NOTEXT)
676 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD = \
677 plugins/ctf/common/metadata/libctf-parser.la \
678 plugins/ctf/common/metadata/libctf-ast.la \
679 plugins/common/param-validation/libparam-validation.la
681 if BABELTRACE_BUILD_WITH_MINGW
682 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += -lws2_32
685 if !ENABLE_BUILT_IN_PLUGINS
686 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += \
687 lib/libbabeltrace2.la \
688 logging/liblogging.la \
689 plugins/common/muxing/libmuxing.la \
690 common/libcommon.la \
695 plugins_text_babeltrace_plugin_text_la_SOURCES = \
696 plugins/text/details/colors.h \
697 plugins/text/details/details.c \
698 plugins/text/details/details.h \
699 plugins/text/details/obj-lifetime-mgmt.c \
700 plugins/text/details/obj-lifetime-mgmt.h \
701 plugins/text/details/write.c \
702 plugins/text/details/write.h \
703 plugins/text/dmesg/dmesg.c \
704 plugins/text/dmesg/dmesg.h \
705 plugins/text/pretty/pretty.c \
706 plugins/text/pretty/pretty.h \
707 plugins/text/pretty/print.c \
708 plugins/text/plugin.c
710 plugins_text_babeltrace_plugin_text_la_LDFLAGS = \
713 -avoid-version -module $(LD_NOTEXT)
715 plugins_text_babeltrace_plugin_text_la_LIBADD =
717 if !ENABLE_BUILT_IN_PLUGINS
718 plugins_text_babeltrace_plugin_text_la_LIBADD += \
719 lib/libbabeltrace2.la \
720 common/libcommon.la \
721 logging/liblogging.la \
722 compat/libcompat.la \
723 plugins/common/param-validation/libparam-validation.la
728 plugin_LTLIBRARIES += \
729 plugins/lttng-utils/babeltrace-plugin-lttng-utils.la
731 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_SOURCES = \
732 plugins/lttng-utils/plugin.c
734 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LDFLAGS = \
737 -avoid-version -module $(LD_NOTEXT) \
740 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD = \
741 plugins/lttng-utils/debug-info/libdebug-info.la
743 if !ENABLE_BUILT_IN_PLUGINS
744 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD += \
745 lib/libbabeltrace2.la \
746 common/libcommon.la \
747 logging/liblogging.la \
748 plugins/common/param-validation/libparam-validation.la
749 endif # !ENABLE_BUILT_IN_PLUGINS
750 endif # ENABLE_DEBUG_INFO
753 cpp-common/vendor/optional-lite/optional.hpp.license \
754 cpp-common/vendor/span-lite/span.hpp.license