Home | History | Annotate | Line # | Download | only in stand
Makefile.buildboot revision 1.3
      1 #	$NetBSD: Makefile.buildboot,v 1.3 1999/02/13 02:54:48 lukem Exp $
      2 
      3 S=	${.CURDIR}/../../../..
      4 
      5 .PATH: ${.CURDIR}/../common
      6 
      7 COMMONSOURCE=	srt0.S promdev.c dvma.c
      8 
      9 SRCS=		${COMMONSOURCE} ${PROGSOURCE}
     10 MKMAN=		no
     11 BINMODE=	444
     12 
     13 RELOC_SUN4=	0x240000
     14 RELOC_SUN4C=	0x340000
     15 RELOC_SUN4M=	0x440000
     16 
     17 # Note: a `RELOC' value of 0x340000 seems to work on most machines
     18 RELOC?=		${RELOC_SUN4C}
     19 
     20 CPPFLAGS+=	-D_STANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS
     21 
     22 CPPFLAGS+=	-I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
     23 CFLAGS=		-O2
     24 
     25 ### find out what to use for libkern
     26 KERN_AS=	library
     27 .include "${S}/lib/libkern/Makefile.inc"
     28 LIBKERN=	${KERNLIB}
     29 
     30 .ifdef INCLUDE_LIBZ
     31 ### find out what to use for libz
     32 Z_AS=		library
     33 .include "${S}/lib/libz/Makefile.inc"
     34 LIBZ=		${ZLIB}
     35 .endif
     36 
     37 ### find out what to use for libsa
     38 SA_AS=		library
     39 .include "${S}/lib/libsa/Makefile.inc"
     40 LIBSA=		${SALIB}
     41