Home | History | Annotate | Line # | Download | only in stand
Makefile.buildboot revision 1.5.2.2
      1  1.5.2.2       he #	$NetBSD: Makefile.buildboot,v 1.5.2.2 2000/07/09 09:14:48 he Exp $
      2      1.1      mrg 
      3      1.1      mrg S=	${.CURDIR}/../../../..
      4      1.1      mrg 
      5      1.4       pk .PATH: ${.CURDIR}/../common ${.CURDIR}/../../sparc
      6      1.1      mrg 
      7      1.4       pk COMMONSOURCE=	srt0.S promdev.c dvma.c promlib.c
      8      1.1      mrg 
      9      1.1      mrg SRCS=		${COMMONSOURCE} ${PROGSOURCE}
     10      1.3    lukem MKMAN=		no
     11      1.1      mrg BINMODE=	444
     12      1.1      mrg 
     13  1.5.2.2       he RELOCS=		200000 3E0000 400000 700000
     14  1.5.2.2       he # Note: a `RELOC' value of 0x3E0000 seems to work on most machines
     15  1.5.2.2       he RELOC_DEFAULT?=	3E0000
     16  1.5.2.1       he # `bootxx' is linked at a different address to circumvent i-cache
     17  1.5.2.1       he # flushing issues on Hypersparcs
     18  1.5.2.2       he RELOC_BOOTXX=	3F8000
     19      1.1      mrg 
     20      1.1      mrg # Note: a `RELOC' value of 0x340000 seems to work on most machines
     21      1.1      mrg RELOC?=		${RELOC_SUN4C}
     22      1.1      mrg 
     23      1.2  hannken CPPFLAGS+=	-D_STANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS
     24      1.1      mrg 
     25      1.5       pk CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
     26      1.1      mrg CFLAGS=		-O2
     27      1.4       pk CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes
     28      1.1      mrg 
     29      1.1      mrg ### find out what to use for libkern
     30      1.1      mrg KERN_AS=	library
     31      1.1      mrg .include "${S}/lib/libkern/Makefile.inc"
     32      1.1      mrg LIBKERN=	${KERNLIB}
     33      1.1      mrg 
     34      1.1      mrg .ifdef INCLUDE_LIBZ
     35      1.1      mrg ### find out what to use for libz
     36      1.1      mrg Z_AS=		library
     37      1.1      mrg .include "${S}/lib/libz/Makefile.inc"
     38      1.1      mrg LIBZ=		${ZLIB}
     39      1.1      mrg .endif
     40      1.1      mrg 
     41      1.1      mrg ### find out what to use for libsa
     42      1.1      mrg SA_AS=		library
     43      1.1      mrg .include "${S}/lib/libsa/Makefile.inc"
     44      1.1      mrg LIBSA=		${SALIB}
     45      1.5       pk 
     46      1.5       pk .BEGIN:
     47      1.5       pk 	@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
     48