Tests: ns_contexts: discarded events result in test failure
[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
854382b8 13EXTRA_DIST = test_notification_ust test_notification_kernel test_notification_multi_app base_client.c notification.c consumer_testpoints.c
434f8068
JR
14
15else
16
17# In order to test the health check feature, the helper library
18# must be built as .so to be able to LD_PRELOAD it.
19FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
20 -rpath $(abs_builddir)
21
22libpause_consumer_la_SOURCES = consumer_testpoints.c
f667fbd7 23libpause_consumer_la_LIBADD = \
c0a66c84 24 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
f667fbd7
MJ
25 $(top_builddir)/src/common/libcommon.la \
26 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
27 $(DL_LIBS)
434f8068
JR
28libpause_consumer_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
29noinst_LTLIBRARIES = libpause_consumer.la
30
31base_client_SOURCES = base_client.c
32base_client_LDADD = $(LIB_LTTNG_CTL)
33
34notification_SOURCES = notification.c
35notification_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
36
88a5c0a9
JG
37rotation_SOURCES = rotation.c
38rotation_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
39
f0a442d0 40noinst_SCRIPTS = test_notification_ust test_notification_kernel test_notification_multi_app test_rotation
88a5c0a9 41EXTRA_DIST = test_notification_ust test_notification_kernel test_notification_multi_app test_rotation
434f8068
JR
42
43
44all-local:
45 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
46 for script in $(EXTRA_DIST); do \
47 cp -f $(srcdir)/$$script $(builddir); \
48 done; \
49 fi
50
51clean-local:
52 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
53 for script in $(EXTRA_DIST); do \
54 rm -f $(builddir)/$$script; \
55 done; \
56 fi
57endif
This page took 0.058578 seconds and 5 git commands to generate.