summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-24 00:08:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-24 00:08:38 +0000
commit0eef7f38a16a540991dbc050b9643a031b91469e (patch)
tree046d067c02d7021a3f0e660d180d879d3c9638b5
parent730b60ea3445a0495f6fafd122742eb9e46c0bfa (diff)
Move fnmatch.c to fnmatch_old.c
-rw-r--r--libc/misc/fnmatch/Makefile.in6
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c (renamed from libc/misc/fnmatch/fnmatch.c)0
2 files changed, 4 insertions, 2 deletions
diff --git a/libc/misc/fnmatch/Makefile.in b/libc/misc/fnmatch/Makefile.in
index 5476672df..e2a83f223 100644
--- a/libc/misc/fnmatch/Makefile.in
+++ b/libc/misc/fnmatch/Makefile.in
@@ -6,11 +6,13 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+CSRC:=fnmatch_old.c
+
MISC_FNMATCH_DIR:=$(top_srcdir)libc/misc/fnmatch
MISC_FNMATCH_OUT:=$(top_builddir)libc/misc/fnmatch
-MISC_FNMATCH_SRC:=$(MISC_FNMATCH_DIR)/fnmatch.c
-MISC_FNMATCH_OBJ:=$(MISC_FNMATCH_OUT)/fnmatch.o
+MISC_FNMATCH_SRC:=$(patsubst %.c,$(MISC_FNMATCH_DIR)/%.c,$(CSRC))
+MISC_FNMATCH_OBJ:=$(patsubst %.c,$(MISC_FNMATCH_OUT)/%.c,$(CSRC))
libc-a-y+=$(MISC_FNMATCH_OBJ)
libc-so-y+=$(MISC_FNMATCH_OBJ:.o=.os)
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch_old.c
index 892738999..892738999 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch_old.c