Make API CTF-agnostic
[babeltrace.git] / tests / plugins / Makefile.am
CommitLineData
149bc52e 1AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(top_srcdir)/plugins
8deeabc6
PP
2
3LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
1b83271b
PP
4COMMON_TEST_LDADD = $(LIBTAP) \
5 $(top_builddir)/lib/libbabeltrace.la \
6 $(top_builddir)/common/libbabeltrace-common.la \
7 $(top_builddir)/logging/libbabeltrace-logging.la \
8 $(top_builddir)/compat/libcompat.la
8deeabc6 9
8703bbf2
MJ
10check_SCRIPTS =
11noinst_PROGRAMS =
8deeabc6 12
8703bbf2 13if !ENABLE_BUILT_IN_PLUGINS
44c440bc 14# plugin tests here
d8992d68 15endif # !ENABLE_BUILT_IN_PLUGINS
149bc52e
JD
16
17if ENABLE_DEBUG_INFO
77ca3096
MJ
18test_dwarf_LDADD = \
19 $(top_builddir)/plugins/lttng-utils/libdebug-info.la \
20 $(top_builddir)/logging/libbabeltrace-logging.la \
21 $(top_builddir)/common/libbabeltrace-common.la \
22 $(ELFUTILS_LIBS) \
23 $(LIBTAP)
149bc52e
JD
24test_dwarf_SOURCES = test_dwarf.c
25
77ca3096
MJ
26test_bin_info_LDADD = \
27 $(top_builddir)/plugins/lttng-utils/libdebug-info.la \
28 $(top_builddir)/logging/libbabeltrace-logging.la \
29 $(top_builddir)/common/libbabeltrace-common.la \
30 $(ELFUTILS_LIBS) \
31 $(LIBTAP)
149bc52e
JD
32test_bin_info_SOURCES = test_bin_info.c
33
34noinst_PROGRAMS += test_dwarf test_bin_info
35check_SCRIPTS += test_dwarf_complete test_bin_info_complete
d8992d68
PP
36
37if !ENABLE_BUILT_IN_PLUGINS
38if ENABLE_PYTHON_BINDINGS
39check_SCRIPTS += test_lttng_utils_debug_info
40endif # !ENABLE_BUILT_IN_PLUGINS
41endif # ENABLE_PYTHON_BINDINGS
42endif # ENABLE_DEBUG_INFO
43
44EXTRA_DIST = test_lttng_utils_debug_info.py
This page took 0.035732 seconds and 4 git commands to generate.