Fix: lttng-snapshot: use after free of max size argument
[lttng-tools.git] / tests / regression / ust / getcpu-override / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 if NO_SHARED
4 # Do not build this test if shared libraries support was
5 # explicitly disabled.
6
7 CLEANFILES = lttng-ust-getcpu-override-test.so \
8 lttng-ust-getcpu-override-test.so.debug
9
10 EXTRA_DIST = test_getcpu_override run-getcpu-override \
11 lttng-ust-getcpu-override-test.c
12
13 else
14
15 # The rpath is necessary because libtool won't build a shared library
16 # if it's noinst_
17 GETCPU_LIBTOOL_FLAGS = \
18 -module \
19 -shared \
20 -avoid-version \
21 -Wl,--no-as-needed \
22 -rpath $(abs_builddir)
23
24 noinst_LTLIBRARIES = lttng-ust-getcpu-override-test.la
25 lttng_ust_getcpu_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
26 lttng_ust_getcpu_override_test_la_SOURCES = lttng-ust-getcpu-override-test.c
27 lttng_ust_getcpu_override_test_la_LIBADD = $(DL_LIBS)
28
29 noinst_SCRIPTS = test_getcpu_override run-getcpu-override
30 EXTRA_DIST = test_getcpu_override run-getcpu-override
31
32 all-local:
33 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
34 for script in $(EXTRA_DIST); do \
35 cp -f $(srcdir)/$$script $(builddir); \
36 done; \
37 fi
38
39 clean-local:
40 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
41 for script in $(EXTRA_DIST); do \
42 rm -f $(builddir)/$$script; \
43 done; \
44 fi
45
46 endif
This page took 0.042099 seconds and 5 git commands to generate.