Commit | Line | Data |
---|---|---|
8a773708 | 1 | SUBDIRS = |
4c3453a1 | 2 | |
989e97b6 | 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils |
aa968dde | 4 | |
1833a3d1 | 5 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la |
aa968dde | 6 | |
d4ae42f7 JG |
7 | libtestcommon_la_SOURCES = common.c common.h |
8 | noinst_LTLIBRARIES = libtestcommon.la | |
1833a3d1 | 9 | |
bf436657 | 10 | COMMON_TEST_LDADD = $(LIBTAP) $(builddir)/libtestcommon.la |
9e8e57d0 | 11 | |
11756dd1 | 12 | test_bitfield_LDADD = $(LIBTAP) $(builddir)/libtestcommon.la |
d6b40dbc | 13 | |
bf436657 MJ |
14 | test_ctf_writer_LDADD = \ |
15 | $(COMMON_TEST_LDADD) \ | |
16 | $(top_builddir)/ctf-writer/libbabeltrace2-ctf-writer.la | |
39d74371 | 17 | |
bf436657 MJ |
18 | test_bt_values_LDADD = $(COMMON_TEST_LDADD) \ |
19 | $(top_builddir)/lib/libbabeltrace2.la | |
4f29b187 | 20 | |
bf436657 MJ |
21 | test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \ |
22 | $(top_builddir)/lib/libbabeltrace2.la \ | |
23 | $(top_builddir)/ctf-writer/libbabeltrace2-ctf-writer.la | |
c9b3f44b | 24 | |
bf436657 MJ |
25 | test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \ |
26 | $(top_builddir)/lib/libbabeltrace2.la | |
fb9935cc | 27 | |
06534d45 | 28 | noinst_PROGRAMS = test_bitfield test_ctf_writer test_bt_values \ |
47b0a49a | 29 | test_trace_ir_ref test_graph_topo |
aa968dde | 30 | |
6b31ae9c | 31 | test_bitfield_SOURCES = test_bitfield.c |
39d74371 | 32 | test_ctf_writer_SOURCES = test_ctf_writer.c |
dac5c838 | 33 | test_bt_values_SOURCES = test_bt_values.c |
108b91d0 | 34 | test_trace_ir_ref_SOURCES = test_trace_ir_ref.c |
fb9935cc | 35 | test_graph_topo_SOURCES = test_graph_topo.c |
aa968dde | 36 | |
de8bce8a | 37 | if !ENABLE_BUILT_IN_PLUGINS |
1b83271b | 38 | noinst_PROGRAMS += test_plugin |
bf436657 MJ |
39 | test_plugin_LDADD = $(COMMON_TEST_LDADD) \ |
40 | $(top_builddir)/lib/libbabeltrace2.la | |
1b83271b | 41 | test_plugin_SOURCES = test_plugin.c |
1b83271b PP |
42 | SUBDIRS += test-plugin-plugins |
43 | endif |