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