summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/sparc64/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/arch/sparc64/Makefile.inc')
-rw-r--r--sys/lib/libkern/arch/sparc64/Makefile.inc30
1 files changed, 1 insertions, 29 deletions
diff --git a/sys/lib/libkern/arch/sparc64/Makefile.inc b/sys/lib/libkern/arch/sparc64/Makefile.inc
index d98e0a20ccd..52c05a7295d 100644
--- a/sys/lib/libkern/arch/sparc64/Makefile.inc
+++ b/sys/lib/libkern/arch/sparc64/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.3 2001/08/20 20:15:29 jason Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2002/09/06 22:59:58 art Exp $
# $NetBSD: Makefile.inc,v 1.4 2000/11/01 19:37:20 thorpej Exp $
SRCS+= __main.c \
@@ -9,31 +9,3 @@ SRCS+= __main.c \
strncasecmp.c strncmp.c strncpy.c \
scanc.c skpc.c \
htonl.S htons.S ntohl.S ntohs.S
-
-SRCS+= umul.S mul.S rem.S sdiv.S udiv.S umul.S urem.S
-SRCS+= mul.S saveregs.S umul.S
-
-# `source' files built from m4 source
-# the name `div.o' is taken for the ANSI C `div' function, hence sdiv here
-SRCS+= rem.S sdiv.S udiv.S urem.S
-CLEANFILES+=rem.S sdiv.S udiv.S urem.S
-
-sdiv.S: $M/divrem.m4
- echo 'building ${.TARGET} from ${.ALLSRC}'
- (echo "define(NAME,\`.div')define(OP,\`div')define(S,\`true')"; \
- cat ${.ALLSRC}) | m4 > ${.TARGET}
-
-udiv.S: $M/divrem.m4
- @echo 'building ${.TARGET} from ${.ALLSRC}'
- @(echo "define(NAME,\`.udiv')define(OP,\`div')define(S,\`false')"; \
- cat ${.ALLSRC}) | m4 > ${.TARGET}
-
-rem.S: $M/divrem.m4
- echo 'building ${.TARGET} from ${.ALLSRC}'
- (echo "define(NAME,\`.rem')define(OP,\`rem')define(S,\`true')"; \
- cat ${.ALLSRC}) | m4 > ${.TARGET}
-
-urem.S: $M/divrem.m4
- @echo 'building ${.TARGET} from ${.ALLSRC}'
- @(echo "define(NAME,\`.urem')define(OP,\`rem')define(S,\`false')"; \
- cat ${.ALLSRC}) | m4 > ${.TARGET}