1 # $NetBSD: Makefile.booters,v 1.4 2005/12/11 12:19:44 christos Exp $
3 S?= ${.CURDIR}/../../../..
5 CFLAGS+= -ffreestanding
6 CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
7 CFLAGS+= -Wno-pointer-sign
10 .if !make(obj) && !make(clean) && !make(cleandir)
11 .NOPATH: machine ${MACHINE_ARCH}
12 .BEGIN: machine ${MACHINE_ARCH}
16 ln -s $S/arch/${MACHINE}/include machine
19 -rm -f ${MACHINE_ARCH} && \
20 ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
23 CLEANFILES+= machine ${MACHINE_ARCH}
26 # XXX SHOULD NOT NEED TO DEFINE THESE!