Makefile revision 1.16
11.16Sthorpej#	$NetBSD: Makefile,v 1.16 2002/02/04 00:24:14 thorpej Exp $
21.1Scgd
31.1Scgd# For now, we install the machine and arch includes, and symlink 'machine'
41.11Smatt# to the location of the machine includes (usually).
51.1Scgd#
61.1Scgd# Eventually, we should install everything.
71.1Scgd
81.1ScgdSUBDIR=	${MACHINE}
91.16SthorpejARCHSUBDIR= ${MACHINE_CPU}
101.16Sthorpej
111.9Sbjh21.if ${MACHINE} != ${ARCHSUBDIR}
121.5Sdrochner.if exists(${ARCHSUBDIR})
131.5SdrochnerSUBDIR+= ${ARCHSUBDIR}
141.5Sdrochner.endif
151.6Seeh.endif
161.6Seeh.if ${MACHINE} == sparc
171.6SeehSUBDIR+= sparc64
181.10Such.endif
191.10Such.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
201.10SuchSUBDIR+= hpc
211.12Sfredette.endif
221.12Sfredette.if (${MACHINE} == sun2)
231.12SfredetteSUBDIR+= sun68k
241.1Scgd.endif
251.1Scgd
261.7Stsutsui#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \
271.7Stsutsui#	m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \
281.7Stsutsui#	pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k
291.1Scgd
301.1ScgdSYMLINKS= ${MACHINE} /usr/include/machine
311.2Scgd
321.2ScgdSYMLINKS+= machine/float.h /usr/include/float.h \
331.2Scgd	machine/frame.h /usr/include/frame.h \
341.2Scgd	machine/stdarg.h /usr/include/stdarg.h \
351.2Scgd	machine/varargs.h /usr/include/varargs.h
361.1Scgd
371.1Scgd.include <bsd.kinc.mk>
38