aboutsummaryrefslogtreecommitdiff
path: root/misc/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-29 23:40:08 +0000
committerRoland McGrath <roland@gnu.org>2005-07-29 23:40:08 +0000
commitae9e937241bed564572618e5affe9af4b6a87d27 (patch)
treeb5d9029649f65ec4eb98f3e0e97d746fadace682 /misc/Makefile
parente703a817324b85138b0880a1ad0d300d8bfefcd4 (diff)
Updated to fedora-glibc-2_3-20050729T2336
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 862eb1b800..b4c106c0cb 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -65,6 +65,8 @@ routines := brk sbrk sstk ioctl \
distribute := device-nrs.h
+generated := tst-error1.mtrace tst-error1-mem
+
include ../Makeconfig
aux := init-misc
@@ -73,7 +75,11 @@ install-lib := libbsd-compat.a libg.a
endif
gpl2lgpl := error.c error.h
-tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent tst-hsearch
+tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent tst-hsearch \
+ tst-error1
+ifeq (no,$(cross-compiling))
+tests: $(objpfx)tst-error1-mem
+endif
CFLAGS-tsearch.c = $(uses-callbacks)
CFLAGS-lsearch.c = $(uses-callbacks)
@@ -106,3 +112,8 @@ endif
ifeq ($(build-bounded),yes)
$(objpfx)tst-tsearch-bp: $(common-objpfx)math/libm_b.a
endif
+
+tst-error1-ENV = MALLOC_TRACE=$(objpfx)tst-error1.mtrace
+tst-error1-ARGS = $(objpfx)tst-error1.out
+$(objpfx)tst-error1-mem: $(objpfx)tst-error1.out
+ $(common-objpfx)malloc/mtrace $(objpfx)tst-error1.mtrace > $@