# $OpenBSD: Makefile.inc,v 1.15 2014/04/13 08:35:27 brad Exp $ # $NetBSD: Makefile.inc,v 1.8 1997/04/06 08:39:38 cgd Exp $ 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. # "Region 1 start" PRIMARY_LOAD_ADDRESS= 20000000 # "Region 1 start" + 32k SECONDARY_LOAD_ADDRESS= 20004000 # "Region 1 start" + 256k HEAP_LIMIT= 20040000 CPPFLAGS+= -DPRIMARY_LOAD_ADDRESS="0x${PRIMARY_LOAD_ADDRESS}" CPPFLAGS+= -DSECONDARY_LOAD_ADDRESS="0x${SECONDARY_LOAD_ADDRESS}" CPPFLAGS+= -D_STANDALONE EXTRACFLAGS+= -DHEAP_LIMIT="0x${HEAP_LIMIT}" CFLAGS+= -fno-stack-protector -fno-builtin-printf \ -fno-builtin-vprintf -fno-builtin-putchar \ -fno-builtin-puts -fno-builtin-exit