Commit | Line | Data |
---|---|---|
7bb90dd0 | 1 | SUBDIRS = |
4c3453a1 | 2 | |
05c03100 | 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 | |
67d2ce02 | 10 | COMMON_TEST_LDADD = $(LIBTAP) $(builddir)/libtestcommon.la |
9e8e57d0 | 11 | |
11756dd1 | 12 | test_bitfield_LDADD = $(LIBTAP) $(builddir)/libtestcommon.la |
d6b40dbc | 13 | |
67d2ce02 MJ |
14 | test_ctf_writer_LDADD = \ |
15 | $(COMMON_TEST_LDADD) \ | |
578e048b | 16 | $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la |
39d74371 | 17 | |
67d2ce02 | 18 | test_bt_values_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b | 19 | $(top_builddir)/src/lib/libbabeltrace2.la |
4f29b187 | 20 | |
67d2ce02 | 21 | test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b MJ |
22 | $(top_builddir)/src/lib/libbabeltrace2.la \ |
23 | $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la | |
c9b3f44b | 24 | |
67d2ce02 | 25 | test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b | 26 | $(top_builddir)/src/lib/libbabeltrace2.la |
fb9935cc | 27 | |
06534d45 | 28 | noinst_PROGRAMS = test_bitfield test_ctf_writer test_bt_values \ |
a4deb81d | 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 |
56e18c4c | 34 | test_trace_ir_ref_SOURCES = test_trace_ir_ref.c |
fb9935cc | 35 | test_graph_topo_SOURCES = test_graph_topo.c |
aa968dde | 36 | |
9ffc0257 | 37 | if !ENABLE_BUILT_IN_PLUGINS |
1b83271b | 38 | noinst_PROGRAMS += test_plugin |
67d2ce02 | 39 | test_plugin_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b | 40 | $(top_builddir)/src/lib/libbabeltrace2.la |
1b83271b | 41 | test_plugin_SOURCES = test_plugin.c |
1b83271b PP |
42 | SUBDIRS += test-plugin-plugins |
43 | endif |