SoW-2019-0007-2: Dynamic Snapshot: Triggers send partial event payload with notifications
[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
12CLEANFILES = libpause_consumer.so libpause_consumer.so.debug
5024c2ac
JR
13EXTRA_DIST = \
14 base_client.c \
15 consumer_testpoints.c \
16 notification.c \
17 test_notification_kernel_buffer_usage \
18 test_notification_kernel_capture \
19 test_notification_kernel_error \
20 test_notification_kernel_instrumentation \
21 test_notification_kernel_syscall \
22 test_notification_kernel_userspace_probe \
23 test_notification_multi_app \
24 test_notification_ust_buffer_usage \
25 test_notification_ust_capture \
26 test_notification_ust_error \
27 test_notification_ust_event_rule_condition_exclusion\
28 util_event_generator.sh
434f8068
JR
29else
30
31# In order to test the health check feature, the helper library
32# must be built as .so to be able to LD_PRELOAD it.
33FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
34 -rpath $(abs_builddir)
35
36libpause_consumer_la_SOURCES = consumer_testpoints.c
f667fbd7
MJ
37libpause_consumer_la_LIBADD = \
38 $(top_builddir)/src/common/libcommon.la \
39 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
40 $(DL_LIBS)
434f8068
JR
41libpause_consumer_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
42noinst_LTLIBRARIES = libpause_consumer.la
43
44base_client_SOURCES = base_client.c
45base_client_LDADD = $(LIB_LTTNG_CTL)
46
47notification_SOURCES = notification.c
48notification_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
49
88a5c0a9
JG
50rotation_SOURCES = rotation.c
51rotation_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
52
5024c2ac
JR
53noinst_SCRIPTS = \
54 test_notification_kernel_buffer_usage \
55 test_notification_kernel_error \
56 test_notification_kernel_instrumentation \
57 test_notification_kernel_syscall \
58 test_notification_kernel_userspace_probe \
59 test_notification_multi_app \
60 test_notification_ust_buffer_usage \
61 test_notification_ust_error \
62 test_notification_ust_event_rule_condition_exclusion \
63 test_rotation
434f8068 64
5024c2ac
JR
65EXTRA_DIST = \
66 test_notification_kernel_buffer_usage \
67 test_notification_kernel_capture \
68 test_notification_kernel_error \
69 test_notification_kernel_instrumentation \
70 test_notification_kernel_syscall \
71 test_notification_kernel_userspace_probe \
72 test_notification_multi_app \
73 test_notification_ust_buffer_usage \
74 test_notification_ust_capture \
75 test_notification_ust_error \
76 test_notification_ust_event_rule_condition_exclusion \
77 test_rotation \
78 util_event_generator.sh
434f8068
JR
79
80all-local:
81 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
82 for script in $(EXTRA_DIST); do \
83 cp -f $(srcdir)/$$script $(builddir); \
84 done; \
85 fi
86
87clean-local:
88 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
89 for script in $(EXTRA_DIST); do \
90 rm -f $(builddir)/$$script; \
91 done; \
92 fi
93endif
This page took 0.044036 seconds and 5 git commands to generate.