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