Regroup _SOURCES variables with the corresponding _LDADD ones.
Change-Id: Ib90b09688b5275789aa03d6de0a6c1584535f173
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11754
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
$(top_builddir)/src/common/libcommon.la \
$(top_builddir)/src/logging/liblogging.la
$(top_builddir)/src/common/libcommon.la \
$(top_builddir)/src/logging/liblogging.la
+test_bt_values_SOURCES = test-bt-values.c
test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
+test_fields_bin_SOURCES = test-fields-bin.cpp
test_fields_bin_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
test_fields_bin_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
+test_bt_uuid_SOURCES = test-bt-uuid.c
test_bt_uuid_LDADD = $(COMMON_TEST_LDADD)
test_bt_uuid_LDADD = $(COMMON_TEST_LDADD)
+test_trace_ir_ref_SOURCES = test-trace-ir-ref.c
test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la \
$(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la \
$(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
+test_graph_topo_SOURCES = test-graph-topo.c
test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
+test_simple_sink_SOURCES = test-simple-sink.c
test_simple_sink_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
test_simple_sink_LDADD = $(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
+test_remove_destruction_listener_in_destruction_listener_SOURCES = \
+ test-remove-destruction-listener-in-destruction-listener.c
test_remove_destruction_listener_in_destruction_listener_LDADD = \
$(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
test_remove_destruction_listener_in_destruction_listener_LDADD = \
$(COMMON_TEST_LDADD) \
$(top_builddir)/src/lib/libbabeltrace2.la
test-simple-sink \
test-trace-ir-ref
test-simple-sink \
test-trace-ir-ref
-test_bt_values_SOURCES = test-bt-values.c
-test_fields_bin_SOURCES = test-fields-bin.cpp
-test_simple_sink_SOURCES = test-simple-sink.c
-test_bt_uuid_SOURCES = test-bt-uuid.c
-test_trace_ir_ref_SOURCES = test-trace-ir-ref.c
-test_graph_topo_SOURCES = test-graph-topo.c
-test_remove_destruction_listener_in_destruction_listener_SOURCES = \
- test-remove-destruction-listener-in-destruction-listener.c
-
if !ENABLE_BUILT_IN_PLUGINS
noinst_PROGRAMS += test-plugins test-plugin-init-fail
SUBDIRS += test-plugins-plugins test-plugin-init-fail-plugin
if !ENABLE_BUILT_IN_PLUGINS
noinst_PROGRAMS += test-plugins test-plugin-init-fail
SUBDIRS += test-plugins-plugins test-plugin-init-fail-plugin