aboutsummaryrefslogtreecommitdiff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-07 03:02:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-07 03:02:14 +0000
commit199d6eb060b474ad81bf24dd9ae53d99d5646b9d (patch)
tree2f6fb220498b79e41107f0f804fa3c35301ba1e6 /malloc/Makefile
parent3eea1bc969e4d5ba309e5fbd40e56196a002c54e (diff)
downloadglibc-199d6eb060b474ad81bf24dd9ae53d99d5646b9d.tar
glibc-199d6eb060b474ad81bf24dd9ae53d99d5646b9d.tar.gz
glibc-199d6eb060b474ad81bf24dd9ae53d99d5646b9d.tar.bz2
glibc-199d6eb060b474ad81bf24dd9ae53d99d5646b9d.zip
Update.
* malloc/Makefile (test-srcs): Add tst-mtrace. (distribute): Add tst-mtrace.sh. Add rule to run tst-mtrace.sh. * malloc/tst-mtrace.c: New file. * malloc/tst-mtrace.sh: New file.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 55476ca812..26b9fedc51 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -26,9 +26,10 @@ all:
dist-headers := malloc.h
headers := $(dist-headers) obstack.h mcheck.h
tests := mallocbug tst-malloc tst-valloc tst-calloc
+test-srcs = tst-mtrace
distribute = thread-m.h mtrace.pl mcheck-init.c stackinfo.h memusage.h \
- memusage.sh memusagestat.c
+ memusage.sh memusagestat.c tst-mtrace.sh
# Things which get pasted together into gmalloc.c.
gmalloc-routines := malloc morecore
@@ -91,6 +92,11 @@ $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o
lib: $(objpfx)libmcheck.a
+.PHONY: do-tst-mtrace
+tests: do-tst-mtrace
+do-tst-mtrace: tst-mtrace.sh $(objpfx)tst-mtrace
+ $(SHELL) -e $< $(common-objpfx)
+
# Uncomment this for test releases. For public releases it is too expensive.
#CPPFLAGS-malloc.o += -DMALLOC_DEBUG