xref: /netbsd-src/sys/arch/Makefile (revision 3b435a73967be44dfb4a27315acd72bfacde430c)
1#	$NetBSD: Makefile,v 1.5 1999/03/04 19:46:09 drochner 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
16#SUBDIR= alpha amiga arm32 atari bebox hp300 i386 m68k mac68k macppc mips \
17#	mvme68k newsmips ofppc pc532 pica pmax powerpc sparc sun3 vax x68k
18
19SYMLINKS= ${MACHINE} /usr/include/machine
20
21SYMLINKS+= machine/float.h /usr/include/float.h \
22	machine/frame.h /usr/include/frame.h \
23	machine/stdarg.h /usr/include/stdarg.h \
24	machine/varargs.h /usr/include/varargs.h
25
26.include <bsd.kinc.mk>
27