Commit | Line | Data |
---|---|---|
7bb90dd0 | 1 | SUBDIRS = |
4c3453a1 | 2 | |
05c03100 | 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils |
aa968dde | 4 | |
550b7a4e MJ |
5 | COMMON_TEST_LDADD = \ |
6 | $(top_builddir)/tests/utils/tap/libtap.la \ | |
7 | $(top_builddir)/tests/utils/libtestcommon.la | |
aa968dde | 8 | |
21d04293 PP |
9 | test_bt_values_LDADD = $(COMMON_TEST_LDADD) \ |
10 | $(top_builddir)/src/lib/libbabeltrace2.la | |
11 | ||
6162e6b7 MJ |
12 | test_bt_uuid_LDADD = $(COMMON_TEST_LDADD) \ |
13 | $(top_builddir)/src/common/libbabeltrace2-common.la \ | |
14 | $(top_builddir)/src/logging/libbabeltrace2-logging.la | |
15 | ||
67d2ce02 | 16 | test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b MJ |
17 | $(top_builddir)/src/lib/libbabeltrace2.la \ |
18 | $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la | |
c9b3f44b | 19 | |
21d04293 PP |
20 | test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \ |
21 | $(top_builddir)/src/lib/libbabeltrace2.la | |
22 | ||
906ac65f | 23 | noinst_PROGRAMS = test_bt_values test_bt_uuid test_trace_ir_ref test_graph_topo |
aa968dde | 24 | |
21d04293 | 25 | test_bt_values_SOURCES = test_bt_values.c |
6162e6b7 | 26 | test_bt_uuid_SOURCES = test_bt_uuid.c |
56e18c4c | 27 | test_trace_ir_ref_SOURCES = test_trace_ir_ref.c |
21d04293 | 28 | test_graph_topo_SOURCES = test_graph_topo.c |
aa968dde | 29 | |
9ffc0257 | 30 | if !ENABLE_BUILT_IN_PLUGINS |
644e0364 MJ |
31 | noinst_PROGRAMS += plugin |
32 | plugin_LDADD = $(COMMON_TEST_LDADD) \ | |
578e048b | 33 | $(top_builddir)/src/lib/libbabeltrace2.la |
644e0364 | 34 | plugin_SOURCES = plugin.c |
1b83271b PP |
35 | SUBDIRS += test-plugin-plugins |
36 | endif | |
644e0364 MJ |
37 | |
38 | dist_check_SCRIPTS = test_plugin |