Accomodate BSD sed in version.h generation
[lttng-tools.git] / tests / regression / ust / clock-override / Makefile.am
CommitLineData
cdbfb1b9
MD
1if NO_SHARED
2# Do not build this test if shared libraries support was
3# explicitly disabled.
4
5CLEANFILES = lttng-ust-clock-override-test.so \
6 lttng-ust-clock-override-test.so.debug
7
8EXTRA_DIST = test_clock_override lttng-ust-clock-override-test.c
9
10else
11
199800b2
JR
12AM_CPPFLAGS = -I$(srcdir)
13
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)
25
26if LTTNG_TOOLS_BUILD_WITH_LIBDL
27lttng_ust_clock_override_test_la_LIBADD = -ldl
28endif
29if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
30lttng_ust_clock_override_test_la_LIBADD = -lc
31endif
32
1df1febe
JG
33noinst_SCRIPTS = test_clock_override
34EXTRA_DIST = test_clock_override
199800b2
JR
35
36all-local:
37 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
38 for script in $(EXTRA_DIST); do \
39 cp -f $(srcdir)/$$script $(builddir); \
40 done; \
41 fi
42
43clean-local:
44 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
45 for script in $(EXTRA_DIST); do \
46 rm -f $(builddir)/$$script; \
47 done; \
48 fi
cdbfb1b9
MD
49
50endif
This page took 0.031085 seconds and 5 git commands to generate.