Makefile.booters revision 1.4
1#	$NetBSD: Makefile.booters,v 1.4 2005/12/11 12:19:44 christos Exp $
2
3S?=	${.CURDIR}/../../../..
4
5.PHONY:	machine-links
6
7CFLAGS+= -ffreestanding
8
9machine-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
15CLEANFILES+=	machine ${MACHINE_ARCH}
16
17beforedepend:	machine-links
18
19# XXX SHOULD NOT NEED TO DEFINE THESE!
20LIBCRT0=
21LIBC=
22LIBCRTBEGIN=
23LIBCRTEND=
24