1 # $NetBSD: Makefile,v 1.13.2.2 2002/02/11 20:06:35 jdolecek 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 8 .include <bsd.own.mk> 9 10 SUBDIR= ${MACHINE} 11 ARCHSUBDIR= ${MACHINE_CPU} 12 13 .if ${MACHINE} != ${ARCHSUBDIR} 14 .if exists(${ARCHSUBDIR}) 15 SUBDIR+= ${ARCHSUBDIR} 16 .endif 17 .endif 18 .if ${MACHINE} == sparc 19 SUBDIR+= sparc64 20 .endif 21 .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 22 SUBDIR+= hpc 23 .endif 24 .if (${MACHINE} == sun2) 25 SUBDIR+= sun68k 26 .endif 27 28 #SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \ 29 # m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \ 30 # pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k 31 32 SYMLINKS= ${MACHINE} /usr/include/machine 33 34 SYMLINKS+= machine/float.h /usr/include/float.h \ 35 machine/frame.h /usr/include/frame.h \ 36 machine/stdarg.h /usr/include/stdarg.h \ 37 machine/varargs.h /usr/include/varargs.h 38 39 .include <bsd.kinc.mk> 40