summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-05 16:27:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-05 16:27:02 +0000
commitb4142362ef69470fc513dbc08d54f87ffb8351d5 (patch)
treead15356222447e860fbeb97e79b8d4b1e40a768d /lib
parent27f50d671aa4757b50d2966af87ab9480b5f9b5c (diff)
make debug libs build again
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/Makefile.inc22
1 files changed, 21 insertions, 1 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc
index 8e839d662ca..e7b81d0c43f 100644
--- a/lib/libc/string/Makefile.inc
+++ b/lib/libc/string/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.9 1999/11/09 11:20:41 art Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2001/09/05 16:27:01 mickey Exp $
# string sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/string ${LIBCSRCDIR}/string
@@ -26,6 +26,11 @@ memmove.o: bcopy.c
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
+memmove.go: bcopy.c
+ ${CC} -g -DMEMMOVE ${CFLAGS} ${CPPFLAGS} -c ${.ALLSRC} -o ${.TARGET}
+ @${LD} -x -r ${.TARGET}
+ @mv a.out ${.TARGET}
+
memmove.po: bcopy.c
${CC} -DMEMMOVE ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET}
@@ -47,6 +52,11 @@ memcpy.o: bcopy.c
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
+memcpy.go: bcopy.c
+ ${CC} -g -DMEMCOPY ${CFLAGS} ${CPPFLAGS} -c ${.ALLSRC} -o ${.TARGET}
+ @${LD} -x -r ${.TARGET}
+ @mv a.out ${.TARGET}
+
memcpy.po: bcopy.c
${CC} -DMEMCOPY ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET}
@@ -66,6 +76,11 @@ strchr.o: index.c
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
+strchr.go: index.c
+ ${CC} -g -DSTRCHR ${CFLAGS} ${CPPFLAGS} -c ${.ALLSRC} -o ${.TARGET}
+ @${LD} -x -r ${.TARGET}
+ @mv a.out ${.TARGET}
+
strchr.po: index.c
${CC} -DSTRCHR ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET}
@@ -84,6 +99,11 @@ strrchr.o: rindex.c
@${LD} -x -r ${.TARGET}
@mv a.out ${.TARGET}
+strrchr.go: rindex.c
+ ${CC} -g -DSTRRCHR ${CFLAGS} ${CPPFLAGS} -c ${.ALLSRC} -o ${.TARGET}
+ @${LD} -x -r ${.TARGET}
+ @mv a.out ${.TARGET}
+
strrchr.po: rindex.c
${CC} -DSTRRCHR ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET}