NetBSD/sys/arch/x68k/stand/Makefile.booters
isaki 9c4195c510 libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
 move that common rule to Makefile.booters
2002-05-05 11:46:29 +00:00

17 lines
348 B
Makefile

# $NetBSD: Makefile.booters,v 1.1 2002/05/05 11:46:29 isaki 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