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 | |
550b7a4e | 9 | test_bitfield_LDADD = $(COMMON_TEST_LDADD) |
d6b40dbc | 10 | |
21d04293 PP |
11 | test_bt_values_LDADD = $(COMMON_TEST_LDADD) \ |
12 | $(top_builddir)/src/lib/libbabeltrace2.la | |
13 | ||
67d2ce02 | 14 | test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b MJ |
15 | $(top_builddir)/src/lib/libbabeltrace2.la \ |
16 | $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la | |
c9b3f44b | 17 | |
21d04293 PP |
18 | test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \ |
19 | $(top_builddir)/src/lib/libbabeltrace2.la | |
20 | ||
21 | noinst_PROGRAMS = test_bitfield test_bt_values \ | |
22 | test_trace_ir_ref test_graph_topo | |
aa968dde | 23 | |
6b31ae9c | 24 | test_bitfield_SOURCES = test_bitfield.c |
21d04293 | 25 | test_bt_values_SOURCES = test_bt_values.c |
56e18c4c | 26 | test_trace_ir_ref_SOURCES = test_trace_ir_ref.c |
21d04293 | 27 | test_graph_topo_SOURCES = test_graph_topo.c |
aa968dde | 28 | |
9ffc0257 | 29 | if !ENABLE_BUILT_IN_PLUGINS |
644e0364 MJ |
30 | noinst_PROGRAMS += plugin |
31 | plugin_LDADD = $(COMMON_TEST_LDADD) \ | |
578e048b | 32 | $(top_builddir)/src/lib/libbabeltrace2.la |
644e0364 | 33 | plugin_SOURCES = plugin.c |
1b83271b PP |
34 | SUBDIRS += test-plugin-plugins |
35 | endif | |
644e0364 MJ |
36 | |
37 | dist_check_SCRIPTS = test_plugin |