1 # $NetBSD: Makefile,v 1.7 1995/09/14 20:55:00 pk 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 # network routines 22 SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c 23 24 # network info services: 25 SRCS+= bootp.c rarp.c bootparam.c 26 27 # boot filesystems 28 SRCS+= ufs.c nfs.c 29 30 NOPROFILE= 31 NOPIC= 32 OBJMACHINE= 33 34 install: 35 36 .include <bsd.lib.mk> 37