1 1.1 tsutsui # $NetBSD: Makefile.booters,v 1.1 2009/01/06 13:35:30 tsutsui Exp $ 2 1.1 tsutsui 3 1.1 tsutsui BINDIR= /usr/mdec/${BTYPE:tl} 4 1.1 tsutsui 5 1.1 tsutsui DBG= 6 1.1 tsutsui COPTS= -Os -fomit-frame-pointer -fno-function-cse -fstrength-reduce 7 1.1 tsutsui 8 1.1 tsutsui CPPFLAGS+= -D_STANDALONE -DHEAP_VARIABLE 9 1.1 tsutsui CPPFLAGS+= -D__daddr_t=int32_t 10 1.1 tsutsui 11 1.1 tsutsui CFLAGS+= -ffreestanding 12 1.1 tsutsui CFLAGS+= -Wall 13 1.1 tsutsui CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith 14 1.1 tsutsui 15 1.1 tsutsui .if !make(obj) && !make(clean) && !make(cleandir) 16 1.1 tsutsui .BEGIN: 17 1.1 tsutsui @([ -h machine ] || \ 18 1.1 tsutsui ln -s ${S}/arch/${MACHINE}/include machine) 19 1.1 tsutsui @([ -h ${MACHINE_ARCH} ] || \ 20 1.1 tsutsui ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}) 21 1.1 tsutsui .NOPATH: machine ${MACHINE_ARCH} 22 1.1 tsutsui .endif 23 1.1 tsutsui CLEANFILES+= machine ${MACHINE_ARCH} 24