NetBSD/sys/arch/hp300/stand/Makefile.inc

23 lines
456 B
Makefile

# $NetBSD: Makefile.inc,v 1.14 2005/12/11 12:17:19 christos Exp $
BINDIR= /usr/mdec
release:
S?= ${.CURDIR}/../../../..
.PHONY: machine-links
beforedepend: machine-links
# ${MACHINE} then ${MACHINE_ARCH}
machine-links:
-rm -f machine && \
ln -s $S/arch/hp300/include machine
-rm -f hp300 && \
ln -s $S/arch/hp300/include hp300
-rm -f m68k && \
ln -s $S/arch/m68k/include m68k
CLEANFILES+=machine hp300 m68k
realall: machine-links ${PROG}