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