1 AM_CPPFLAGS = -I$(srcdir) -g
7 noinst_LTLIBRARIES = libfoo.la
8 libfoo_la_SOURCES = libfoo.c libfoo.h
9 libfoo_la_LDFLAGS = -module -shared -avoid-version \
10 -rpath $(abs_builddir)
12 noinst_SCRIPTS = test_ust-dl test_ust-dl.py
13 EXTRA_DIST = test_ust-dl test_ust-dl.py
16 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
17 for script in $(EXTRA_DIST); do \
18 cp -f $(srcdir)/$$script $(builddir); \
21 objcopy --only-keep-debug .libs/libfoo.so .libs/libfoo.so.debug
22 strip -g .libs/libfoo.so
23 objcopy --add-gnu-debuglink .libs/libfoo.so.debug .libs/libfoo.so
26 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
27 for script in $(EXTRA_DIST); do \
28 rm -f $(builddir)/$$script; \
31 rm -f .libs/libfoo.so.debug