Clean-up: change space indentation to tabs
[babeltrace.git] / tests / lib / Makefile.am
... / ...
CommitLineData
1AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils
2
3noinst_LIBRARIES = libtestcommon.a
4
5LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
6
7libtestcommon_a_SOURCES = common.c common.h
8
9# -Wl,--no-as-needed is needed for recent gold linker who seems to think
10# it knows better and considers libraries with constructors having
11# side-effects as dead code.
12test_seek_LDFLAGS = $(LD_NO_AS_NEEDED)
13test_seek_LDADD = $(LIBTAP) libtestcommon.a \
14 $(top_builddir)/lib/libbabeltrace.la \
15 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
16
17test_bitfield_LDADD = $(LIBTAP) libtestcommon.a
18
19test_ctf_writer_LDADD = $(LIBTAP) \
20 $(top_builddir)/lib/libbabeltrace.la \
21 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
22 libtestcommon.a
23
24test_bt_values_LDADD = $(LIBTAP) \
25 $(top_builddir)/lib/libbabeltrace.la
26
27test_ctf_ir_ref_LDADD = $(LIBTAP) \
28 $(top_builddir)/lib/libbabeltrace.la \
29 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
30 libtestcommon.a
31
32test_bt_ctf_field_type_validation_LDADD = $(LIBTAP) \
33 $(top_builddir)/lib/libbabeltrace.la \
34 $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
35
36noinst_PROGRAMS = test_seek test_bitfield test_ctf_writer test_bt_values \
37 test_ctf_ir_ref test_bt_ctf_field_type_validation
38
39test_seek_SOURCES = test_seek.c
40test_bitfield_SOURCES = test_bitfield.c
41test_ctf_writer_SOURCES = test_ctf_writer.c
42test_bt_values_SOURCES = test_bt_values.c
43test_ctf_ir_ref_SOURCES = test_ctf_ir_ref.c
44test_bt_ctf_field_type_validation_SOURCES = test_bt_ctf_field_type_validation.c
45
46check_SCRIPTS = test_seek_big_trace \
47 test_seek_empty_packet \
48 test_ctf_writer_complete
49
50if ENABLE_DEBUGINFO
51test_dwarf_LDFLAGS = -static
52test_dwarf_LDADD = $(LIBTAP) \
53 $(top_builddir)/lib/libbabeltrace.la \
54 $(top_builddir)/lib/libdebuginfo.la
55test_dwarf_SOURCES = test_dwarf.c
56
57test_bin_info_LDFLAGS = -static
58test_bin_info_LDADD = $(LIBTAP) \
59 $(top_builddir)/lib/libbabeltrace.la \
60 $(top_builddir)/lib/libdebuginfo.la
61test_bin_info_SOURCES = test_bin_info.c
62
63noinst_PROGRAMS += test_dwarf test_bin_info
64check_SCRIPTS += test_dwarf_complete test_bin_info_complete
65endif
This page took 0.023228 seconds and 4 git commands to generate.