summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-07 04:41:39 +0000
committerUlrich Drepper <[email protected]>2005-08-07 04:41:39 +0000
commit47be795df365174601a08535bf61d22301697ef8 (patch)
tree016407cd67ef07066784632ffa1a04f059dce6a7 /tests/Makefile.am
parentca2db8a3ae7bbcbaa8aa314d06608683e694d2df (diff)
Implement --enable-gprof option in configure script.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 07b87e0e..c0c23c09 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -64,10 +64,14 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
testfile18.bz2
if MUDFLAP
+static_build=yes
+libmudflap = -lmudflap
+endif
+
+if BUILD_STATIC
libdw = ../libdw/libdw.a
libelf = ../libelf/libelf.a
libasm = ../libasm/libasm.a
-libmudflap = -lmudflap
else
libdw = ../libdw/libdw.so
libelf = ../libelf/libelf.so
@@ -110,6 +114,6 @@ asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
-dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap)
+dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl
CLEANFILES = xxx