tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / clock-override / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 if NO_SHARED
4 # Do not build this test if shared libraries support was
5 # explicitly disabled.
6
7 CLEANFILES = lttng-ust-clock-override-test.so \
8 lttng-ust-clock-override-test.so.debug
9
10 EXTRA_DIST = test_clock_override lttng-ust-clock-override-test.c
11
12 else
13
14 # The rpath is necessary because libtool won't build a shared library
15 # if it's noinst_
16 GETCPU_LIBTOOL_FLAGS = \
17 -module \
18 -shared \
19 -avoid-version \
20 --no-as-needed \
21 -rpath $(abs_builddir)
22
23 noinst_LTLIBRARIES = lttng-ust-clock-override-test.la
24 lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
25 lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c
26 lttng_ust_clock_override_test_la_LIBADD = $(DL_LIBS)
27
28 noinst_SCRIPTS = test_clock_override
29 EXTRA_DIST = test_clock_override
30
31 all-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
38 clean-local:
39 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
40 for script in $(EXTRA_DIST); do \
41 rm -f $(builddir)/$$script; \
42 done; \
43 fi
44
45 endif
This page took 0.029423 seconds and 4 git commands to generate.