Commit | Line | Data |
---|---|---|
172e6876 | 1 | if ENABLE_PYTHON_PLUGINS |
05c03100 | 2 | AM_CPPFLAGS += $(PYTHON_INCLUDE) |
6fbd4105 | 3 | |
a12f3d62 | 4 | lib_LTLIBRARIES = libbabeltrace2-python-plugin-provider.la |
6fbd4105 | 5 | |
a12f3d62 | 6 | libbabeltrace2_python_plugin_provider_la_SOURCES = \ |
88b3fc9c | 7 | python-plugin-provider.c |
a12f3d62 | 8 | libbabeltrace2_python_plugin_provider_la_LDFLAGS = \ |
c5410abe MJ |
9 | $(LT_NO_UNDEFINED) \ |
10 | -version-info $(BABELTRACE_LIBRARY_VERSION) \ | |
11 | $(PYTHON_LIBS) | |
3fe0bf43 | 12 | |
a12f3d62 | 13 | libbabeltrace2_python_plugin_provider_la_LIBADD = |
3fe0bf43 | 14 | |
172e6876 MJ |
15 | # Link the Python plugin provider library with libbabeltrace2 |
16 | # when it's not built-in the babeltrace2 executable. | |
9ffc0257 | 17 | if !ENABLE_BUILT_IN_PLUGINS |
a12f3d62 MJ |
18 | libbabeltrace2_python_plugin_provider_la_LIBADD += \ |
19 | $(top_builddir)/logging/libbabeltrace2-logging.la \ | |
20 | $(top_builddir)/common/libbabeltrace2-common.la \ | |
21 | $(top_builddir)/lib/libbabeltrace2.la | |
3fe0bf43 | 22 | endif |
172e6876 | 23 | endif # ENABLE_PYTHON_PLUGINS |