Makefile revision 1.11
11.11Smatt# $NetBSD: Makefile,v 1.11 2001/06/12 18:16:31 matt Exp $ 21.1Scgd 31.1Scgd# For now, we install the machine and arch includes, and symlink 'machine' 41.11Smatt# to the location of the machine includes (usually). 51.1Scgd# 61.1Scgd# Eventually, we should install everything. 71.1Scgd 81.1ScgdSUBDIR= ${MACHINE} 91.9Sbjh21ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/} 101.9Sbjh21.if ${MACHINE} != ${ARCHSUBDIR} 111.5Sdrochner.if exists(${ARCHSUBDIR}) 121.5SdrochnerSUBDIR+= ${ARCHSUBDIR} 131.5Sdrochner.endif 141.6Seeh.endif 151.6Seeh.if ${MACHINE} == sparc 161.6SeehSUBDIR+= sparc64 171.10Such.endif 181.10Such.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 191.10SuchSUBDIR+= hpc 201.1Scgd.endif 211.1Scgd 221.11Smatt.if ${ARCHSUBDIR} == arm && ${MACHINE} != arm32 && ${MACHINE} != arm26 231.11SmattSUBDIR+= cats dnard netwinder 241.11Smatt.endif 251.11Smatt 261.7Stsutsui#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \ 271.7Stsutsui# m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \ 281.7Stsutsui# pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k 291.1Scgd 301.11Smatt# 311.11Smatt# For true arm ports, we point machine at the architecure directory 321.11Smatt# since all the user include are there and are common. 331.11Smatt# 341.11Smatt.if ${ARCHSUBDIR} == arm && ${MACHINE} != arm32 && ${MACHINE} != arm26 351.11SmattSYMLINKS= ${ARCHSUBDIR} /usr/include/machine 361.11Smatt.else 371.1ScgdSYMLINKS= ${MACHINE} /usr/include/machine 381.11Smatt.endif 391.2Scgd 401.2ScgdSYMLINKS+= machine/float.h /usr/include/float.h \ 411.2Scgd machine/frame.h /usr/include/frame.h \ 421.2Scgd machine/stdarg.h /usr/include/stdarg.h \ 431.2Scgd machine/varargs.h /usr/include/varargs.h 441.1Scgd 451.1Scgd.include <bsd.kinc.mk> 46