xref: /netbsd-src/sys/arch/atari/stand/libsa/Makefile (revision fdecd6a253f999ae92b139670d9e15cc9df4497c)
1#	$NetBSD: Makefile,v 1.5 1997/05/31 21:22:04 cjs Exp $
2
3LIB=	sa
4
5NOPIC=
6NOPROFILE=
7OBJMACHINE=
8
9CPPFLAGS+=	${DEFS} ${INCL}
10CFLAGS+=	-fomit-frame-pointer -Wall
11NO_NET=
12
13DEFS=	-DSTANDALONE
14INCL=	-I- -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
15
16#
17# NetBSD/Atari specific replacements: stand.h dev.c
18#
19
20# machine dependant routines
21SRCS=	consio.s diskio.c
22
23# from lib/libkern
24SRCS+=	ashrdi3.c bzero.c strcmp.c strlen.c
25
26# stand routines
27SRCS+=	alloc.c bcopy.c exec.c getfile.c gets.c globals.c \
28	memcpy.c printf.c strerror.c
29
30# io routines
31SRCS+=	close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
32	lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
33
34.if !defined(NO_NET)
35# network routines
36SRCS+=	arp.c ether.c in_cksum.c net.c netif.c rpc.c
37.endif
38
39# network info services:
40SRCS+=	bootp.c rarp.c bootparam.c
41
42# boot filesystems
43SRCS+=	ufs.c nfs.c
44
45# Logically src/sys
46S=${.CURDIR}/../../../..
47S_SA=${S}/lib/libsa
48S_KERN=${S}/lib/libkern
49S_MACHSA=${S}/arch/atari/stand/libsa
50
51.PATH:  ${S_SA} ${S_KERN}
52
53# only needed during build
54libinstall::
55
56.include <bsd.lib.mk>
57