summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/stand/libkern/Makefile
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-09-17 10:46:26 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-09-17 10:46:26 +0000
commit6476cf829b28337c9b81bab966bbc4a4abe37982 (patch)
tree4c6323f69275a5aaa2d1e0a467f4f907e2f47314 /sys/arch/sparc/stand/libkern/Makefile
parent3e5a5259f8fb1b6393dd2cf83fb2c3eeda0ea959 (diff)
Reorganizaed bootblocks. Builds like hp300 now.
Diffstat (limited to 'sys/arch/sparc/stand/libkern/Makefile')
-rw-r--r--sys/arch/sparc/stand/libkern/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/arch/sparc/stand/libkern/Makefile b/sys/arch/sparc/stand/libkern/Makefile
new file mode 100644
index 00000000000..2e3e2692123
--- /dev/null
+++ b/sys/arch/sparc/stand/libkern/Makefile
@@ -0,0 +1,32 @@
+# $OpenBSD: Makefile,v 1.1 1997/09/17 10:46:22 downsj Exp $
+
+LIB= kern
+
+.PATH: ${.CURDIR}/../../../../lib/libkern
+.PATH: ${.CURDIR}/../../../../lib/libkern/arch/sparc
+
+.include "${.CURDIR}/../../../../lib/libkern/arch/sparc/Makefile.inc"
+
+CFLAGS= -O2 -I${.CURDIR}/../include -I${.CURDIR}/../../../.. \
+ -I${.CURDIR}/../../../../lib/libkern \
+ -I${.CURDIR}/../../../../lib/libkern/arch/sparc
+
+AFLAGS= -x assembler-with-cpp -traditional-cpp -I${.CURDIR}/../include \
+ -I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libkern \
+ -I${.CURDIR}/../../../../lib/libkern/arch/sparc
+
+# kern routines
+SRCS= __main.c ashrdi3.c bzero.S divdi3.c qdivrem.c strlen.S strcat.c \
+ strcmp.c strcpy.c strncmp.c umoddi3.c
+
+SRCS+= umul.S mul.S rem.S sdiv.S udiv.S umul.S urem.S
+SRCS+= mul.S saveregs.S umul.S
+
+${OBJS}: ${.CURDIR}/../Makefile.inc
+
+NOPROFILE=
+NOPIC=
+
+install:
+
+.include <bsd.lib.mk>