diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-19 16:48:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-19 16:48:27 +0000 |
commit | f50fa10c8ac99e0efdca8469c646a08dd2cdefe2 (patch) | |
tree | 1c304654d398805b0cbbdf0c7678345e1fde5551 /malloc/Makefile | |
parent | 882bfe73fd0d3ee9e625ff841bd0c1e0815cff90 (diff) | |
download | glibc-f50fa10c8ac99e0efdca8469c646a08dd2cdefe2.tar.gz glibc-f50fa10c8ac99e0efdca8469c646a08dd2cdefe2.tar.xz glibc-f50fa10c8ac99e0efdca8469c646a08dd2cdefe2.zip |
* 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 'malloc/Makefile')
-rw-r--r-- | malloc/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/malloc/Makefile b/malloc/Makefile index c479da39b7..c39eae5474 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-1999, 2000, 2001, 2002, 2003, 2005 +# Copyright (C) 1991-1999, 2000, 2001, 2002, 2003, 2005, 2006 # Free Software Foundation, Inc. # This file is part of the GNU C Library. @@ -79,6 +79,7 @@ endif ifneq ($(cross-compiling),yes) # If the gd library is available we build the `memusagestat' program. ifneq ($(LIBGD),no) +others: $(objpfx)memusage install-bin = memusagestat install-bin-script += memusage generated += memusagestat memusage @@ -126,6 +127,8 @@ tst-mcheck-ENV = MALLOC_CHECK_=3 # Uncomment this for test releases. For public releases it is too expensive. #CPPFLAGS-malloc.o += -DMALLOC_DEBUG=1 +sLIBdir := $(shell echo $(slibdir) | sed 's,lib\(\|64\)$$,\\\\$$LIB,') + $(objpfx)mtrace: mtrace.pl rm -f $@.new sed -e 's|@PERL@|$(PERL)|' -e 's|@XXX@|$(address-width)|' \ @@ -135,7 +138,7 @@ $(objpfx)mtrace: mtrace.pl $(objpfx)memusage: memusage.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 $@ |