Tests: gen-ust-nevents: use options instead of arguments
[lttng-tools.git] / tests / regression / tools / notification / Makefile.am
CommitLineData
9d16b343
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
434f8068
JR
3AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -I$(top_srcdir)/tests/utils/ -I$(srcdir)
4AM_LDFLAGS =
5
6
7LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
8LIB_LTTNG_CTL = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
9
88a5c0a9 10noinst_PROGRAMS = base_client notification rotation
434f8068
JR
11
12if NO_SHARED
13
14CLEANFILES = libpause_consumer.so libpause_consumer.so.debug
854382b8 15EXTRA_DIST = test_notification_ust test_notification_kernel test_notification_multi_app base_client.c notification.c consumer_testpoints.c
434f8068
JR
16
17else
18
19# In order to test the health check feature, the helper library
20# must be built as .so to be able to LD_PRELOAD it.
21FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
22 -rpath $(abs_builddir)
23
24libpause_consumer_la_SOURCES = consumer_testpoints.c
f667fbd7
MJ
25libpause_consumer_la_LIBADD = \
26 $(top_builddir)/src/common/libcommon.la \
27 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
28 $(DL_LIBS)
434f8068
JR
29libpause_consumer_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
30noinst_LTLIBRARIES = libpause_consumer.la
31
32base_client_SOURCES = base_client.c
33base_client_LDADD = $(LIB_LTTNG_CTL)
34
35notification_SOURCES = notification.c
36notification_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
37
88a5c0a9
JG
38rotation_SOURCES = rotation.c
39rotation_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm
40
f0a442d0 41noinst_SCRIPTS = test_notification_ust test_notification_kernel test_notification_multi_app test_rotation
88a5c0a9 42EXTRA_DIST = test_notification_ust test_notification_kernel test_notification_multi_app test_rotation
434f8068
JR
43
44
45all-local:
46 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
47 for script in $(EXTRA_DIST); do \
48 cp -f $(srcdir)/$$script $(builddir); \
49 done; \
50 fi
51
52clean-local:
53 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
54 for script in $(EXTRA_DIST); do \
55 rm -f $(builddir)/$$script; \
56 done; \
57 fi
58endif
This page took 0.031993 seconds and 4 git commands to generate.