Makefile revision 1.13
1#	$NetBSD: Makefile,v 1.13 1996/10/02 16:19:51 ws Exp $
2
3LIB=	sa
4
5DIR=${SAREL}${SADIR}
6
7.PATH: ${DIR}
8
9#DEBUGFLAGS= -DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG -DRPC_DEBUG -DRARP_DEBUG -DDEBUG -DPARANOID -Wall
10#DEBUGFLAGS= -ansi -pedantic -Wall
11CFLAGS+=-DSTANDALONE -DCOMPAT_UFS $(DEBUGFLAGS) -I${DIR} -I${DIR}/../..
12#
13# Needed for PowerPC
14CFLAGS+=$(EXTRACFLAGS)
15
16# stand routines
17SRCS+=	alloc.c bcopy.c exit.c exec.c getfile.c gets.c globals.c \
18	memcpy.c printf.c strerror.c
19
20# io routines
21SRCS+=	close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
22	lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
23
24.if !defined(NO_NET)
25# network routines
26SRCS+=	arp.c ether.c in_cksum.c net.c netif.c rpc.c
27.endif
28
29# network info services:
30SRCS+=	bootp.c rarp.c bootparam.c
31
32# boot filesystems
33SRCS+=	ufs.c nfs.c cd9660.c
34
35NOPROFILE=
36NOPIC=
37OBJMACHINE=
38
39install:
40
41.include <bsd.lib.mk>
42