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