summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/hppa/Makefile.inc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-25 15:28:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-25 15:28:24 +0000
commit78b211936dd81bb8b0a9f33cef1da3adbdba19f4 (patch)
tree55be035bf8ff2b6343ca912be7dc4c80f83e1e2c /sys/lib/libkern/arch/hppa/Makefile.inc
parent0dfce453fddaf3aa0bd6f6fafa69e004b79147d6 (diff)
screw .S version memset does same job...
Diffstat (limited to 'sys/lib/libkern/arch/hppa/Makefile.inc')
-rw-r--r--sys/lib/libkern/arch/hppa/Makefile.inc13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/lib/libkern/arch/hppa/Makefile.inc b/sys/lib/libkern/arch/hppa/Makefile.inc
index f60d6522f98..337a2fd52a7 100644
--- a/sys/lib/libkern/arch/hppa/Makefile.inc
+++ b/sys/lib/libkern/arch/hppa/Makefile.inc
@@ -1,13 +1,20 @@
-# $OpenBSD: Makefile.inc,v 1.7 1999/05/19 17:10:51 mickey Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2000/04/25 15:28:23 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 \
memset.c strlen.c strcpy.c strcat.c skpc.c strncasecmp.c scanc.c
-SRCS+= milli.S bzero.S bcmp.S ffs.S
+SRCS+= milli.S bcmp.S ffs.S
+OBJS+= bzero.o
SRCS+= bcopy.S spcopy.S
-CLEANFILES+= bcopy.S spcopy.S
+CLEANFILES+= bcopy.S spcopy.S bzero.o
+
+bzero.o: ${.CURDIR}/memset.c
+ @echo "${COMPILE.c} -DBZERO ${.CURDIR}/memset.c -o ${.TARGET}"
+ @${COMPILE.c} -DBZERO ${.CURDIR}/memset.c -o ${.TARGET}.o
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
bcopy.S: ${M}/bcopy.m4
@echo 'building ${.TARGET} from ${.ALLSRC}'