Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.16
      1 #	$NetBSD: Makefile,v 1.16 2001/06/10 14:12:48 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 dev_net.c bootp.c
     11 
     12 
     13 SRC_sa = alloc.c memcpy.c memset.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 udp.c memcmp.c bcmp.c loadfile.c dev_net.c
     17 
     18 SRC_kern= ashrdi3.c strcmp.c strlen.c strncpy.c inet_addr.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 CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
     32 CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
     33 CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
     34 
     35 CLEANFILES+= SRT0.o
     36 
     37 .include "../Makefile.booters"
     38 
     39 .PATH:  ${DIR_SA} ${DIR_KERN} 
     40 
     41 # only needed during build
     42 libinstall::
     43 
     44 all realall: lib${LIB}.a SRT0.o
     45 
     46 .include <bsd.lib.mk>
     47