Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.27
      1  1.27   tsutsui #	$NetBSD: Makefile,v 1.27 2009/03/20 11:42:25 tsutsui Exp $
      2  1.23   tsutsui 
      3   1.1  fredette # Logically src/sys
      4  1.27   tsutsui 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.27   tsutsui 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.25   tsutsui 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.27   tsutsui SRCS= SRT0.S SRT1.c
     23  1.27   tsutsui OBJS= SRT0.o SRT1.o
     24   1.1  fredette 
     25  1.27   tsutsui realall: ${OBJS}
     26   1.1  fredette 
     27  1.27   tsutsui .include <bsd.prog.mk>
     28   1.1  fredette 
     29  1.27   tsutsui ### find out what to use for libkern
     30  1.27   tsutsui KERN_AS= library
     31  1.27   tsutsui .include "${S}/lib/libkern/Makefile.inc"
     32  1.27   tsutsui LIBKERN= ${KERNLIB}
     33   1.1  fredette 
     34  1.27   tsutsui ### find out what to use for libsa
     35  1.27   tsutsui SA_AS= library
     36  1.27   tsutsui SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
     37  1.27   tsutsui .include "${S}/lib/libsa/Makefile.inc"
     38  1.27   tsutsui LIBSA= ${SALIB}
     39   1.1  fredette 
     40  1.27   tsutsui LIBS= ${LIBSA} ${LIBKERN}
     41   1.1  fredette 
     42  1.27   tsutsui realall: ${LIBS}
     43   1.1  fredette 
     44  1.27   tsutsui cleandir distclean: cleanlibdir
     45   1.1  fredette 
     46  1.27   tsutsui cleanlibdir:
     47  1.27   tsutsui 	-rm -rf lib
     48