Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.24.58.2
      1  1.24.58.2      yamt #	$NetBSD: Makefile,v 1.24.58.2 2010/08/11 22:52:50 yamt Exp $
      2       1.23   tsutsui 
      3        1.1  fredette # Logically src/sys
      4  1.24.58.1      yamt S!= cd ${.CURDIR}/../../../..; pwd
      5        1.1  fredette DIR_SA=${S}/lib/libsa
      6       1.21   tsutsui DIR_KERN=${S}/lib/libkern ${S}/lib/libkern/arch/m68k
      7       1.21   tsutsui DIR_LIBC=${S}/../common/lib/libc
      8        1.1  fredette 
      9       1.23   tsutsui # DEBUG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
     10        1.1  fredette #  -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG -DDEBUG_PROM
     11        1.1  fredette 
     12       1.23   tsutsui CPUFLAGS=	# ignore settings in /etc/mk.conf
     13       1.19   tsutsui DEFS= -Dsun3 -D_STANDALONE -D__daddr_t=int32_t
     14  1.24.58.1      yamt INCL= -I. -I${.CURDIR} -I${S}/lib/libsa -I${S} -I${S}/arch
     15        1.1  fredette AFLAGS= -Wa,-mc68020 -Wa,-mc68851
     16       1.23   tsutsui CFLAGS= -mc68000 -Wa,-mc68010 -Wa,-m68851 -msoft-float
     17  1.24.58.1      yamt CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
     18       1.23   tsutsui COPTS= -Os -fno-defer-pop -ffreestanding
     19       1.23   tsutsui CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
     20        1.1  fredette CLEANFILES= SRT0.o SRT1.o vers.c
     21        1.1  fredette 
     22  1.24.58.1      yamt SRCS= SRT0.S SRT1.c
     23  1.24.58.1      yamt OBJS= SRT0.o SRT1.o
     24        1.1  fredette 
     25  1.24.58.1      yamt realall: ${OBJS}
     26        1.1  fredette 
     27  1.24.58.1      yamt .include <bsd.prog.mk>
     28        1.1  fredette 
     29  1.24.58.1      yamt ### find out what to use for libkern
     30  1.24.58.1      yamt KERN_AS= library
     31  1.24.58.1      yamt .include "${S}/lib/libkern/Makefile.inc"
     32  1.24.58.1      yamt LIBKERN= ${KERNLIB}
     33        1.1  fredette 
     34  1.24.58.1      yamt ### find out what to use for libsa
     35  1.24.58.1      yamt SA_AS= library
     36  1.24.58.1      yamt SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
     37  1.24.58.1      yamt .include "${S}/lib/libsa/Makefile.inc"
     38  1.24.58.1      yamt LIBSA= ${SALIB}
     39        1.1  fredette 
     40  1.24.58.1      yamt LIBS= ${LIBSA} ${LIBKERN}
     41        1.1  fredette 
     42  1.24.58.1      yamt realall: ${LIBS}
     43        1.1  fredette 
     44  1.24.58.2      yamt cleandir distclean: .WAIT cleanlibdir
     45        1.1  fredette 
     46  1.24.58.1      yamt cleanlibdir:
     47  1.24.58.1      yamt 	-rm -rf lib
     48