OOT build fix: Missing include of src directory
[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
4508697c 12AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src
199800b2
JR
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)
4508697c 25lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c
199800b2
JR
26
27if LTTNG_TOOLS_BUILD_WITH_LIBDL
28lttng_ust_clock_override_test_la_LIBADD = -ldl
29endif
30if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
31lttng_ust_clock_override_test_la_LIBADD = -lc
32endif
33
1df1febe
JG
34noinst_SCRIPTS = test_clock_override
35EXTRA_DIST = test_clock_override
199800b2
JR
36
37all-local:
38 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
39 for script in $(EXTRA_DIST); do \
40 cp -f $(srcdir)/$$script $(builddir); \
41 done; \
42 fi
43
44clean-local:
45 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
46 for script in $(EXTRA_DIST); do \
47 rm -f $(builddir)/$$script; \
48 done; \
49 fi
cdbfb1b9
MD
50
51endif
This page took 0.030747 seconds and 5 git commands to generate.