From 2660cbbcf58b6e5a513127327d09197695969cd4 Mon Sep 17 00:00:00 2001 From: mickey <> Date: Wed, 5 Sep 2001 16:27:01 +0000 Subject: [PATCH] make debug libs build again --- src/lib/libc/string/Makefile.inc | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/lib/libc/string/Makefile.inc b/src/lib/libc/string/Makefile.inc index 8e839d66..e7b81d0c 100644 --- a/src/lib/libc/string/Makefile.inc +++ b/src/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}