Makefile revision 1.28
11.28Sgavan#	$NetBSD: Makefile,v 1.28 2004/10/13 23:28:35 gavan 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.17Sthorpej
81.17Sthorpej.include <bsd.own.mk>
91.1Scgd
101.1ScgdSUBDIR=	${MACHINE}
111.16SthorpejARCHSUBDIR= ${MACHINE_CPU}
121.16Sthorpej
131.9Sbjh21.if ${MACHINE} != ${ARCHSUBDIR}
141.5Sdrochner.if exists(${ARCHSUBDIR})
151.5SdrochnerSUBDIR+= ${ARCHSUBDIR}
161.5Sdrochner.endif
171.6Seeh.endif
181.6Seeh.if ${MACHINE} == sparc
191.6SeehSUBDIR+= sparc64
201.10Such.endif
211.10Such.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
221.10SuchSUBDIR+= hpc
231.12Sfredette.endif
241.21Snathanw.if (${MACHINE} == sun2 || ${MACHINE} == sun3)
251.12SfredetteSUBDIR+= sun68k
261.1Scgd.endif
271.27Scl.if defined(XEN_BUILD)
281.27SclSUBDIR+= xen
291.27Scl.endif
301.1Scgd
311.20Sbjh21#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
321.19Ssimonb#	bebox \
331.19Ssimonb#	cats cesfic cobalt \
341.19Ssimonb#	dreamcast \
351.23Sscw#	evbarm evbmips evbppc evbsh3 evbsh5 \
361.19Ssimonb#	hp300 hpc hpcarm hpcmips hpcsh \
371.28Sgavan#	i386 iyonix \
381.19Ssimonb#	luna68k \
391.19Ssimonb#	m68k mac68k macppc mips mipsco mmeye mvme68k \
401.19Ssimonb#	netwinder news68k newsmips next68k \
411.19Ssimonb#	ofppc \
421.19Ssimonb#	pc532 playstation2 pmax powerpc prep \
431.23Sscw#	sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \
441.19Ssimonb#	vax \
451.18Sthorpej#	x68k x86_64
461.1Scgd
471.24SlukemINCSYMLINKS= ${MACHINE} /usr/include/machine
481.2Scgd
491.24SlukemINCSYMLINKS+= machine/float.h /usr/include/float.h \
501.25Stron	machine/stdarg.h /usr/include/stdarg.h
511.1Scgd
521.1Scgd.include <bsd.kinc.mk>
53