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
babeltrace2-cfg-cli-args-default.c \
babeltrace2-cfg-cli-params-arg.c \
babeltrace2-cfg-cli-params-arg.h \
- logging.c logging.h
+ babeltrace2-plugins.c \
+ babeltrace2-plugins.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