blob: 2e3e2692123d98a1b455c82ceb50a240e735afae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>
|