aa27a82ed262b08ef4eb5e8718b81abd9569a8a0
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 # no optimization
4 AM_CFLAGS = -O0
5 noinst_LTLIBRARIES = libfoo.la
6
7 libfoo_la_SOURCES = foo.c foo.h
8 libfoo_la_LDFLAGS = -shared -module -avoid-version -rpath $(abs_builddir)/.libs/
9
10 noinst_PROGRAMS = userspace-probe-elf-binary
11 userspace_probe_elf_binary_SOURCES = userspace-probe-elf-binary.c
12 userspace_probe_elf_binary_LDADD = libfoo.la
13
14 libfoo.strip: libfoo.la
15 $(OBJCOPY) --strip-all .libs/libfoo.so
16
17 all-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.0294 seconds and 3 git commands to generate.