cli: use argpar for top-level args
[babeltrace.git] / src / cli / Makefile.am
index 6466d39d6a38e4573f22fc225f242cd0cf92d93c..d8946e448245f61a0bb04c1c1272bcc5ce5445d9 100644 (file)
@@ -13,6 +13,10 @@ endif
 
 AM_CPPFLAGS += '-DCONFIG_IN_TREE_PLUGIN_PATH="$(IN_TREE_PLUGIN_PATH)"'
 
+if ENABLE_PYTHON_PLUGINS
+AM_CPPFLAGS += '-DCONFIG_IN_TREE_PROVIDER_DIR="$(abs_top_builddir)/src/python-plugin-provider/.libs"'
+endif
+
 bin_PROGRAMS = babeltrace2.bin babeltrace2-log.bin
 noinst_PROGRAMS = babeltrace2 babeltrace2-log
 
@@ -28,7 +32,14 @@ babeltrace2_bin_SOURCES = \
        babeltrace2-cfg-cli-args-default.c \
        babeltrace2-cfg-cli-params-arg.c \
        babeltrace2-cfg-cli-params-arg.h \
-       logging.c logging.h
+       babeltrace2-cfg-src-auto-disc.c \
+       babeltrace2-cfg-src-auto-disc.h \
+       babeltrace2-plugins.c \
+       babeltrace2-plugins.h \
+       babeltrace2-query.c \
+       babeltrace2-query.h \
+       logging.c \
+       logging.h
 
 # -Wl,--no-as-needed is needed for recent gold linker who seems to think
 # it knows better and considers libraries with constructors having
@@ -43,6 +54,7 @@ babeltrace2_bin_LDFLAGS = $(LD_NO_AS_NEEDED)
 # 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/lib/libbabeltrace2.la \
        $(top_builddir)/src/compat/libcompat.la \
        $(top_builddir)/src/common/libbabeltrace2-common.la \
This page took 0.039215 seconds and 4 git commands to generate.