#	$NetBSD: Makefile.booters,v 1.2 2003/10/08 01:40:23 simonb Exp $

S?=	${.CURDIR}/../../../..

.PHONY:	machine-links

machine-links:
	-rm -f machine && \
	ln -s $S/arch/${MACHINE}/include machine
	-rm -f ${MACHINE_ARCH} && \
	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}

CLEANFILES+=	machine ${MACHINE_ARCH}

beforedepend:	machine-links

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=
