Test: clear: local, streaming, live, tracefile rotation
[lttng-tools.git] / tests / regression / tools / clear / Makefile.am
CommitLineData
d8b7ee90
JR
1AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(srcdir)
2AM_LDFLAGS =
3
4if NO_SHARED
5
6CLEANFILES = librelayd_state.so librelayd_state.so.debug
7EXTRA_DIST = test_kernel test_ust common_test relayd_state_testpoint.c
8
9else
10# The testpoint library must be built as .so to be able to LD_PRELOAD it.
11FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \
12 -rpath $(abs_builddir)
13
14librelayd_state_la_SOURCES = relayd_state_testpoint.c
15librelayd_state_la_LIBADD = $(top_builddir)/src/common/libcommon.la $(DL_LIBS)
16librelayd_state_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS)
17noinst_LTLIBRARIES = librelayd_state.la
18
19noinst_SCRIPTS = test_kernel test_ust common_test
20EXTRA_DIST = test_kernel test_ust common_test
6364a69d
JR
21
22all-local:
23 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
24 for script in $(EXTRA_DIST); do \
25 cp -f $(srcdir)/$$script $(builddir); \
26 done; \
27 fi
28
29clean-local:
30 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
31 for script in $(EXTRA_DIST); do \
32 rm -f $(builddir)/$$script; \
33 done; \
34 fi
d8b7ee90 35endif
This page took 0.02772 seconds and 5 git commands to generate.