1997-09-06 18:26:47 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.10 1997/09/06 14:26:47 drochner Exp $
|
1997-02-17 00:27:06 +03:00
|
|
|
|
|
|
|
.ifndef __INCLUDED_STAND_MAKEFILE_INC
|
|
|
|
__INCLUDED_STAND_MAKEFILE_INC=
|
1996-09-23 08:28:46 +04:00
|
|
|
|
1997-09-06 18:02:13 +04:00
|
|
|
.BEGIN: ${.OBJDIR}/machine
|
1997-09-06 18:26:47 +04:00
|
|
|
beforedepend all: ${.OBJDIR}/machine
|
1997-09-06 18:02:13 +04:00
|
|
|
CLEANFILES+= ${.OBJDIR}/machine
|
|
|
|
|
|
|
|
${.OBJDIR}/machine::
|
|
|
|
-rm $@
|
|
|
|
ln -s $S/arch/alpha/include $@
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${.OBJDIR}
|
|
|
|
|
1997-02-23 23:42:24 +03:00
|
|
|
.include <bsd.own.mk> # for ECOFF_TOOLCHAIN definition
|
1995-11-23 05:33:17 +03:00
|
|
|
|
|
|
|
BINDIR= /usr/mdec
|
|
|
|
|
1997-01-16 10:50:34 +03:00
|
|
|
# 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
|
1995-11-23 05:33:17 +03:00
|
|
|
|
|
|
|
CPPFLAGS+= -DPRIMARY_LOAD_ADDRESS="0x${PRIMARY_LOAD_ADDRESS}"
|
|
|
|
CPPFLAGS+= -DSECONDARY_LOAD_ADDRESS="0x${SECONDARY_LOAD_ADDRESS}"
|
1997-02-17 00:27:06 +03:00
|
|
|
|
|
|
|
SAMISCCPPFLAGS+= -DHEAP_LIMIT="0x${HEAP_LIMIT}"
|
1996-09-23 08:28:46 +04:00
|
|
|
|
1997-02-23 23:42:24 +03:00
|
|
|
.if defined(ECOFF_TOOLCHAIN)
|
1996-09-23 08:28:46 +04:00
|
|
|
CPPFLAGS+= -DECOFF_COMPAT
|
|
|
|
.endif
|
1997-02-17 00:27:06 +03:00
|
|
|
|
|
|
|
.endif
|