Tests: Ust getcpu override plugin
[lttng-tools.git] / tests / regression / ust / getcpu-override / Makefile.am
1 AM_CPPFLAGS = -I$(srcdir)
2
3 # The rpath is necessary because libtool won't build a shared library
4 # if it's noinst_
5 GETCPU_LIBTOOL_FLAGS = \
6 -module \
7 -shared \
8 -avoid-version \
9 --no-as-needed \
10 -rpath $(abs_builddir)
11
12 noinst_LTLIBRARIES = lttng-ust-getcpu-override-test.la
13 lttng_ust_getcpu_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
14
15 if LTTNG_TOOLS_BUILD_WITH_LIBDL
16 lttng_ust_getcpu_override_test_la_LIBADD = -ldl
17 endif
18 if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
19 lttng_ust_getcpu_override_test_la_LIBADD = -lc
20 endif
21
22 noinst_SCRIPTS = test_getcpu_override run-getcpu-override
23 EXTRA_DIST = test_getcpu_override run-getcpu-override
24
25 all-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
32 clean-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.039633 seconds and 4 git commands to generate.