Makefile revision 1.12
11.12Sfredette# $NetBSD: Makefile,v 1.12 2001/06/14 13:01:27 fredette 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.12SfredetteARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/:S/m68000/m68k/} 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.12Sfredette.endif 211.12Sfredette.if (${MACHINE} == sun2) 221.12SfredetteSUBDIR+= sun68k 231.1Scgd.endif 241.1Scgd 251.11Smatt.if ${ARCHSUBDIR} == arm && ${MACHINE} != arm32 && ${MACHINE} != arm26 261.11SmattSUBDIR+= cats dnard netwinder 271.11Smatt.endif 281.11Smatt 291.7Stsutsui#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \ 301.7Stsutsui# m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \ 311.7Stsutsui# pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k 321.1Scgd 331.11Smatt# 341.11Smatt# For true arm ports, we point machine at the architecure directory 351.11Smatt# since all the user include are there and are common. 361.11Smatt# 371.11Smatt.if ${ARCHSUBDIR} == arm && ${MACHINE} != arm32 && ${MACHINE} != arm26 381.11SmattSYMLINKS= ${ARCHSUBDIR} /usr/include/machine 391.11Smatt.else 401.1ScgdSYMLINKS= ${MACHINE} /usr/include/machine 411.11Smatt.endif 421.2Scgd 431.2ScgdSYMLINKS+= machine/float.h /usr/include/float.h \ 441.2Scgd machine/frame.h /usr/include/frame.h \ 451.2Scgd machine/stdarg.h /usr/include/stdarg.h \ 461.2Scgd machine/varargs.h /usr/include/varargs.h 471.1Scgd 481.1Scgd.include <bsd.kinc.mk> 49