tests: append to AM_CFLAGS instead of overriding it
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / Makefile.am
CommitLineData
9d16b343
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
a9c2df2b 3# no optimization
2868dcc9 4AM_CFLAGS += -O0
ef3dfe5d
FD
5noinst_LTLIBRARIES = libfoo.la
6
7libfoo_la_SOURCES = foo.c foo.h
8libfoo_la_LDFLAGS = -shared -module -avoid-version -rpath $(abs_builddir)/.libs/
9
a9c2df2b
FD
10noinst_PROGRAMS = userspace-probe-elf-binary
11userspace_probe_elf_binary_SOURCES = userspace-probe-elf-binary.c
ef3dfe5d
FD
12userspace_probe_elf_binary_LDADD = libfoo.la
13
14libfoo.strip: libfoo.la
15 $(OBJCOPY) --strip-all .libs/libfoo.so
16
17all-local: libfoo.strip
18 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
19 for script in $(EXTRA_DIST); do \
20 cp -f $(srcdir)/$$script $(builddir); \
21 done; \
22 fi
This page took 0.025705 seconds and 4 git commands to generate.