tests: Move libtestcommon to utils
[babeltrace.git] / tests / lib / Makefile.am
1 SUBDIRS =
2
3 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils
4
5 COMMON_TEST_LDADD = \
6 $(top_builddir)/tests/utils/tap/libtap.la \
7 $(top_builddir)/tests/utils/libtestcommon.la
8
9 test_bitfield_LDADD = $(COMMON_TEST_LDADD)
10
11 test_ctf_writer_LDADD = \
12 $(COMMON_TEST_LDADD) \
13 $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
14
15 test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
16 $(top_builddir)/src/lib/libbabeltrace2.la
17
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
21
22 test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
23 $(top_builddir)/src/lib/libbabeltrace2.la
24
25 noinst_PROGRAMS = test_bitfield test_ctf_writer test_bt_values \
26 test_trace_ir_ref test_graph_topo
27
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
33
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
40 endif
This page took 0.043104 seconds and 4 git commands to generate.