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