summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-28 22:55:54 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-28 22:55:54 +0000
commit4dc1b095be5ac7d4fdd432f298fba8259563470b (patch)
tree9cf9e3a9957b81a139f60914e0474240c11963e4 /sys/lib
parentc23d089fed5d4fb4f4942877c0ef2edff1a35529 (diff)
add a rule to built bzero.po as well
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/arch/hppa/Makefile.inc10
1 files 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