3 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils
6 $(top_builddir)/tests/utils/tap/libtap.la \
7 $(top_builddir)/tests/utils/libtestcommon.la
9 test_bitfield_LDADD = $(COMMON_TEST_LDADD)
11 test_ctf_writer_LDADD = \
12 $(COMMON_TEST_LDADD) \
13 $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
15 test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
16 $(top_builddir)/src/lib/libbabeltrace2.la
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
22 test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
23 $(top_builddir)/src/lib/libbabeltrace2.la
25 noinst_PROGRAMS = test_bitfield test_ctf_writer test_bt_values \
26 test_trace_ir_ref test_graph_topo
28 test_bitfield_SOURCES = test_bitfield.c
29 test_ctf_writer_SOURCES = test_ctf_writer.c
30 test_bt_values_SOURCES = test_bt_values.c
31 test_trace_ir_ref_SOURCES = test_trace_ir_ref.c
32 test_graph_topo_SOURCES = test_graph_topo.c
34 if !ENABLE_BUILT_IN_PLUGINS
35 noinst_PROGRAMS += test_plugin
36 test_plugin_LDADD = $(COMMON_TEST_LDADD) \
37 $(top_builddir)/src/lib/libbabeltrace2.la
38 test_plugin_SOURCES = test_plugin.c
39 SUBDIRS += test-plugin-plugins