diff options
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libkern/arch/powerpc/Makefile.inc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sys/lib/libkern/arch/powerpc/Makefile.inc b/sys/lib/libkern/arch/powerpc/Makefile.inc index 905dfad0f05..a102894c6ab 100644 --- a/sys/lib/libkern/arch/powerpc/Makefile.inc +++ b/sys/lib/libkern/arch/powerpc/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.7 2000/12/18 18:40:47 provos Exp $ +# $OpenBSD: Makefile.inc,v 1.8 2001/07/09 04:24:29 mickey Exp $ # $NetBSD: Makefile.inc,v 1.6 1994/10/26 06:39:03 cgd Exp $ CFLAGS += -D_KERNEL @@ -6,10 +6,20 @@ CFLAGS += -D_KERNEL SRCS+= __main.c __eabi.c \ imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \ memchr.c memcmp.c memset.c \ - bcmp.c bzero.c ffs.c strcat.c strcmp.c strcpy.c strlcat.c strlcpy.c \ + bcmp.c ffs.c strcat.c strcmp.c strcpy.c strlcat.c strlcpy.c \ strlen.c strncmp.c \ - strncpy.c scanc.c skpc.c locc.c htonl.c htons.c ntohl.c ntohs.c \ + strncpy.c scanc.c skpc.c locc.c \ memcpy.c random.c strncasecmp.c # bcopy.c htolel.c letohl.c htoles.c letohs.c copystr.c \ # copyinstr.c copyoutstr.c copystr.c copyin.c copyout.c \ + +OBJS+= bzero.o +CLEANFILES+= bzero.o + +bzero.o: ${KERNDIR}/memset.c + @echo "${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}" + @${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}.o + @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o + |