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