Generalize set_ust_event_exclusion to support multiple types of ust object
[lttng-tools.git] / tests / regression / ust / clock-override / Makefile.am
CommitLineData
9d16b343
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
cdbfb1b9
MD
3if NO_SHARED
4# Do not build this test if shared libraries support was
5# explicitly disabled.
6
7CLEANFILES = lttng-ust-clock-override-test.so \
8 lttng-ust-clock-override-test.so.debug
9
10EXTRA_DIST = test_clock_override lttng-ust-clock-override-test.c
11
12else
13
199800b2
JR
14# The rpath is necessary because libtool won't build a shared library
15# if it's noinst_
16GETCPU_LIBTOOL_FLAGS = \
17 -module \
18 -shared \
19 -avoid-version \
20 --no-as-needed \
21 -rpath $(abs_builddir)
22
23noinst_LTLIBRARIES = lttng-ust-clock-override-test.la
24lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
4508697c 25lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c
b1c46f87 26lttng_ust_clock_override_test_la_LIBADD = $(DL_LIBS)
199800b2 27
1df1febe
JG
28noinst_SCRIPTS = test_clock_override
29EXTRA_DIST = test_clock_override
199800b2
JR
30
31all-local:
32 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
33 for script in $(EXTRA_DIST); do \
34 cp -f $(srcdir)/$$script $(builddir); \
35 done; \
36 fi
37
38clean-local:
39 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
40 for script in $(EXTRA_DIST); do \
41 rm -f $(builddir)/$$script; \
42 done; \
43 fi
cdbfb1b9
MD
44
45endif
This page took 0.042976 seconds and 4 git commands to generate.