Add UST namespace contexts tests
[lttng-tools.git] / tests / regression / ust / getcpu-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-getcpu-override-test.so \
6 lttng-ust-getcpu-override-test.so.debug
7
8EXTRA_DIST = test_getcpu_override run-getcpu-override \
9 lttng-ust-getcpu-override-test.c
10
11else
12
568d7e2d
JR
13# The rpath is necessary because libtool won't build a shared library
14# if it's noinst_
15GETCPU_LIBTOOL_FLAGS = \
16 -module \
17 -shared \
18 -avoid-version \
19 --no-as-needed \
20 -rpath $(abs_builddir)
21
22noinst_LTLIBRARIES = lttng-ust-getcpu-override-test.la
23lttng_ust_getcpu_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
4508697c 24lttng_ust_getcpu_override_test_la_SOURCES = lttng-ust-getcpu-override-test.c
b1c46f87 25lttng_ust_getcpu_override_test_la_LIBADD = $(DL_LIBS)
568d7e2d
JR
26
27noinst_SCRIPTS = test_getcpu_override run-getcpu-override
28EXTRA_DIST = test_getcpu_override run-getcpu-override
29
30all-local:
31 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
32 for script in $(EXTRA_DIST); do \
33 cp -f $(srcdir)/$$script $(builddir); \
34 done; \
35 fi
36
37clean-local:
38 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
39 for script in $(EXTRA_DIST); do \
40 rm -f $(builddir)/$$script; \
41 done; \
42 fi
cdbfb1b9
MD
43
44endif
This page took 0.039535 seconds and 5 git commands to generate.