| 1 | # SPDX-License-Identifier: MIT |
| 2 | |
| 3 | SUBDIRS = common/metadata |
| 4 | |
| 5 | plugindir = "$(BABELTRACE_PLUGINS_DIR)" |
| 6 | plugin_LTLIBRARIES = babeltrace-plugin-ctf.la |
| 7 | |
| 8 | # ctf plugin |
| 9 | babeltrace_plugin_ctf_la_SOURCES = \ |
| 10 | plugin.cpp \ |
| 11 | common/bfcr/bfcr.cpp \ |
| 12 | common/bfcr/bfcr.hpp \ |
| 13 | common/msg-iter/msg-iter.cpp \ |
| 14 | common/msg-iter/msg-iter.hpp \ |
| 15 | common/print.hpp \ |
| 16 | fs-sink/fs-sink.cpp \ |
| 17 | fs-sink/fs-sink.hpp \ |
| 18 | fs-sink/fs-sink-ctf-meta.hpp \ |
| 19 | fs-sink/fs-sink-stream.cpp \ |
| 20 | fs-sink/fs-sink-stream.hpp \ |
| 21 | fs-sink/fs-sink-trace.cpp \ |
| 22 | fs-sink/fs-sink-trace.hpp \ |
| 23 | fs-sink/translate-ctf-ir-to-tsdl.cpp \ |
| 24 | fs-sink/translate-ctf-ir-to-tsdl.hpp \ |
| 25 | fs-sink/translate-trace-ir-to-ctf-ir.cpp \ |
| 26 | fs-sink/translate-trace-ir-to-ctf-ir.hpp \ |
| 27 | fs-src/data-stream-file.cpp \ |
| 28 | fs-src/data-stream-file.hpp \ |
| 29 | fs-src/file.cpp \ |
| 30 | fs-src/file.hpp \ |
| 31 | fs-src/fs.cpp \ |
| 32 | fs-src/fs.hpp \ |
| 33 | fs-src/lttng-index.hpp \ |
| 34 | fs-src/metadata.cpp \ |
| 35 | fs-src/metadata.hpp \ |
| 36 | fs-src/query.hpp \ |
| 37 | fs-src/query.cpp \ |
| 38 | lttng-live/data-stream.cpp \ |
| 39 | lttng-live/data-stream.hpp \ |
| 40 | lttng-live/lttng-live.cpp \ |
| 41 | lttng-live/lttng-live.hpp \ |
| 42 | lttng-live/metadata.cpp \ |
| 43 | lttng-live/metadata.hpp \ |
| 44 | lttng-live/viewer-connection.cpp \ |
| 45 | lttng-live/viewer-connection.hpp \ |
| 46 | lttng-live/lttng-viewer-abi.hpp |
| 47 | |
| 48 | babeltrace_plugin_ctf_la_LDFLAGS = \ |
| 49 | $(AM_LDFLAGS) \ |
| 50 | $(LT_NO_UNDEFINED) \ |
| 51 | -avoid-version -module $(LD_NOTEXT) |
| 52 | |
| 53 | babeltrace_plugin_ctf_la_LIBADD = \ |
| 54 | common/metadata/libctf-parser.la \ |
| 55 | common/metadata/libctf-ast.la \ |
| 56 | $(top_builddir)/src/plugins/common/param-validation/libbabeltrace2-param-validation.la |
| 57 | |
| 58 | if BABELTRACE_BUILD_WITH_MINGW |
| 59 | babeltrace_plugin_ctf_la_LIBADD += -lws2_32 |
| 60 | endif |
| 61 | |
| 62 | if !ENABLE_BUILT_IN_PLUGINS |
| 63 | babeltrace_plugin_ctf_la_LIBADD += \ |
| 64 | $(top_builddir)/src/lib/libbabeltrace2.la \ |
| 65 | $(top_builddir)/src/logging/libbabeltrace2-logging.la \ |
| 66 | $(top_builddir)/src/plugins/common/muxing/libbabeltrace2-plugins-common-muxing.la \ |
| 67 | $(top_builddir)/src/common/libbabeltrace2-common.la \ |
| 68 | $(top_builddir)/src/ctfser/libbabeltrace2-ctfser.la |
| 69 | endif |