Makefile revision 1.16
1#	$NetBSD: Makefile,v 1.16 2002/02/04 00:24:14 thorpej Exp $
2
3# For now, we install the machine and arch includes, and symlink 'machine'
4# to the location of the machine includes (usually).
5#
6# Eventually, we should install everything.
7
8SUBDIR=	${MACHINE}
9ARCHSUBDIR= ${MACHINE_CPU}
10
11.if ${MACHINE} != ${ARCHSUBDIR}
12.if exists(${ARCHSUBDIR})
13SUBDIR+= ${ARCHSUBDIR}
14.endif
15.endif
16.if ${MACHINE} == sparc
17SUBDIR+= sparc64
18.endif
19.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
20SUBDIR+= hpc
21.endif
22.if (${MACHINE} == sun2)
23SUBDIR+= sun68k
24.endif
25
26#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \
27#	m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \
28#	pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k
29
30SYMLINKS= ${MACHINE} /usr/include/machine
31
32SYMLINKS+= machine/float.h /usr/include/float.h \
33	machine/frame.h /usr/include/frame.h \
34	machine/stdarg.h /usr/include/stdarg.h \
35	machine/varargs.h /usr/include/varargs.h
36
37.include <bsd.kinc.mk>
38