Browse Source

make debug libs build again

OPENBSD_3_0
mickey 23 years ago
parent
commit
2660cbbcf5
1 changed files with 21 additions and 1 deletions
  1. +21
    -1
      src/lib/libc/string/Makefile.inc

+ 21
- 1
src/lib/libc/string/Makefile.inc View File

@ -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 # string sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/string ${LIBCSRCDIR}/string .PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/string ${LIBCSRCDIR}/string
@ -26,6 +26,11 @@ memmove.o: bcopy.c
@${LD} -x -r ${.TARGET} @${LD} -x -r ${.TARGET}
@mv a.out ${.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 memmove.po: bcopy.c
${CC} -DMEMMOVE ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} ${CC} -DMEMMOVE ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET} @${LD} -X -r ${.TARGET}
@ -47,6 +52,11 @@ memcpy.o: bcopy.c
@${LD} -x -r ${.TARGET} @${LD} -x -r ${.TARGET}
@mv a.out ${.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 memcpy.po: bcopy.c
${CC} -DMEMCOPY ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} ${CC} -DMEMCOPY ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET} @${LD} -X -r ${.TARGET}
@ -66,6 +76,11 @@ strchr.o: index.c
@${LD} -x -r ${.TARGET} @${LD} -x -r ${.TARGET}
@mv a.out ${.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 strchr.po: index.c
${CC} -DSTRCHR ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} ${CC} -DSTRCHR ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET} @${LD} -X -r ${.TARGET}
@ -84,6 +99,11 @@ strrchr.o: rindex.c
@${LD} -x -r ${.TARGET} @${LD} -x -r ${.TARGET}
@mv a.out ${.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 strrchr.po: rindex.c
${CC} -DSTRRCHR ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} ${CC} -DSTRRCHR ${CFLAGS} ${CPPFLAGS} -c -p ${.ALLSRC} -o ${.TARGET}
@${LD} -X -r ${.TARGET} @${LD} -X -r ${.TARGET}


Loading…
Cancel
Save