Continue the effort started by Simon to reduce the overall number of
Makefiles to allow for faster parallel builds. Also reduce the number of
convenience libraries for faster linking.
Change-Id: I1e706eb0bb5d52d0172ab6d0773f861865562158
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11154
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/Makefile
src/plugins/lttng-utils/Makefile
src/plugins/Makefile
src/plugins/ctf/Makefile
src/plugins/lttng-utils/Makefile
src/plugins/Makefile
- src/plugins/text/dmesg/Makefile
src/plugins/text/Makefile
src/plugins/text/Makefile
- src/plugins/text/pretty/Makefile
- src/plugins/text/details/Makefile
src/plugins/utils/Makefile
src/py-common/Makefile
src/python-plugin-provider/Makefile
src/plugins/utils/Makefile
src/py-common/Makefile
src/python-plugin-provider/Makefile
# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: MIT
-SUBDIRS = pretty dmesg details
-
plugindir = "$(BABELTRACE_PLUGINS_DIR)"
plugin_LTLIBRARIES = babeltrace-plugin-text.la
plugindir = "$(BABELTRACE_PLUGINS_DIR)"
plugin_LTLIBRARIES = babeltrace-plugin-text.la
-babeltrace_plugin_text_la_SOURCES = plugin.c
+babeltrace_plugin_text_la_SOURCES = \
+ details/colors.h \
+ details/details.c \
+ details/details.h \
+ details/obj-lifetime-mgmt.c \
+ details/obj-lifetime-mgmt.h \
+ details/write.c \
+ details/write.h \
+ dmesg/dmesg.c \
+ dmesg/dmesg.h \
+ pretty/pretty.c \
+ pretty/pretty.h \
+ pretty/print.c \
+ plugin.c
+
babeltrace_plugin_text_la_LDFLAGS = \
$(AM_LDFLAGS) \
$(LT_NO_UNDEFINED) \
-avoid-version -module $(LD_NOTEXT)
babeltrace_plugin_text_la_LDFLAGS = \
$(AM_LDFLAGS) \
$(LT_NO_UNDEFINED) \
-avoid-version -module $(LD_NOTEXT)
-babeltrace_plugin_text_la_LIBADD = \
- pretty/libbabeltrace2-plugin-text-pretty-cc.la \
- dmesg/libbabeltrace2-plugin-text-dmesg-cc.la \
- details/libbabeltrace2-plugin-text-details-cc.la
+babeltrace_plugin_text_la_LIBADD =
if !ENABLE_BUILT_IN_PLUGINS
babeltrace_plugin_text_la_LIBADD += \
if !ENABLE_BUILT_IN_PLUGINS
babeltrace_plugin_text_la_LIBADD += \
+++ /dev/null
-# SPDX-License-Identifier: MIT
-
-noinst_LTLIBRARIES = libbabeltrace2-plugin-text-details-cc.la
-libbabeltrace2_plugin_text_details_cc_la_SOURCES = \
- details.c details.h \
- write.c write.h \
- obj-lifetime-mgmt.c obj-lifetime-mgmt.h \
- colors.h
+++ /dev/null
-# SPDX-License-Identifier: MIT
-
-noinst_LTLIBRARIES = libbabeltrace2-plugin-text-dmesg-cc.la
-
-# ctf-text plugin
-libbabeltrace2_plugin_text_dmesg_cc_la_SOURCES = \
- dmesg.c \
- dmesg.h
+++ /dev/null
-# SPDX-License-Identifier: MIT
-
-noinst_LTLIBRARIES = libbabeltrace2-plugin-text-pretty-cc.la
-
-# ctf-text plugin
-libbabeltrace2_plugin_text_pretty_cc_la_SOURCES = \
- pretty.c \
- pretty.h \
- print.c