1 # $NetBSD: Makefile,v 1.14 1997/01/16 04:06:17 cgd Exp $ 2 3 LIB= sa 4 5 DIR=${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 11 CFLAGS+=-DSTANDALONE -DCOMPAT_UFS $(DEBUGFLAGS) -I${DIR} -I${DIR}/../.. 12 # 13 # Needed for PowerPC 14 CFLAGS+=$(EXTRACFLAGS) 15 16 # stand routines 17 SRCS+= alloc.c bcopy.c exit.c exec.c getfile.c gets.c globals.c \ 18 memcmp.c memcpy.c printf.c strerror.c 19 20 # io routines 21 SRCS+= 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 26 SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c 27 .endif 28 29 # network info services: 30 SRCS+= bootp.c rarp.c bootparam.c 31 32 # boot filesystems 33 SRCS+= ufs.c nfs.c cd9660.c 34 35 NOPROFILE= 36 NOPIC= 37 OBJMACHINE= 38 39 install: 40 41 .include <bsd.lib.mk> 42