Makefile revision 1.18
11.18Sthorpej# $NetBSD: Makefile,v 1.18 2002/02/11 06:51: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.18Sthorpej#SUBDIR= acorn32 algor alpha amiga amigappc arm arm26 arc atari bebox cats \ 291.18Sthorpej# cesfic cobalt dreamcast evbarm evbsh3 hp300 hpc hpcarm hpcmips hpcsh \ 301.18Sthorpej# i386 luna68k m68k mac68k macppc mips mipsco mmeye mvme68k netwinder \ 311.18Sthorpej# news68k newsmips next68k ofppc pc532 playstation2 pmax powerpc prep \ 321.18Sthorpej# sandpoint sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k vax walnut \ 331.18Sthorpej# x68k x86_64 341.1Scgd 351.1ScgdSYMLINKS= ${MACHINE} /usr/include/machine 361.2Scgd 371.2ScgdSYMLINKS+= machine/float.h /usr/include/float.h \ 381.2Scgd machine/frame.h /usr/include/frame.h \ 391.2Scgd machine/stdarg.h /usr/include/stdarg.h \ 401.2Scgd machine/varargs.h /usr/include/varargs.h 411.1Scgd 421.1Scgd.include <bsd.kinc.mk> 43