summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-15 19:53:59 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-15 19:53:59 +0000
commit76809c3a05c20d69c65b7dc126e14f23d8907529 (patch)
tree5a08bfa791429dad069d1b622305615b8623c211 /libc/string
parent76ddb8e33af2f16bf9aeb37542834e17f253743f (diff)
Hah. It turned out that index and rindex were _already_
there and already implemented as wrapper funcs. And so just the header files were wrong. Anyway, axe the old index and rindex. -Erik
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/libc/string/Makefile b/libc/string/Makefile
index e7342e804..4421dee1c 100644
--- a/libc/string/Makefile
+++ b/libc/string/Makefile
@@ -30,17 +30,14 @@ MOBJ=strlen.o strcat.o strcpy.o strchr.o strcmp.o strncat.o strncpy.o \
memmove.o memcmp.o memchr.o ffs.o strnlen.o index.o rindex.o \
strxfrm.o strcoll.o
-MSRC1=index.c
-MOBJ1=index.o rindex.o
-
-MSRC2=strsignal.c
-MOBJ2=strsignal.o psignal.o
+MSRC1=strsignal.c
+MOBJ1=strsignal.o psignal.o
CSRC=strpbrk.c strsep.c strstr.c strtok.c strtok_r.c strcspn.c config.c \
strspn.c strcasecmp.c strncasecmp.c strerror.c bcopy.c bzero.c \
bcmp.c sys_errlist.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
-OBJS=$(MOBJ) $(MOBJ1) $(MOBJ2) $(COBJS)
+OBJS=$(MOBJ) $(MOBJ1) $(COBJS)
all: $(OBJS) $(LIBC)
@@ -57,10 +54,6 @@ $(MOBJ1): $(MSRC1)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(MOBJ2): $(MSRC2)
- $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
- $(STRIPTOOL) -x -R .note -R .comment $*.o
-
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o