Home | History | Annotate | Line # | Download | only in common
Makefile revision 1.2.6.2
      1  1.2.6.2  bouyer #	$NetBSD: Makefile,v 1.2.6.2 2000/11/20 22:35:42 bouyer Exp $
      2  1.2.6.2  bouyer 
      3  1.2.6.2  bouyer S= ${.CURDIR}/../../../..
      4  1.2.6.2  bouyer 
      5  1.2.6.2  bouyer OBJS= romcalls.o
      6  1.2.6.2  bouyer 
      7  1.2.6.2  bouyer CFLAGS= -Os -G 0 -mno-abicalls -Wall
      8  1.2.6.2  bouyer 
      9  1.2.6.2  bouyer CPPFLAGS+= -D_STANDALONE #-DBOOT_DEBUG
     10  1.2.6.2  bouyer CPPFLAGS+= -I. -I${S}
     11  1.2.6.2  bouyer 
     12  1.2.6.2  bouyer AFLAGS= -D_LOCORE
     13  1.2.6.2  bouyer 
     14  1.2.6.2  bouyer ### find out what to use for libkern
     15  1.2.6.2  bouyer .include "${S}/lib/libkern/Makefile.inc"
     16  1.2.6.2  bouyer 
     17  1.2.6.2  bouyer ### find out what to use for libz
     18  1.2.6.2  bouyer .include "${S}/lib/libz/Makefile.inc"
     19  1.2.6.2  bouyer 
     20  1.2.6.2  bouyer ### find out what to use for libsa
     21  1.2.6.2  bouyer SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes
     22  1.2.6.2  bouyer .include "${S}/lib/libsa/Makefile.inc"
     23  1.2.6.2  bouyer 
     24  1.2.6.2  bouyer .if !make(obj) && !make(clean)
     25  1.2.6.2  bouyer .BEGIN:
     26  1.2.6.2  bouyer 	@[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine
     27  1.2.6.2  bouyer 	@[ -h mips ] || ln -s ${S}/arch/mips/include mips
     28  1.2.6.2  bouyer .NOPATH: machine mips
     29  1.2.6.2  bouyer CLEANFILES+= machine mips
     30  1.2.6.2  bouyer .endif
     31  1.2.6.2  bouyer 
     32  1.2.6.2  bouyer realall: ${OBJS} ${KERNLIB} ${ZLIB} ${SALIB}
     33  1.2.6.2  bouyer #	ln -s ${KERNLIB}
     34  1.2.6.2  bouyer #	ln -s ${ZLIB}
     35  1.2.6.2  bouyer #	ln -s ${SALIB}
     36  1.2.6.2  bouyer 
     37  1.2.6.2  bouyer .include <bsd.prog.mk>
     38