NetBSD/sys/arch/alpha/stand/Makefile.inc

38 lines
991 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.10 1997/09/06 14:26:47 drochner Exp $
.ifndef __INCLUDED_STAND_MAKEFILE_INC
__INCLUDED_STAND_MAKEFILE_INC=
.BEGIN: ${.OBJDIR}/machine
beforedepend all: ${.OBJDIR}/machine
CLEANFILES+= ${.OBJDIR}/machine
${.OBJDIR}/machine::
-rm $@
ln -s $S/arch/alpha/include $@
CPPFLAGS+= -I${.OBJDIR}
.include <bsd.own.mk> # for ECOFF_TOOLCHAIN definition
BINDIR= /usr/mdec
# For descriptions of regions available to bootstrap programs, see
# section 3.4.1.2 (pp. III 3-14 - III 3-18) of the second edition of
# the Alpha AXP Architecture Reference Manual.
PRIMARY_LOAD_ADDRESS= 20000000 # "Region 1 start"
SECONDARY_LOAD_ADDRESS= 20004000 # "Region 1 start" + 32k
HEAP_LIMIT= 20040000 # "Region 1 start" + 256k
CPPFLAGS+= -DPRIMARY_LOAD_ADDRESS="0x${PRIMARY_LOAD_ADDRESS}"
CPPFLAGS+= -DSECONDARY_LOAD_ADDRESS="0x${SECONDARY_LOAD_ADDRESS}"
SAMISCCPPFLAGS+= -DHEAP_LIMIT="0x${HEAP_LIMIT}"
.if defined(ECOFF_TOOLCHAIN)
CPPFLAGS+= -DECOFF_COMPAT
.endif
.endif