summaryrefslogtreecommitdiff
path: root/test/string
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-11 11:42:17 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-11 11:42:17 +0000
commitae97a89e1a1a9833080dccc81f6cd26784e1b964 (patch)
tree6ff1ddc7e3980591c7fd0bbd5d9b8ac82da12886 /test/string
parentabdc3e4d06db2b9d93c509774fc7c4fde918ec8e (diff)
A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.
Diffstat (limited to 'test/string')
-rw-r--r--test/string/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/string/Makefile b/test/string/Makefile
index 7bcd6dc76..3277334ab 100644
--- a/test/string/Makefile
+++ b/test/string/Makefile
@@ -22,6 +22,7 @@ YLDFLAGS = -s --static
TARGETS=string string_glibc
TARGETS+=testcopy testcopy_glibc
+TARGETS+=strerror strsignal
all: $(TARGETS)
@@ -78,6 +79,29 @@ testcopy_diff: testcopy testcopy_glibc
-@ echo " "
+strerror: ../../string/strerror.c
+ -@ echo "-------"
+ -@ echo " "
+ -@ echo "Compiling vs uClibc: "
+ -@ echo " "
+ $(CC) $(XCFLAGS) -DCHECK_BUF -c $< -o $@.o
+ $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(STRIPTOOL) -x -R .note -R .comment $@
+ -./$@
+ -@ echo " "
+
+strsignal: ../../string/strsignal.c
+ -@ echo "-------"
+ -@ echo " "
+ -@ echo "Compiling vs uClibc: "
+ -@ echo " "
+ $(CC) $(XCFLAGS) -DCHECK_BUF -c $< -o $@.o
+ $(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(STRIPTOOL) -x -R .note -R .comment $@
+ -./$@
+ -@ echo " "
+
+
clean:
rm -f *.[oa] *~ core $(TARGETS) testcopy.gnu.out testcopy.out