summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/fnmatch/Makefile.in')
-rw-r--r--libc/misc/fnmatch/Makefile.in6
1 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)