Commit | Line | Data |
---|---|---|
172e6876 | 1 | if ENABLE_PYTHON_PLUGINS |
05c03100 | 2 | AM_CPPFLAGS += $(PYTHON_INCLUDE) |
6fbd4105 | 3 | |
b14c7bf1 MJ |
4 | pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)" |
5 | pluginprovider_LTLIBRARIES = babeltrace2-python-plugin-provider.la | |
6fbd4105 | 6 | |
b14c7bf1 | 7 | babeltrace2_python_plugin_provider_la_SOURCES = \ |
578e048b MJ |
8 | python-plugin-provider.c \ |
9 | python-plugin-provider.h | |
10 | ||
b14c7bf1 | 11 | babeltrace2_python_plugin_provider_la_LDFLAGS = \ |
c5410abe | 12 | $(LT_NO_UNDEFINED) \ |
b14c7bf1 | 13 | -avoid-version -module \ |
0b9113bf | 14 | $(PYTHON_LDFLAGS) |
3fe0bf43 | 15 | |
b14c7bf1 | 16 | babeltrace2_python_plugin_provider_la_LIBADD = |
3fe0bf43 | 17 | |
172e6876 MJ |
18 | # Link the Python plugin provider library with libbabeltrace2 |
19 | # when it's not built-in the babeltrace2 executable. | |
9ffc0257 | 20 | if !ENABLE_BUILT_IN_PLUGINS |
b14c7bf1 | 21 | babeltrace2_python_plugin_provider_la_LIBADD += \ |
578e048b MJ |
22 | $(top_builddir)/src/logging/libbabeltrace2-logging.la \ |
23 | $(top_builddir)/src/common/libbabeltrace2-common.la \ | |
870631a2 | 24 | $(top_builddir)/src/py-common/libbabeltrace2-py-common.la \ |
578e048b | 25 | $(top_builddir)/src/lib/libbabeltrace2.la |
3fe0bf43 | 26 | endif |
172e6876 | 27 | endif # ENABLE_PYTHON_PLUGINS |