Makefile revision 1.9
11.9Sbjh21#	$NetBSD: Makefile,v 1.9 2001/01/10 18:23:47 bjh21 Exp $
21.1Scgd
31.1Scgd# For now, we install the machine and arch includes, and symlink 'machine'
41.1Scgd# to the location of the machine includes.
51.1Scgd#
61.1Scgd# Eventually, we should install everything.
71.1Scgd
81.1ScgdSUBDIR=	${MACHINE}
91.9Sbjh21ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/}
101.9Sbjh21.if ${MACHINE} != ${ARCHSUBDIR}
111.5Sdrochner.if exists(${ARCHSUBDIR})
121.5SdrochnerSUBDIR+= ${ARCHSUBDIR}
131.5Sdrochner.endif
141.6Seeh.endif
151.6Seeh.if ${MACHINE} == sparc
161.6SeehSUBDIR+= sparc64
171.1Scgd.endif
181.1Scgd
191.7Stsutsui#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \
201.7Stsutsui#	m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \
211.7Stsutsui#	pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k
221.1Scgd
231.1ScgdSYMLINKS= ${MACHINE} /usr/include/machine
241.2Scgd
251.2ScgdSYMLINKS+= machine/float.h /usr/include/float.h \
261.2Scgd	machine/frame.h /usr/include/frame.h \
271.2Scgd	machine/stdarg.h /usr/include/stdarg.h \
281.2Scgd	machine/varargs.h /usr/include/varargs.h
291.1Scgd
301.1Scgd.include <bsd.kinc.mk>
31