summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/hppa/Makefile.inc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-05-19 17:10:52 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-05-19 17:10:52 +0000
commitf20c27e4f0b47089a51022e6fe9536f12f33f29e (patch)
tree167f58dd2f5f8dfb58b8dcb68e9d11cd22878d1e /sys/lib/libkern/arch/hppa/Makefile.inc
parent7ec87eaaa2f1a1f8e3d401f689bce716e4c4cf7f (diff)
bcopy() and space-space bcopy()
Diffstat (limited to 'sys/lib/libkern/arch/hppa/Makefile.inc')
-rw-r--r--sys/lib/libkern/arch/hppa/Makefile.inc15
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/lib/libkern/arch/hppa/Makefile.inc b/sys/lib/libkern/arch/hppa/Makefile.inc
index 629462f8b79..f60d6522f98 100644
--- a/sys/lib/libkern/arch/hppa/Makefile.inc
+++ b/sys/lib/libkern/arch/hppa/Makefile.inc
@@ -1,7 +1,18 @@
-# $OpenBSD: Makefile.inc,v 1.6 1999/04/20 21:08:51 mickey Exp $
+# $OpenBSD: Makefile.inc,v 1.7 1999/05/19 17:10:51 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 bcopy.S bcmp.S ffs.S
+SRCS+= milli.S bzero.S bcmp.S ffs.S
+
+SRCS+= bcopy.S spcopy.S
+CLEANFILES+= bcopy.S spcopy.S
+
+bcopy.S: ${M}/bcopy.m4
+ @echo 'building ${.TARGET} from ${.ALLSRC}'
+ @m4 -DNAME=bcopy ${.ALLSRC} > ${.TARGET}
+
+spcopy.S: ${M}/bcopy.m4
+ @echo 'building ${.TARGET} from ${.ALLSRC}'
+ @m4 -DNAME=spcopy ${.ALLSRC} > ${.TARGET}