Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.19.2.2
      1  1.19.2.2  nathanw #	$NetBSD: Makefile,v 1.19.2.2 2002/01/08 00:26:38 nathanw Exp $
      2  1.19.2.2  nathanw 
      3  1.19.2.2  nathanw LIB=sa
      4  1.19.2.2  nathanw 
      5  1.19.2.2  nathanw # Logically src/sys
      6  1.19.2.2  nathanw DIR_SA=$S/lib/libsa
      7  1.19.2.2  nathanw DIR_KERN=$S/lib/libkern
      8  1.19.2.2  nathanw 
      9  1.19.2.2  nathanw SRC_net= nfs.c rpc.c net.c ether.c arp.c in_cksum.c netif.c \
     10  1.19.2.2  nathanw 	 bootparam.c rarp.c dev_net.c bootp.c
     11  1.19.2.2  nathanw 
     12  1.19.2.2  nathanw 
     13  1.19.2.2  nathanw SRC_sa = alloc.c memcpy.c memset.c close.c exit.c getfile.c gets.c \
     14  1.19.2.2  nathanw 	 open.c printf.c read.c strerror.c ufs.c globals.c lseek.c panic.c \
     15  1.19.2.2  nathanw 	 closeall.c dev.c dkcksum.c nullfs.c fstat.c twiddle.c sprintf.c \
     16  1.19.2.2  nathanw 	 subr_prf.c intoa.c udp.c memcmp.c loadfile.c loadfile_aout.c \
     17  1.19.2.2  nathanw 	 loadfile_elf32.c dev_net.c
     18  1.19.2.2  nathanw 
     19  1.19.2.2  nathanw # XXX Needed until libsa's memcmp.c doesn't depend on bcmp...
     20  1.19.2.2  nathanw SRC_sa+= bcmp.c
     21  1.19.2.2  nathanw 
     22  1.19.2.2  nathanw SRC_kern= ashldi3.c ashrdi3.c strcmp.c strlen.c strncpy.c inet_addr.c
     23  1.19.2.2  nathanw 
     24  1.19.2.2  nathanw SRC_mvme= exec_mvme.c
     25  1.19.2.2  nathanw 
     26  1.19.2.2  nathanw SRC_here= clock.c chiptotime.c bugdev.c parse_args.c
     27  1.19.2.2  nathanw 
     28  1.19.2.2  nathanw SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_mvme} ${SRC_here}
     29  1.19.2.2  nathanw 
     30  1.19.2.2  nathanw # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
     31  1.19.2.2  nathanw # 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
     32  1.19.2.2  nathanw 
     33  1.19.2.2  nathanw DEFS= ${DBG} #-fno-defer-pop
     34  1.19.2.2  nathanw 
     35  1.19.2.2  nathanw CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
     36  1.19.2.2  nathanw CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
     37  1.19.2.2  nathanw CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
     38  1.19.2.2  nathanw 
     39  1.19.2.2  nathanw CLEANFILES+= SRT0.o
     40  1.19.2.2  nathanw 
     41  1.19.2.2  nathanw .include "../Makefile.booters"
     42  1.19.2.2  nathanw 
     43  1.19.2.2  nathanw .PATH:  ${DIR_SA} ${DIR_KERN} 
     44  1.19.2.2  nathanw 
     45  1.19.2.2  nathanw # only needed during build
     46  1.19.2.2  nathanw libinstall::
     47  1.19.2.2  nathanw 
     48  1.19.2.2  nathanw all realall: lib${LIB}.a SRT0.o
     49  1.19.2.2  nathanw 
     50  1.19.2.2  nathanw .include <bsd.own.mk>
     51  1.19.2.2  nathanw .undef DESTDIR
     52  1.19.2.2  nathanw .include <bsd.lib.mk>
     53