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