+# SPDX-License-Identifier: MIT
+
PLUGINS_PATH = $(abs_top_builddir)/src/plugins
LTTNG_UTILS_PLUGIN_PATH =
babeltrace2-cfg-cli-args-connect.h \
babeltrace2-cfg-cli-args-default.h \
babeltrace2-cfg-cli-args-default.c \
- babeltrace2-cfg-cli-params-arg.c \
- babeltrace2-cfg-cli-params-arg.h \
+ babeltrace2-log-level.c \
+ babeltrace2-log-level.h \
babeltrace2-plugins.c \
babeltrace2-plugins.h \
babeltrace2-query.c \
# -Wl,--no-as-needed is needed for recent gold linker who seems to think
# it knows better and considers libraries with constructors having
# side-effects as dead code.
-babeltrace2_bin_LDFLAGS = $(LD_NO_AS_NEEDED)
+babeltrace2_bin_LDFLAGS = $(AM_LDFLAGS) $(LD_NO_AS_NEEDED)
# Add all the convenience libraries used by Babeltrace plugins and the
# library. They will be used when embedding plugins (--enable-built-in-plugins),
# not discard the plugins since the CLI does not use their symbols
# directly).
babeltrace2_bin_LDADD = \
- $(top_builddir)/src/argpar/libbabeltrace2-argpar.la \
+ $(top_builddir)/src/argpar/libargpar.la \
$(top_builddir)/src/autodisc/libbabeltrace2-autodisc.la \
+ $(top_builddir)/src/param-parse/libbabeltrace2-param-parse.la \
+ $(top_builddir)/src/string-format/libbabeltrace2-string-format.la \
$(top_builddir)/src/lib/libbabeltrace2.la \
$(top_builddir)/src/compat/libcompat.la \
$(top_builddir)/src/common/libbabeltrace2-common.la \