Move to kernel style SPDX license identifiers
[babeltrace.git] / tests / lib / Makefile.am
1 # SPDX-License-Identifier: MIT
2
3 SUBDIRS =
4
5 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils
6
7 COMMON_TEST_LDADD = \
8 $(top_builddir)/tests/utils/tap/libtap.la \
9 $(top_builddir)/tests/utils/libtestcommon.la \
10 $(top_builddir)/src/common/libbabeltrace2-common.la \
11 $(top_builddir)/src/logging/libbabeltrace2-logging.la
12
13 test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
14 $(top_builddir)/src/lib/libbabeltrace2.la
15
16 test_bt_uuid_LDADD = $(COMMON_TEST_LDADD)
17
18 test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \
19 $(top_builddir)/src/lib/libbabeltrace2.la \
20 $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
21
22 test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
23 $(top_builddir)/src/lib/libbabeltrace2.la
24
25 test_simple_sink_LDADD = $(COMMON_TEST_LDADD) \
26 $(top_builddir)/src/lib/libbabeltrace2.la
27
28 test_remove_destruction_listener_in_destruction_listener_LDADD = \
29 $(COMMON_TEST_LDADD) \
30 $(top_builddir)/src/lib/libbabeltrace2.la
31
32 noinst_PROGRAMS = \
33 test_bt_uuid \
34 test_bt_values \
35 test_graph_topo \
36 test_remove_destruction_listener_in_destruction_listener \
37 test_simple_sink \
38 test_trace_ir_ref
39
40 test_bt_values_SOURCES = test_bt_values.c
41 test_simple_sink_SOURCES = test_simple_sink.c
42 test_bt_uuid_SOURCES = test_bt_uuid.c
43 test_trace_ir_ref_SOURCES = test_trace_ir_ref.c
44 test_graph_topo_SOURCES = test_graph_topo.c
45 test_remove_destruction_listener_in_destruction_listener_SOURCES = \
46 test_remove_destruction_listener_in_destruction_listener.c
47
48 if !ENABLE_BUILT_IN_PLUGINS
49 noinst_PROGRAMS += plugin
50 plugin_LDADD = $(COMMON_TEST_LDADD) \
51 $(top_builddir)/src/lib/libbabeltrace2.la
52 plugin_SOURCES = plugin.c
53 SUBDIRS += test-plugin-plugins
54 endif
55
56 dist_check_SCRIPTS = test_plugin
This page took 0.038237 seconds and 4 git commands to generate.