summaryrefslogtreecommitdiff
path: root/libc/string/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-07-08 17:56:36 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-07-08 17:56:36 +0000
commitd8188f4ee10115d0ee1f884e14d2749be5dbbeff (patch)
tree05a4fd9427925e6024f04eb2ecdd0be3b0064d53 /libc/string/Makefile
parent5f630cb3d2314fb0748b102665767f65ea65d848 (diff)
Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.
Diffstat (limited to 'libc/string/Makefile')
-rw-r--r--libc/string/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/libc/string/Makefile b/libc/string/Makefile
index fc6a34ee9..3a37efdde 100644
--- a/libc/string/Makefile
+++ b/libc/string/Makefile
@@ -32,6 +32,7 @@ MOBJW= basename.o bcopy.o bzero.o dirname.o ffs.o memccpy.o memchr.o memcmp.o \
strncmp.o strncpy.o strndup.o strnlen.o strpbrk.o strrchr.o strsep.o \
strspn.o strstr.o strtok.o strtok_r.o strerror.o _susv3_strerror_r.o \
_string_syserrmsgs.o _glibc_strerror_r.o sys_errlist.o \
+ _string_syssigmsgs.o sys_siglist.o strsignal.o psignal.o \
__xpg_basename.o strlcat.o strlcpy.o # strcoll.o
MOBJW2= wcscasecmp.o wcscat.o wcschrnul.o wcschr.o wcscmp.o wcscpy.o wcscspn.o \
@@ -41,12 +42,6 @@ MOBJW2= wcscasecmp.o wcscat.o wcschrnul.o wcschr.o wcscmp.o wcscpy.o wcscspn.o \
# wcscoll wcsxfrm
-MSRC1=strsignal.c
-MOBJ1=strsignal.o psignal.o
-
-# CSRC=strpbrk.c strsep.c strtok.c strtok_r.c strcspn.c \
-# strspn.c strcasecmp.c strncasecmp.c strerror.c bcopy.c bzero.c \
-# bcmp.c sys_errlist.c dirname.c basename.c
CSRC=strxfrm.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(MOBJ) $(MOBJ1) $(MOBJ2) $(COBJS) $(MOBJW)
@@ -70,18 +65,6 @@ $(MOBJW2): $(MSRCW)
$(CC) $(CFLAGS) -DWANT_WIDE -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(MOBJ): $(MSRC)
- $(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
-
-$(MOBJ1): $(MSRC1)
- $(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