Makefile revision 1.28
1#	$NetBSD: Makefile,v 1.28 2009/01/06 13:35:30 tsutsui Exp $
2
3LIB=	sa
4
5NOPIC=		# defined
6NOPROFILE=	# defined
7NOLINT=		# defnied
8
9NO_NET=
10
11# Logically src/sys
12S=${.CURDIR}/../../../..
13S_SA=${S}/lib/libsa
14S_KERN=${S}/lib/libkern
15S_MACHSA=${S}/arch/atari/stand/libsa
16
17.include "${S}/../common/lib/libc/Makefile.inc"
18
19.include "../Makefile.booters"
20
21CPPFLAGS+=	-I. -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
22
23.PATH:  ${S_SA} ${S_KERN}
24
25#
26# NetBSD/atari specific replacements: dev.c
27#
28
29# machine dependant routines
30SRCS=	consio.S diskio.c
31
32# from common/lib/libc
33SRCS+=	ashldi3.c ashrdi3.c bzero.c strcmp.c strlen.c
34
35# stand routines
36SRCS+=	alloc.c bcmp.c bcopy.c exec.c files.c getfile.c gets.c globals.c \
37	panic.c memcmp.c memcpy.c memmove.c memset.c printf.c strerror.c \
38	subr_prf.c twiddle.c
39
40# io routines
41SRCS+=	close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
42	lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
43
44.if !defined(NO_NET)
45# network routines
46SRCS+=	arp.c ether.c in_cksum.c net.c netif.c rpc.c
47.endif
48
49# network info services:
50SRCS+=	bootp.c rarp.c bootparam.c
51
52# boot filesystems
53SRCS+=	ufs.c nfs.c
54
55# only needed during build
56libinstall::
57
58.include <bsd.own.mk>
59.undef DESTDIR
60.include <bsd.lib.mk>
61