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/read-fixed-len-int.hpp \
51 cpp-common/bt2c/safe-ops.hpp \
52 cpp-common/bt2c/std-int.hpp \
53 cpp-common/bt2c/uuid-view.hpp \
54 cpp-common/bt2c/uuid.hpp \
55 cpp-common/bt2c/vector.hpp \
56 cpp-common/bt2s/make-unique.hpp \
57 cpp-common/bt2s/optional.hpp \
58 cpp-common/bt2s/string-view.hpp \
59 cpp-common/vendor/nlohmann/json.hpp \
60 cpp-common/vendor/optional-lite/optional.hpp \
61 cpp-common/vendor/string_view-standalone/string_view.hpp
63 ## This target generates an include file that contains the git version
64 ## string of the current branch, it must be continuously updated when
65 ## we build in the git repo and shipped in dist tarballs to reflect the
66 ## status of the tree when it was generated. If the tree is clean and
67 ## the current commit is a tag starting with "v", consider this a
68 ## release version and set an empty git version.
70 version_verbose = $(version_verbose_@AM_V@)
71 version_verbose_ = $(version_verbose_@AM_DEFAULT_V@)
72 version_verbose_0 = @echo " GEN " $@;
75 $(version_verbose)GREP=$(GREP) SED=$(SED) TOP_SRCDIR="$(top_srcdir)" $(SHELL) $(srcdir)/gen-version-i.sh
77 dist_noinst_SCRIPTS = gen-version-i.sh
79 # Ensure version.i is generated before any code is built.
80 BUILT_SOURCES = common/version.i
83 ## version.i is defined as a .PHONY target even if it's a real file,
84 ## we want the target to be re-run on every make.
86 .PHONY: common/version.i
88 CLEANFILES = common/version.i.tmp
91 ## Only clean "version.i" on dist-clean, we need to keep it on regular
92 ## clean when it's part of a dist tarball.
94 DISTCLEANFILES = common/version.i
97 # Convenience libraries
100 noinst_LTLIBRARIES = \
101 argpar/libargpar.la \
102 autodisc/libautodisc.la \
103 common/libcommon.la \
104 compat/libcompat.la \
105 cpp-common/vendor/fmt/libfmt.la \
106 ctfser/libctfser.la \
107 fd-cache/libfd-cache.la \
108 logging/liblogging.la \
109 param-parse/libparam-parse.la \
110 plugins/common/muxing/libmuxing.la \
111 plugins/common/param-validation/libparam-validation.la \
112 plugins/ctf/common/metadata/libctf-ast.la \
113 plugins/ctf/common/metadata/libctf-parser.la \
114 string-format/libstring-format.la
117 argpar_libargpar_la_SOURCES = \
121 autodisc_libautodisc_la_SOURCES = \
122 autodisc/autodisc.c \
125 common_libcommon_la_SOURCES = \
133 common/mmap-align.h \
140 common_libcommon_la_CPPFLAGS = \
142 -DBABELTRACE_PLUGINS_DIR=\"$(BABELTRACE_PLUGINS_DIR)\"
144 compat_libcompat_la_SOURCES = \
162 cpp_common_vendor_fmt_libfmt_la_SOURCES = \
163 cpp-common/vendor/fmt/args.h \
164 cpp-common/vendor/fmt/chrono.h \
165 cpp-common/vendor/fmt/color.h \
166 cpp-common/vendor/fmt/compile.h \
167 cpp-common/vendor/fmt/core.h \
168 cpp-common/vendor/fmt/format-inl.h \
169 cpp-common/vendor/fmt/format.cc \
170 cpp-common/vendor/fmt/format.h \
171 cpp-common/vendor/fmt/os.cc \
172 cpp-common/vendor/fmt/os.h \
173 cpp-common/vendor/fmt/ostream.h \
174 cpp-common/vendor/fmt/printf.h \
175 cpp-common/vendor/fmt/ranges.h \
176 cpp-common/vendor/fmt/std.h \
177 cpp-common/vendor/fmt/xchar.h
179 ctfser_libctfser_la_SOURCES = \
183 fd_cache_libfd_cache_la_SOURCES = \
184 fd-cache/fd-cache.c \
187 logging_liblogging_la_SOURCES = \
188 logging/comp-logging.h \
193 param_parse_libparam_parse_la_SOURCES = \
194 param-parse/param-parse.c \
195 param-parse/param-parse.h
197 string_format_libstring_format_la_SOURCES = \
198 string-format/format-plugin-comp-cls-name.c \
199 string-format/format-plugin-comp-cls-name.h \
200 string-format/format-error.c \
201 string-format/format-error.h
203 plugins_common_muxing_libmuxing_la_SOURCES = \
204 plugins/common/muxing/muxing.c \
205 plugins/common/muxing/muxing.h
207 plugins_common_param_validation_libparam_validation_la_SOURCES = \
208 plugins/common/param-validation/param-validation.c \
209 plugins/common/param-validation/param-validation.h
211 # Set flags for the Bison based metadata parser
212 # -t : instrument the parser
213 # -d : produce a header
215 # -Wno-yacc : disable POSIX Yacc incompatibilities warnings
219 plugins_ctf_common_metadata_libctf_parser_la_SOURCES = \
220 plugins/ctf/common/metadata/lexer.lpp \
221 plugins/ctf/common/metadata/parser.ypp \
222 plugins/ctf/common/metadata/objstack.cpp
224 # scanner-symbols.h is included to prefix generated yy_* symbols with bt_.
225 plugins_ctf_common_metadata_libctf_parser_la_CPPFLAGS = \
227 -include $(srcdir)/plugins/ctf/common/metadata/scanner-symbols.hpp
229 # This library contains (mostly) generated code, silence some warnings that it
231 plugins_ctf_common_metadata_libctf_parser_la_CXXFLAGS = \
233 -Wno-unused-function \
234 -Wno-null-dereference \
235 -Wno-missing-field-initializers \
236 -Wno-unused-parameter
238 plugins_ctf_common_metadata_libctf_ast_la_SOURCES = \
239 plugins/ctf/common/metadata/visitor-generate-ir.cpp \
240 plugins/ctf/common/metadata/visitor-semantic-validator.cpp \
241 plugins/ctf/common/metadata/visitor-parent-links.cpp \
242 plugins/ctf/common/metadata/ast.hpp \
243 plugins/ctf/common/metadata/objstack.hpp \
244 plugins/ctf/common/metadata/parser.hpp \
245 plugins/ctf/common/metadata/parser-wrap.hpp \
246 plugins/ctf/common/metadata/scanner.hpp \
247 plugins/ctf/common/metadata/scanner-symbols.hpp \
248 plugins/ctf/common/metadata/decoder.cpp \
249 plugins/ctf/common/metadata/decoder.hpp \
250 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.cpp \
251 plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.hpp \
252 plugins/ctf/common/metadata/logging.cpp \
253 plugins/ctf/common/metadata/logging.hpp \
254 plugins/ctf/common/metadata/ctf-meta.hpp \
255 plugins/ctf/common/metadata/ctf-meta-visitors.hpp \
256 plugins/ctf/common/metadata/ctf-meta-validate.cpp \
257 plugins/ctf/common/metadata/ctf-meta-update-meanings.cpp \
258 plugins/ctf/common/metadata/ctf-meta-update-in-ir.cpp \
259 plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.cpp \
260 plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.cpp \
261 plugins/ctf/common/metadata/ctf-meta-update-alignments.cpp \
262 plugins/ctf/common/metadata/ctf-meta-update-value-storing-indexes.cpp \
263 plugins/ctf/common/metadata/ctf-meta-update-stream-class-config.cpp \
264 plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp \
265 plugins/ctf/common/metadata/ctf-meta-translate.cpp \
266 plugins/ctf/common/metadata/ctf-meta-resolve.cpp \
267 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.cpp \
268 plugins/ctf/common/metadata/ctf-meta-configure-ir-trace.hpp
270 if BABELTRACE_BUILD_WITH_MINGW
271 plugins_ctf_common_metadata_libctf_ast_la_LIBADD = -lintl -liconv -lole32
275 plugins/ctf/common/metadata/parser.hpp
280 # We have bison: we can clean the generated parser files
282 plugins/ctf/common/metadata/parser.cpp \
283 plugins/ctf/common/metadata/parser.hpp \
284 plugins/ctf/common/metadata/parser.output
286 # Create target used to stop the build if we want to build the parser,
287 # but we don't have the necessary tool to do so
288 plugins/ctf/common/metadata/parser.cpp plugins/ctf/common/metadata/parser.hpp: plugins/ctf/common/metadata/parser.ypp
289 @echo "Error: Cannot build target because bison is missing."
290 @echo "Make sure bison is installed and run the configure script again."
294 plugins/ctf/common/metadata/parser.cpp \
295 plugins/ctf/common/metadata/parser.hpp
299 # We have flex: we can clean the generated lexer files
300 CLEANFILES += plugins/ctf/common/metadata/lexer.cpp
302 # Create target used to stop the build if we want to build the lexer,
303 # but we don't have the necessary tool to do so
304 plugins/ctf/common/metadata/lexer.cpp: plugins/ctf/common/metadata/lexer.lpp
305 @echo "Error: Cannot build target because flex is missing."
306 @echo "Make sure flex is installed and run the configure script again."
309 ALL_LOCAL += plugins/ctf/common/metadata/lexer.cpp
312 all-local: $(ALL_LOCAL)
314 if ENABLE_PYTHON_COMMON_DEPS
315 noinst_LTLIBRARIES += py-common/libpy-common.la
317 py_common_libpy_common_la_SOURCES = \
318 py-common/py-common.c \
319 py-common/py-common.h
321 py_common_libpy_common_la_CPPFLAGS = \
325 endif # ENABLE_PYTHON_COMMON_DEPS
328 noinst_LTLIBRARIES += plugins/lttng-utils/debug-info/libdebug-info.la
330 plugins_lttng_utils_debug_info_libdebug_info_la_SOURCES = \
331 plugins/lttng-utils/debug-info/bin-info.c \
332 plugins/lttng-utils/debug-info/bin-info.h \
333 plugins/lttng-utils/debug-info/crc32.c \
334 plugins/lttng-utils/debug-info/crc32.h \
335 plugins/lttng-utils/debug-info/debug-info.c \
336 plugins/lttng-utils/debug-info/debug-info.h \
337 plugins/lttng-utils/debug-info/dwarf.c \
338 plugins/lttng-utils/debug-info/dwarf.h \
339 plugins/lttng-utils/debug-info/trace-ir-data-copy.c \
340 plugins/lttng-utils/debug-info/trace-ir-data-copy.h \
341 plugins/lttng-utils/debug-info/trace-ir-mapping.c \
342 plugins/lttng-utils/debug-info/trace-ir-mapping.h \
343 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c \
344 plugins/lttng-utils/debug-info/trace-ir-metadata-copy.h \
345 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c \
346 plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.h \
347 plugins/lttng-utils/debug-info/utils.c \
348 plugins/lttng-utils/debug-info/utils.h
350 plugins_lttng_utils_debug_info_libdebug_info_la_LIBADD = \
351 fd-cache/libfd-cache.la
353 endif # ENABLE_DEBUG_INFO
361 ctf-writer/libbabeltrace2-ctf-writer.la \
362 lib/libbabeltrace2.la
364 lib_libbabeltrace2_la_SOURCES = \
365 lib/graph/message/discarded-items.c \
366 lib/graph/message/discarded-items.h \
367 lib/graph/message/event.c \
368 lib/graph/message/event.h \
369 lib/graph/message-iterator-class.c \
370 lib/graph/message-iterator-class.h \
371 lib/graph/message/iterator.h \
372 lib/graph/message/message.c \
373 lib/graph/message/message.h \
374 lib/graph/message/message-iterator-inactivity.c \
375 lib/graph/message/message-iterator-inactivity.h \
376 lib/graph/message/packet.c \
377 lib/graph/message/packet.h \
378 lib/graph/message/stream.c \
379 lib/graph/message/stream.h \
380 lib/graph/component.c \
381 lib/graph/component-class.c \
382 lib/graph/component-class.h \
383 lib/graph/component-class-sink-simple.c \
384 lib/graph/component-class-sink-simple.h \
385 lib/graph/component-descriptor-set.c \
386 lib/graph/component-descriptor-set.h \
387 lib/graph/component-filter.c \
388 lib/graph/component-filter.h \
389 lib/graph/component.h \
390 lib/graph/component-sink.c \
391 lib/graph/component-sink.h \
392 lib/graph/component-source.c \
393 lib/graph/component-source.h \
394 lib/graph/connection.c \
395 lib/graph/connection.h \
398 lib/graph/interrupter.c \
399 lib/graph/interrupter.h \
400 lib/graph/iterator.c \
404 lib/graph/query-executor.c \
405 lib/graph/query-executor.h \
406 lib/plugin/plugin.c \
407 lib/plugin/plugin.h \
408 lib/plugin/plugin-so.c \
409 lib/plugin/plugin-so.h \
410 lib/prio-heap/prio-heap.c \
411 lib/prio-heap/prio-heap.h \
412 lib/trace-ir/attributes.c \
413 lib/trace-ir/attributes.h \
414 lib/trace-ir/clock-class.c \
415 lib/trace-ir/clock-class.h \
416 lib/trace-ir/clock-snapshot.c \
417 lib/trace-ir/clock-snapshot.h \
418 lib/trace-ir/event.c \
419 lib/trace-ir/event-class.c \
420 lib/trace-ir/event-class.h \
421 lib/trace-ir/event.h \
422 lib/trace-ir/field.c \
423 lib/trace-ir/field-class.c \
424 lib/trace-ir/field-class.h \
425 lib/trace-ir/field.h \
426 lib/trace-ir/field-path.c \
427 lib/trace-ir/field-path.h \
428 lib/trace-ir/field-wrapper.c \
429 lib/trace-ir/field-wrapper.h \
430 lib/trace-ir/packet.c \
431 lib/trace-ir/packet.h \
432 lib/trace-ir/resolve-field-path.c \
433 lib/trace-ir/resolve-field-path.h \
434 lib/trace-ir/stream.c \
435 lib/trace-ir/stream-class.c \
436 lib/trace-ir/stream-class.h \
437 lib/trace-ir/stream.h \
438 lib/trace-ir/trace.c \
439 lib/trace-ir/trace-class.c \
440 lib/trace-ir/trace-class.h \
441 lib/trace-ir/trace.h \
442 lib/trace-ir/utils.c \
443 lib/trace-ir/utils.h \
444 lib/assert-cond-base.h \
448 lib/current-thread.c \
452 lib/integer-range-set.c \
453 lib/integer-range-set.h \
465 lib_libbabeltrace2_la_LDFLAGS = \
468 -version-info $(BABELTRACE_LIBRARY_VERSION)
470 lib_libbabeltrace2_la_CPPFLAGS = \
472 '-DBABELTRACE_PLUGIN_PROVIDERS_DIR="$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"'
474 lib_libbabeltrace2_la_LIBADD = \
475 logging/liblogging.la \
476 common/libcommon.la \
479 ctf_writer_libbabeltrace2_ctf_writer_la_SOURCES = \
480 ctf-writer/assert-pre.h \
481 ctf-writer/attributes.c \
482 ctf-writer/attributes.h \
484 ctf-writer/clock-class.c \
485 ctf-writer/clock-class.h \
488 ctf-writer/event-class.c \
489 ctf-writer/event-class.h \
491 ctf-writer/field-path.c \
492 ctf-writer/field-path.h \
493 ctf-writer/fields.c \
494 ctf-writer/fields.h \
495 ctf-writer/field-types.c \
496 ctf-writer/field-types.h \
497 ctf-writer/field-wrapper.c \
498 ctf-writer/field-wrapper.h \
499 ctf-writer/functor.c \
500 ctf-writer/functor.h \
501 ctf-writer/logging.c \
502 ctf-writer/logging.h \
503 ctf-writer/object.c \
504 ctf-writer/object.h \
505 ctf-writer/object-pool.c \
506 ctf-writer/object-pool.h \
507 ctf-writer/resolve.c \
508 ctf-writer/resolve.h \
509 ctf-writer/stream.c \
510 ctf-writer/stream-class.c \
511 ctf-writer/stream-class.h \
512 ctf-writer/stream.h \
517 ctf-writer/validation.c \
518 ctf-writer/validation.h \
519 ctf-writer/values.c \
520 ctf-writer/values.h \
521 ctf-writer/visitor.c \
522 ctf-writer/visitor.h \
523 ctf-writer/writer.c \
526 ctf_writer_libbabeltrace2_ctf_writer_la_LDFLAGS = \
529 -version-info $(BABELTRACE_LIBRARY_VERSION)
531 ctf_writer_libbabeltrace2_ctf_writer_la_LIBADD = \
532 logging/liblogging.la \
533 common/libcommon.la \
534 ctfser/libctfser.la \
537 pkgconfigdir = $(libdir)/pkgconfig
539 babeltrace2-ctf-writer.pc \
543 # Python plugin provider
546 if ENABLE_PYTHON_PLUGINS
547 pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"
548 pluginprovider_LTLIBRARIES = python-plugin-provider/babeltrace2-python-plugin-provider.la
550 python_plugin_provider_babeltrace2_python_plugin_provider_la_SOURCES = \
551 python-plugin-provider/python-plugin-provider.c \
552 python-plugin-provider/python-plugin-provider.h
554 python_plugin_provider_babeltrace2_python_plugin_provider_la_LDFLAGS = \
557 -avoid-version -module \
560 python_plugin_provider_babeltrace2_python_plugin_provider_la_CPPFLAGS = \
564 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD =
566 # Link the Python plugin provider library with libbabeltrace2
567 # when it's not built-in the babeltrace2 executable.
568 if !ENABLE_BUILT_IN_PLUGINS
569 python_plugin_provider_babeltrace2_python_plugin_provider_la_LIBADD += \
570 logging/liblogging.la \
571 common/libcommon.la \
572 py-common/libpy-common.la \
573 lib/libbabeltrace2.la
575 endif # ENABLE_PYTHON_PLUGINS
581 plugindir = "$(BABELTRACE_PLUGINS_DIR)"
582 plugin_LTLIBRARIES = \
583 plugins/ctf/babeltrace-plugin-ctf.la \
584 plugins/text/babeltrace-plugin-text.la \
585 plugins/utils/babeltrace-plugin-utils.la
589 plugins_utils_babeltrace_plugin_utils_la_SOURCES = \
590 plugins/utils/counter/counter.c \
591 plugins/utils/counter/counter.h \
592 plugins/utils/dummy/dummy.c \
593 plugins/utils/dummy/dummy.h \
594 plugins/utils/muxer/muxer.c \
595 plugins/utils/muxer/muxer.h \
596 plugins/utils/trimmer/trimmer.c \
597 plugins/utils/trimmer/trimmer.h \
598 plugins/utils/plugin.c
600 plugins_utils_babeltrace_plugin_utils_la_LDFLAGS = \
603 -avoid-version -module $(LD_NOTEXT)
605 plugins_utils_babeltrace_plugin_utils_la_LIBADD = \
606 plugins/common/muxing/libmuxing.la
608 if !ENABLE_BUILT_IN_PLUGINS
609 plugins_utils_babeltrace_plugin_utils_la_LIBADD += \
610 lib/libbabeltrace2.la \
611 common/libcommon.la \
612 logging/liblogging.la \
613 plugins/common/param-validation/libparam-validation.la
617 plugins_ctf_babeltrace_plugin_ctf_la_SOURCES = \
618 plugins/ctf/common/bfcr/bfcr.cpp \
619 plugins/ctf/common/bfcr/bfcr.hpp \
620 plugins/ctf/common/msg-iter/msg-iter.cpp \
621 plugins/ctf/common/msg-iter/msg-iter.hpp \
622 plugins/ctf/common/print.hpp \
623 plugins/ctf/fs-sink/fs-sink.cpp \
624 plugins/ctf/fs-sink/fs-sink-ctf-meta.hpp \
625 plugins/ctf/fs-sink/fs-sink.hpp \
626 plugins/ctf/fs-sink/fs-sink-stream.cpp \
627 plugins/ctf/fs-sink/fs-sink-stream.hpp \
628 plugins/ctf/fs-sink/fs-sink-trace.cpp \
629 plugins/ctf/fs-sink/fs-sink-trace.hpp \
630 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.cpp \
631 plugins/ctf/fs-sink/translate-ctf-ir-to-tsdl.hpp \
632 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.cpp \
633 plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.hpp \
634 plugins/ctf/fs-src/data-stream-file.cpp \
635 plugins/ctf/fs-src/data-stream-file.hpp \
636 plugins/ctf/fs-src/file.cpp \
637 plugins/ctf/fs-src/file.hpp \
638 plugins/ctf/fs-src/fs.cpp \
639 plugins/ctf/fs-src/fs.hpp \
640 plugins/ctf/fs-src/lttng-index.hpp \
641 plugins/ctf/fs-src/metadata.cpp \
642 plugins/ctf/fs-src/metadata.hpp \
643 plugins/ctf/fs-src/query.cpp \
644 plugins/ctf/fs-src/query.hpp \
645 plugins/ctf/lttng-live/data-stream.cpp \
646 plugins/ctf/lttng-live/data-stream.hpp \
647 plugins/ctf/lttng-live/lttng-live.cpp \
648 plugins/ctf/lttng-live/lttng-live.hpp \
649 plugins/ctf/lttng-live/lttng-viewer-abi.hpp \
650 plugins/ctf/lttng-live/metadata.cpp \
651 plugins/ctf/lttng-live/metadata.hpp \
652 plugins/ctf/lttng-live/viewer-connection.cpp \
653 plugins/ctf/lttng-live/viewer-connection.hpp \
654 plugins/ctf/plugin.cpp
656 plugins_ctf_babeltrace_plugin_ctf_la_LDFLAGS = \
659 -avoid-version -module $(LD_NOTEXT)
661 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD = \
662 plugins/ctf/common/metadata/libctf-parser.la \
663 plugins/ctf/common/metadata/libctf-ast.la \
664 plugins/common/param-validation/libparam-validation.la
666 if BABELTRACE_BUILD_WITH_MINGW
667 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += -lws2_32
670 if !ENABLE_BUILT_IN_PLUGINS
671 plugins_ctf_babeltrace_plugin_ctf_la_LIBADD += \
672 lib/libbabeltrace2.la \
673 logging/liblogging.la \
674 plugins/common/muxing/libmuxing.la \
675 common/libcommon.la \
680 plugins_text_babeltrace_plugin_text_la_SOURCES = \
681 plugins/text/details/colors.h \
682 plugins/text/details/details.c \
683 plugins/text/details/details.h \
684 plugins/text/details/obj-lifetime-mgmt.c \
685 plugins/text/details/obj-lifetime-mgmt.h \
686 plugins/text/details/write.c \
687 plugins/text/details/write.h \
688 plugins/text/dmesg/dmesg.c \
689 plugins/text/dmesg/dmesg.h \
690 plugins/text/pretty/pretty.c \
691 plugins/text/pretty/pretty.h \
692 plugins/text/pretty/print.c \
693 plugins/text/plugin.c
695 plugins_text_babeltrace_plugin_text_la_LDFLAGS = \
698 -avoid-version -module $(LD_NOTEXT)
700 plugins_text_babeltrace_plugin_text_la_LIBADD =
702 if !ENABLE_BUILT_IN_PLUGINS
703 plugins_text_babeltrace_plugin_text_la_LIBADD += \
704 lib/libbabeltrace2.la \
705 common/libcommon.la \
706 logging/liblogging.la \
707 compat/libcompat.la \
708 plugins/common/param-validation/libparam-validation.la
713 plugin_LTLIBRARIES += \
714 plugins/lttng-utils/babeltrace-plugin-lttng-utils.la
716 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_SOURCES = \
717 plugins/lttng-utils/plugin.c
719 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LDFLAGS = \
722 -avoid-version -module $(LD_NOTEXT) \
725 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD = \
726 plugins/lttng-utils/debug-info/libdebug-info.la
728 if !ENABLE_BUILT_IN_PLUGINS
729 plugins_lttng_utils_babeltrace_plugin_lttng_utils_la_LIBADD += \
730 lib/libbabeltrace2.la \
731 common/libcommon.la \
732 logging/liblogging.la \
733 plugins/common/param-validation/libparam-validation.la
734 endif # !ENABLE_BUILT_IN_PLUGINS
735 endif # ENABLE_DEBUG_INFO
737 EXTRA_DIST = cpp-common/optional.hpp.license