1 # $NetBSD: Makefile.inc,v 1.14 2005/12/11 12:17:19 christos Exp $ 2 3 BINDIR= /usr/mdec 4 5 release: 6 7 S?= ${.CURDIR}/../../../.. 8 9 .PHONY: machine-links 10 beforedepend: machine-links 11 # ${MACHINE} then ${MACHINE_ARCH} 12 machine-links: 13 -rm -f machine && \ 14 ln -s $S/arch/hp300/include machine 15 -rm -f hp300 && \ 16 ln -s $S/arch/hp300/include hp300 17 -rm -f m68k && \ 18 ln -s $S/arch/m68k/include m68k 19 CLEANFILES+=machine hp300 m68k 20 21 realall: machine-links ${PROG} 22 23