1 # $NetBSD: Makefile,v 1.13 2000/07/28 20:08:21 scw Exp $ 2 3 LIB=sa 4 5 # Logically src/sys 6 DIR_SA=$S/lib/libsa 7 DIR_KERN=$S/lib/libkern 8 9 SRC_net= nfs.c rpc.c net.c ether.c arp.c in_cksum.c netif.c \ 10 bootparam.c rarp.c 11 12 13 SRC_sa = alloc.c bcopy.c bcmp.c memcpy.c close.c exit.c getfile.c gets.c \ 14 open.c printf.c read.c strerror.c ufs.c globals.c lseek.c panic.c \ 15 closeall.c dev.c dkcksum.c nullfs.c fstat.c twiddle.c sprintf.c \ 16 subr_prf.c intoa.c bzero.c 17 18 SRC_kern= ashrdi3.c strcmp.c strlen.c 19 20 SRC_mvme= exec_mvme.c 21 22 SRC_here= clock.c chiptotime.c bugdev.c parse_args.c 23 24 SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_mvme} ${SRC_here} 25 26 # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \ 27 # -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG 28 29 DEFS= ${DBG} #-fno-defer-pop 30 31 CLEANFILES+= SRT0.o 32 33 .include "../Makefile.booters" 34 35 .PATH: ${DIR_SA} ${DIR_KERN} 36 37 # only needed during build 38 libinstall:: 39 40 all realall: lib${LIB}.a SRT0.o 41 42 .include <bsd.lib.mk> 43