Makefile revision 1.17
11.17Sthorpej# $NetBSD: Makefile,v 1.17 2002/02/04 08:35:27 thorpej 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.17Sthorpej 81.17Sthorpej.include <bsd.own.mk> 91.1Scgd 101.1ScgdSUBDIR= ${MACHINE} 111.16SthorpejARCHSUBDIR= ${MACHINE_CPU} 121.16Sthorpej 131.9Sbjh21.if ${MACHINE} != ${ARCHSUBDIR} 141.5Sdrochner.if exists(${ARCHSUBDIR}) 151.5SdrochnerSUBDIR+= ${ARCHSUBDIR} 161.5Sdrochner.endif 171.6Seeh.endif 181.6Seeh.if ${MACHINE} == sparc 191.6SeehSUBDIR+= sparc64 201.10Such.endif 211.10Such.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 221.10SuchSUBDIR+= hpc 231.12Sfredette.endif 241.12Sfredette.if (${MACHINE} == sun2) 251.12SfredetteSUBDIR+= sun68k 261.1Scgd.endif 271.1Scgd 281.7Stsutsui#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \ 291.7Stsutsui# m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \ 301.7Stsutsui# pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k 311.1Scgd 321.1ScgdSYMLINKS= ${MACHINE} /usr/include/machine 331.2Scgd 341.2ScgdSYMLINKS+= machine/float.h /usr/include/float.h \ 351.2Scgd machine/frame.h /usr/include/frame.h \ 361.2Scgd machine/stdarg.h /usr/include/stdarg.h \ 371.2Scgd machine/varargs.h /usr/include/varargs.h 381.1Scgd 391.1Scgd.include <bsd.kinc.mk> 40