Makefile.booters revision 1.4.88.1 1 # $NetBSD: Makefile.booters,v 1.4.88.1 2012/03/17 18:38:57 bouyer Exp $
2
3 S?= ${.CURDIR}/../../../..
4
5 .PHONY: machine-links
6
7 CFLAGS+= -ffreestanding
8
9 CPPFLAGS+= -D__daddr_t=int32_t
10
11 machine-links:
12 -rm -f machine && \
13 ln -s $S/arch/${MACHINE}/include machine
14 -rm -f ${MACHINE_ARCH} && \
15 ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
16
17 CLEANFILES+= machine ${MACHINE_ARCH}
18
19 beforedepend: machine-links
20
21 # XXX SHOULD NOT NEED TO DEFINE THESE!
22 LIBCRT0=
23 LIBC=
24 LIBCRTBEGIN=
25 LIBCRTEND=
26