From 4dc1b095be5ac7d4fdd432f298fba8259563470b Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 28 Jan 2003 22:55:54 +0000 Subject: add a rule to built bzero.po as well --- sys/lib/libkern/arch/hppa/Makefile.inc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/lib/libkern/arch/hppa/Makefile.inc b/sys/lib/libkern/arch/hppa/Makefile.inc index 9fbf71fcb01..abef9b9e0d0 100644 --- a/sys/lib/libkern/arch/hppa/Makefile.inc +++ b/sys/lib/libkern/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.15 2002/09/15 09:49:01 mickey Exp $ +# $OpenBSD: Makefile.inc,v 1.16 2003/01/28 22:55:53 mickey Exp $ SRCS+= __main.c imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \ random.c ashrdi3.c divdi3.c strncpy.c strncmp.c strcmp.c memchr.c \ @@ -15,7 +15,13 @@ CLEANFILES+= bcopy.S spcopy.S 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} + @${LD} -X -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o + +bzero.po: ${KERNDIR}/memset.c + @echo "${COMPILE.c} -p -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}" + @${COMPILE.c} -p -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}.o + @${LD} -X -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o bcopy.S: ${M}/bcopy.m4 -- cgit v1.2.3