aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/Makefile.inc
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
commita16f65c7d117419bd266c28a1901ef129a337569 (patch)
tree2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /lib/libc/string/Makefile.inc
parent8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff)
This commit was manufactured to restore the state of the 1.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'lib/libc/string/Makefile.inc')
-rw-r--r--lib/libc/string/Makefile.inc16
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc
index edd26209a1e2..bb5f703b6573 100644
--- a/lib/libc/string/Makefile.inc
+++ b/lib/libc/string/Makefile.inc
@@ -12,11 +12,11 @@ SRCS+= bcmp.s bcopy.s bzero.s ffs.s index.s memchr.c memcmp.c memset.c \
strncat.c strncmp.s strncpy.s strpbrk.c strsep.c \
strspn.c strstr.c
.elif (${MACHINE} == "i386")
-SRCS+= bcmp.s bcopy.s bzero.s ffs.s index.s memchr.s memcmp.s memset.s \
- rindex.s strcat.s strcmp.s strcpy.s strcspn.c strlen.s \
- strncat.c strncmp.s strncpy.c strpbrk.c strsep.c \
+SRCS+= bcmp.S bcopy.S bzero.S ffs.S index.S memchr.S memcmp.S memset.S \
+ rindex.S strcat.S strcmp.S strcpy.S strcspn.c strlen.S \
+ strncat.c strncmp.S strncpy.c strpbrk.c strsep.c \
strspn.c strstr.c
-SRCS+= memmove.s strchr.s strrchr.s
+SRCS+= memmove.S strchr.S strrchr.S
.elif (${MACHINE} == "tahoe")
SRCS+= bcmp.s bcopy.s bzero.s ffs.s index.c memchr.c memcmp.s memset.c \
rindex.c strcat.s strcmp.s strcpy.s strcspn.c strlen.s \
@@ -33,7 +33,9 @@ SRCS+= memmove.s strchr.s strrchr.s
# if no machine specific memmove(3), build one out of bcopy(3).
.if empty(SRCS:Mmemcpy.s)
+.if empty(SRCS:Mmemcpy.S)
.if empty(SRCS:Mmemmove.s)
+.if empty(SRCS:Mmemmove.S)
OBJS+= memmove.o
memmove.o: bcopy.c
${CC} -DMEMMOVE ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET}
@@ -46,9 +48,12 @@ memmove.po: bcopy.c
@mv a.out ${.TARGET}
.endif
.endif
+.endif
+.endif
# if no machine specific strchr(3), build one out of index(3).
.if empty(SRCS:Mstrchr.s)
+.if empty(SRCS:Mstrchr.S)
OBJS+= strchr.o
strchr.o: index.c
${CC} -DSTRCHR ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET}
@@ -60,9 +65,11 @@ strchr.po: index.c
@${LD} -X -r ${.TARGET}
@mv a.out ${.TARGET}
.endif
+.endif
# if no machine specific strrchr(3), build one out of rindex(3).
.if empty(SRCS:Mstrrchr.s)
+.if empty(SRCS:Mstrrchr.S)
OBJS+= strrchr.o
strrchr.o: rindex.c
${CC} -DSTRRCHR ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET}
@@ -74,6 +81,7 @@ strrchr.po: rindex.c
@${LD} -X -r ${.TARGET}
@mv a.out ${.TARGET}
.endif
+.endif
MAN3+= string/bcmp.3 string/bcopy.3 string/bstring.3 string/bzero.3 \
string/ffs.3 string/index.3 string/memccpy.3 string/memchr.3 \