1 # $NetBSD: Makefile,v 1.6 1999/11/20 16:35:24 eeh 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 8 SUBDIR= ${MACHINE} 9 .if ${MACHINE} != ${MACHINE_ARCH} 10 ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/} 11 .if exists(${ARCHSUBDIR}) 12 SUBDIR+= ${ARCHSUBDIR} 13 .endif 14 .endif 15 .if ${MACHINE} == sparc 16 SUBDIR+= sparc64 17 .endif 18 19 #SUBDIR= alpha amiga arm32 atari bebox hp300 i386 m68k mac68k macppc mips \ 20 # mvme68k newsmips ofppc pc532 pica pmax powerpc sparc sun3 vax x68k 21 22 SYMLINKS= ${MACHINE} /usr/include/machine 23 24 SYMLINKS+= machine/float.h /usr/include/float.h \ 25 machine/frame.h /usr/include/frame.h \ 26 machine/stdarg.h /usr/include/stdarg.h \ 27 machine/varargs.h /usr/include/varargs.h 28 29 .include <bsd.kinc.mk> 30