1 # $NetBSD: Makefile,v 1.10 1995/10/01 06:00:32 phil Exp $ 2 3 LIB= sa 4 5 DIR=${SAREL}${SADIR} 6 7 .PATH: ${DIR} 8 9 #DEBUGFLAGS= -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 # stand routines 14 SRCS+= alloc.c bcopy.c exit.c exec.c getfile.c gets.c globals.c \ 15 printf.c strerror.c 16 17 # io routines 18 SRCS+= close.c dev.c disklabel.c ioctl.c lseek.c open.c read.c \ 19 stat.c write.c 20 21 .if !defined(NO_NET) 22 # network routines 23 SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c 24 .endif 25 26 # network info services: 27 SRCS+= bootp.c rarp.c bootparam.c 28 29 # boot filesystems 30 SRCS+= ufs.c nfs.c 31 32 NOPROFILE= 33 NOPIC= 34 OBJMACHINE= 35 36 install: 37 38 .include <bsd.lib.mk> 39