aboutsummaryrefslogtreecommitdiff
path: root/debug/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-19 16:48:27 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-19 16:48:27 +0000
commitf50fa10c8ac99e0efdca8469c646a08dd2cdefe2 (patch)
tree1c304654d398805b0cbbdf0c7678345e1fde5551 /debug/Makefile
parent882bfe73fd0d3ee9e625ff841bd0c1e0815cff90 (diff)
downloadglibc-f50fa10c8ac99e0efdca8469c646a08dd2cdefe2.zip
glibc-f50fa10c8ac99e0efdca8469c646a08dd2cdefe2.tar.gz
glibc-f50fa10c8ac99e0efdca8469c646a08dd2cdefe2.tar.bz2
* malloc/memusage.sh (memusageso): Add quotes.
(memusagestat): Likewise. * debug/xtrace.sh (pcprofileso): Likewise. (pcprofiledump): Likewise. * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR replacement. * malloc/Makefile ($(objpfx)memusage): Likewise.
Diffstat (limited to 'debug/Makefile')
-rw-r--r--debug/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/debug/Makefile b/debug/Makefile
index 4b4b541..9d9b6ac 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000,2001,2004,2005 Free Software Foundation, Inc.
+# Copyright (C) 1998-2001,2004,2005,2006 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -107,6 +107,8 @@ generated = catchsegv xtrace
include ../Rules
+sLIBdir := $(shell echo $(slibdir) | sed 's,lib\(\|64\)$$,\\\\$$LIB,')
+
$(objpfx)catchsegv: catchsegv.sh $(common-objpfx)soversions.mk \
$(common-objpfx)config.make
slibpfx=`echo $(slibdir)|sed 's/lib\(64\|\)$$/\\\\\\\\$$LIB/'`; \
@@ -119,7 +121,7 @@ $(objpfx)pcprofiledump: $(objpfx)pcprofiledump.o
$(objpfx)xtrace: xtrace.sh
rm -f $@.new
sed -e 's|@BASH@|$(BASH)|' -e 's|@VERSION@|$(version)|' \
- -e 's|@SLIBDIR@|$(slibdir)|' -e 's|@BINDIR@|$(bindir)|' $^ > $@.new \
+ -e 's|@SLIBDIR@|$(sLIBdir)|' -e 's|@BINDIR@|$(bindir)|' $^ > $@.new \
&& rm -f $@ && mv $@.new $@ && chmod +x $@
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.