SoW-2020-0002: Trace Hit Counters: trigger error reporting integration
[lttng-tools.git] / tests / regression / tools / notification / Makefile.am
CommitLineData
9d16b343
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
2868dcc9 3AM_CFLAGS += -I$(top_srcdir)/tests/utils
434f8068
JR
4
5LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
6LIB_LTTNG_CTL = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
7
88a5c0a9 8noinst_PROGRAMS = base_client notification rotation
434f8068
JR
9
10if NO_SHARED
11
2463b787
JR
12CLEANFILES = libpause_consumer.so libpause_consumer.so.debug libpause_sessiond.so libpause_sessiond.so.debug
13EXTRA_DIST = \
14 base_client.c \
15 consumer_testpoints.c \
16 sessiond_testpoints.c \
17 notification.c \
18 test_notification_kernel_buffer_usage \
19 test_notification_kernel_capture \
20 test_notification_kernel_error \
21 test_notification_kernel_instrumentation \
22 test_notification_kernel_syscall \
23 test_notification_kernel_userspace_probe \
24 test_notification_multi_app \
25 test_notification_trigger_discarded_count \
26 test_notification_ust_buffer_usage \
27 test_notification_ust_capture \
28 test_notification_ust_error \
29 test_notification_ust_event_rule_condition_exclusion \
30 util_event_generator.sh
434f8068
JR
31else
32
33# In order to test the health check feature, the helper library
34# must be built as .so to be able to LD_PRELOAD it.
35FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
36 -rpath $(abs_builddir)
37
38libpause_consumer_la_SOURCES = consumer_testpoints.c
f667fbd7 39libpause_consumer_la_LIBADD = \
c0a66c84 40 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
f667fbd7
MJ
41 $(top_builddir)/src/common/libcommon.la \
42 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
43 $(DL_LIBS)
434f8068 44libpause_consumer_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
2463b787
JR
45
46libpause_sessiond_la_SOURCES = sessiond_testpoints.c
47libpause_sessiond_la_LIBADD = \
48 $(top_builddir)/src/common/libcommon.la \
49 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
50 $(DL_LIBS)
51libpause_sessiond_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
52noinst_LTLIBRARIES = libpause_sessiond.la libpause_consumer.la
434f8068
JR
53
54base_client_SOURCES = base_client.c
55base_client_LDADD = $(LIB_LTTNG_CTL)
56
57notification_SOURCES = notification.c
58notification_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
59
88a5c0a9
JG
60rotation_SOURCES = rotation.c
61rotation_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
62
2463b787
JR
63noinst_SCRIPTS = \
64 test_notification_kernel_buffer_usage \
65 test_notification_kernel_error \
66 test_notification_kernel_instrumentation \
67 test_notification_kernel_syscall \
68 test_notification_kernel_userspace_probe \
69 test_notification_multi_app \
70 test_notification_trigger_discarded_count \
71 test_notification_ust_buffer_usage \
72 test_notification_ust_error \
73 test_notification_ust_event_rule_condition_exclusion \
74 test_rotation \
75 util_event_generator.sh
434f8068 76
2463b787
JR
77EXTRA_DIST = \
78 test_notification_kernel_buffer_usage \
79 test_notification_kernel_capture \
80 test_notification_kernel_error \
81 test_notification_kernel_instrumentation \
82 test_notification_kernel_syscall \
83 test_notification_kernel_userspace_probe \
84 test_notification_multi_app \
85 test_notification_trigger_discarded_count \
86 test_notification_ust_buffer_usage \
87 test_notification_ust_capture \
88 test_notification_ust_error \
89 test_notification_ust_event_rule_condition_exclusion \
90 test_rotation \
91 util_event_generator.sh
434f8068
JR
92
93all-local:
94 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
95 for script in $(EXTRA_DIST); do \
96 cp -f $(srcdir)/$$script $(builddir); \
97 done; \
98 fi
99
100clean-local:
101 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
102 for script in $(EXTRA_DIST); do \
103 rm -f $(builddir)/$$script; \
104 done; \
105 fi
106endif
This page took 0.061942 seconds and 5 git commands to generate.