Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.8.2.1.2.1
      1  1.8.2.1  perry #	$NetBSD: Makefile,v 1.8.2.1.2.1 1999/06/21 00:52:35 thorpej Exp $
      2      1.1  chuck 
      3      1.1  chuck LIB=sa
      4      1.1  chuck 
      5      1.2  chuck CLEANFILES+=SRT0.o 
      6      1.2  chuck 
      7      1.7  lukem MKPIC=no
      8      1.7  lukem MKPROFILE=no
      9  1.8.2.1  perry MKLINT=no
     10      1.1  chuck 
     11      1.1  chuck # Logically src/sys
     12      1.1  chuck S=${.CURDIR}/../../../..
     13      1.1  chuck DIR_SA=$S/lib/libsa
     14      1.1  chuck DIR_KERN=$S/lib/libkern
     15      1.1  chuck 
     16      1.2  chuck SRC_net= nfs.c rpc.c net.c ether.c arp.c in_cksum.c netif.c \
     17      1.1  chuck 	 bootparam.c rarp.c
     18      1.1  chuck 
     19      1.2  chuck 
     20      1.2  chuck SRC_sa = alloc.c bcopy.c memcpy.c close.c exit.c getfile.c gets.c open.c \
     21      1.8    scw 	 printf.c read.c strerror.c ufs.c globals.c lseek.c panic.o \
     22      1.8    scw 	 closeall.c dev.c dkcksum.c nullfs.c fstat.c twiddle.o sprintf.o \
     23      1.8    scw 	 subr_prf.c
     24      1.1  chuck 
     25      1.1  chuck SRC_kern= ashrdi3.c bcmp.c bzero.c strcmp.c strlen.c
     26      1.1  chuck 
     27      1.2  chuck SRC_mvme= exec_mvme.c
     28      1.2  chuck 
     29      1.2  chuck SRC_here= clock.c bugdev.c parse_args.c
     30      1.1  chuck 
     31      1.2  chuck SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_mvme} ${SRC_here}
     32      1.1  chuck 
     33      1.1  chuck # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
     34      1.1  chuck # 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
     35      1.1  chuck 
     36  1.8.2.1  perry DEFS= -D_STANDALONE
     37      1.6    scw CPPFLAGS+= -I. -I${.CURDIR}/../libbug -I${S}/lib/libsa -I${S}
     38      1.2  chuck COPTS= #-fno-defer-pop
     39      1.6    scw CFLAGS= -O2 ${COPTS} ${DEFS} ${DBG}
     40      1.1  chuck 
     41      1.2  chuck .PATH:  ${DIR_SA} ${DIR_KERN} 
     42      1.1  chuck 
     43      1.2  chuck all: libsa.a SRT0.o 
     44      1.5    cjs 
     45      1.5    cjs # only needed during build
     46      1.5    cjs libinstall::
     47      1.1  chuck 
     48      1.1  chuck .include <bsd.lib.mk>
     49