Reduce the number of Makefiles in 'src/plugins/text'
[babeltrace.git] / src / python-plugin-provider / Makefile.am
CommitLineData
0235b0db
MJ
1# SPDX-License-Identifier: MIT
2
172e6876 3if ENABLE_PYTHON_PLUGINS
05c03100 4AM_CPPFLAGS += $(PYTHON_INCLUDE)
6fbd4105 5
b14c7bf1
MJ
6pluginproviderdir = "$(BABELTRACE_PLUGIN_PROVIDERS_DIR)"
7pluginprovider_LTLIBRARIES = babeltrace2-python-plugin-provider.la
6fbd4105 8
b14c7bf1 9babeltrace2_python_plugin_provider_la_SOURCES = \
578e048b
MJ
10 python-plugin-provider.c \
11 python-plugin-provider.h
12
b14c7bf1 13babeltrace2_python_plugin_provider_la_LDFLAGS = \
0b0893d4 14 $(AM_LDFLAGS) \
c5410abe 15 $(LT_NO_UNDEFINED) \
b14c7bf1 16 -avoid-version -module \
0b9113bf 17 $(PYTHON_LDFLAGS)
3fe0bf43 18
b14c7bf1 19babeltrace2_python_plugin_provider_la_LIBADD =
3fe0bf43 20
172e6876
MJ
21# Link the Python plugin provider library with libbabeltrace2
22# when it's not built-in the babeltrace2 executable.
9ffc0257 23if !ENABLE_BUILT_IN_PLUGINS
b14c7bf1 24babeltrace2_python_plugin_provider_la_LIBADD += \
578e048b
MJ
25 $(top_builddir)/src/logging/libbabeltrace2-logging.la \
26 $(top_builddir)/src/common/libbabeltrace2-common.la \
870631a2 27 $(top_builddir)/src/py-common/libbabeltrace2-py-common.la \
578e048b 28 $(top_builddir)/src/lib/libbabeltrace2.la
3fe0bf43 29endif
172e6876 30endif # ENABLE_PYTHON_PLUGINS
This page took 0.077813 seconds and 4 git commands to generate.