Tests: lttng-ust-getcpu-override-test cache and error-check sysconf()
[lttng-tools.git] / tests / regression / ust / getcpu-override / Makefile.am
CommitLineData
568d7e2d
JR
1AM_CPPFLAGS = -I$(srcdir)
2
3# The rpath is necessary because libtool won't build a shared library
4# if it's noinst_
5GETCPU_LIBTOOL_FLAGS = \
6 -module \
7 -shared \
8 -avoid-version \
9 --no-as-needed \
10 -rpath $(abs_builddir)
11
12noinst_LTLIBRARIES = lttng-ust-getcpu-override-test.la
13lttng_ust_getcpu_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
14
15if LTTNG_TOOLS_BUILD_WITH_LIBDL
16lttng_ust_getcpu_override_test_la_LIBADD = -ldl
17endif
18if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
19lttng_ust_getcpu_override_test_la_LIBADD = -lc
20endif
21
22noinst_SCRIPTS = test_getcpu_override run-getcpu-override
23EXTRA_DIST = test_getcpu_override run-getcpu-override
24
25all-local:
26 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
27 for script in $(EXTRA_DIST); do \
28 cp -f $(srcdir)/$$script $(builddir); \
29 done; \
30 fi
31
32clean-local:
33 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
34 for script in $(EXTRA_DIST); do \
35 rm -f $(builddir)/$$script; \
36 done; \
37 fi
This page took 0.031703 seconds and 4 git commands to generate.