Home | History | Annotate | Line # | Download | only in stand
Makefile.buildboot revision 1.12.4.1
      1  1.12.4.1        tv #	$NetBSD: Makefile.buildboot,v 1.12.4.1 2000/10/19 14:24:24 tv 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.12.4.1        tv # Note: relocating `boot' at 0x3C8000 seems to work on most machines
     14  1.12.4.1        tv RELOC_DEFAULT?=	3C8000
     15  1.12.4.1        tv RELOCS=		$(RELOC_DEFAULT)
     16  1.12.4.1        tv #RELOCS+=	200000 400000 700000		# additional link addresses
     17  1.12.4.1        tv 
     18      1.11        pk # `bootxx' is linked at a different address to circumvent i-cache
     19      1.11        pk # flushing issues on Hypersparcs
     20  1.12.4.1        tv RELOC_BOOTXX=	300000
     21       1.1       mrg 
     22      1.12        pk CPPFLAGS+=	-D_STANDALONE -DSUN4 -DSUN4C -DHEAP_VARIABLE
     23       1.1       mrg 
     24       1.5        pk CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
     25       1.1       mrg CFLAGS=		-O2
     26       1.4        pk CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes
     27       1.1       mrg 
     28       1.1       mrg ### find out what to use for libkern
     29       1.1       mrg KERN_AS=	library
     30       1.1       mrg .include "${S}/lib/libkern/Makefile.inc"
     31       1.1       mrg LIBKERN=	${KERNLIB}
     32       1.1       mrg 
     33       1.1       mrg .ifdef INCLUDE_LIBZ
     34       1.1       mrg ### find out what to use for libz
     35       1.1       mrg Z_AS=		library
     36       1.1       mrg .include "${S}/lib/libz/Makefile.inc"
     37       1.1       mrg LIBZ=		${ZLIB}
     38       1.1       mrg .endif
     39       1.1       mrg 
     40       1.1       mrg ### find out what to use for libsa
     41       1.1       mrg SA_AS=		library
     42       1.6  christos SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
     43       1.1       mrg .include "${S}/lib/libsa/Makefile.inc"
     44       1.1       mrg LIBSA=		${SALIB}
     45       1.5        pk 
     46       1.8        pk .if !make(obj)
     47       1.5        pk .BEGIN:
     48       1.5        pk 	@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
     49       1.9   mycroft .NOPATH: machine
     50       1.9   mycroft CLEANFILES+= machine
     51       1.8        pk .endif
     52