Makefile revision 1.24
11.24Slukem#	$NetBSD: Makefile,v 1.24 2003/08/03 09:23:16 lukem 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.1Scgd
281.20Sbjh21#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
291.19Ssimonb#	bebox \
301.19Ssimonb#	cats cesfic cobalt \
311.19Ssimonb#	dreamcast \
321.23Sscw#	evbarm evbmips evbppc evbsh3 evbsh5 \
331.19Ssimonb#	hp300 hpc hpcarm hpcmips hpcsh \
341.19Ssimonb#	i386 \
351.19Ssimonb#	luna68k \
361.19Ssimonb#	m68k mac68k macppc mips mipsco mmeye mvme68k \
371.19Ssimonb#	netwinder news68k newsmips next68k \
381.19Ssimonb#	ofppc \
391.19Ssimonb#	pc532 playstation2 pmax powerpc prep \
401.23Sscw#	sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \
411.19Ssimonb#	vax \
421.18Sthorpej#	x68k x86_64
431.1Scgd
441.24SlukemINCSYMLINKS= ${MACHINE} /usr/include/machine
451.2Scgd
461.24SlukemINCSYMLINKS+= machine/float.h /usr/include/float.h \
471.2Scgd	machine/frame.h /usr/include/frame.h \
481.2Scgd	machine/stdarg.h /usr/include/stdarg.h \
491.2Scgd	machine/varargs.h /usr/include/varargs.h
501.1Scgd
511.1Scgd.include <bsd.kinc.mk>
52