Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.17.2.1
      1 #	$NetBSD: Makefile,v 1.17.2.1 2002/01/10 19:46:38 thorpej 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 loadfile.c loadfile_aout.c \
     17 	 loadfile_elf32.c dev_net.c
     18 
     19 # XXX Needed until libsa's memcmp.c doesn't depend on bcmp...
     20 SRC_sa+= bcmp.c
     21 
     22 SRC_kern= ashldi3.c ashrdi3.c strcmp.c strlen.c strncpy.c inet_addr.c
     23 
     24 SRC_mvme= exec_mvme.c
     25 
     26 SRC_here= clock.c chiptotime.c bugdev.c parse_args.c
     27 
     28 SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_mvme} ${SRC_here}
     29 
     30 # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
     31 # 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
     32 
     33 DEFS= ${DBG} #-fno-defer-pop
     34 
     35 CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
     36 CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
     37 CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
     38 
     39 CLEANFILES+= SRT0.o
     40 
     41 .include "../Makefile.booters"
     42 
     43 .PATH:  ${DIR_SA} ${DIR_KERN} 
     44 
     45 # only needed during build
     46 libinstall::
     47 
     48 all realall: lib${LIB}.a SRT0.o
     49 
     50 .include <bsd.own.mk>
     51 .undef DESTDIR
     52 .include <bsd.lib.mk>
     53