Commit | Line | Data |
---|---|---|
a9c2df2b FD |
1 | # no optimization |
2 | AM_CFLAGS = -O0 | |
ef3dfe5d FD |
3 | noinst_LTLIBRARIES = libfoo.la |
4 | ||
5 | libfoo_la_SOURCES = foo.c foo.h | |
6 | libfoo_la_LDFLAGS = -shared -module -avoid-version -rpath $(abs_builddir)/.libs/ | |
7 | ||
a9c2df2b FD |
8 | noinst_PROGRAMS = userspace-probe-elf-binary |
9 | userspace_probe_elf_binary_SOURCES = userspace-probe-elf-binary.c | |
ef3dfe5d FD |
10 | userspace_probe_elf_binary_LDADD = libfoo.la |
11 | ||
12 | libfoo.strip: libfoo.la | |
13 | $(OBJCOPY) --strip-all .libs/libfoo.so | |
14 | ||
15 | all-local: libfoo.strip | |
16 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
17 | for script in $(EXTRA_DIST); do \ | |
18 | cp -f $(srcdir)/$$script $(builddir); \ | |
19 | done; \ | |
20 | fi |