Makefile revision 1.36
11.36Sgarbled# $NetBSD: Makefile,v 1.36 2007/12/17 19:09:01 garbled 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.32Smatt.if ${ARCHSUBDIR} == "mips64" 141.32SmattARCHSUBDIR= mips 151.32Smatt.endif 161.31Sross.if ${ARCHSUBDIR} == "powerpc64" 171.31SrossARCHSUBDIR= powerpc 181.31Sross.endif 191.31Sross 201.9Sbjh21.if ${MACHINE} != ${ARCHSUBDIR} 211.5Sdrochner.if exists(${ARCHSUBDIR}) 221.5SdrochnerSUBDIR+= ${ARCHSUBDIR} 231.5Sdrochner.endif 241.6Seeh.endif 251.6Seeh.if ${MACHINE} == sparc 261.6SeehSUBDIR+= sparc64 271.10Such.endif 281.10Such.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 291.10SuchSUBDIR+= hpc 301.12Sfredette.endif 311.21Snathanw.if (${MACHINE} == sun2 || ${MACHINE} == sun3) 321.12SfredetteSUBDIR+= sun68k 331.1Scgd.endif 341.27Scl.if defined(XEN_BUILD) 351.27SclSUBDIR+= xen 361.27Scl.endif 371.1Scgd 381.20Sbjh21#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 391.19Ssimonb# bebox \ 401.19Ssimonb# cats cesfic cobalt \ 411.19Ssimonb# dreamcast \ 421.35Sscw# evbarm evbmips evbppc evbsh3 ews4800mips\ 431.19Ssimonb# hp300 hpc hpcarm hpcmips hpcsh \ 441.28Sgavan# i386 iyonix \ 451.19Ssimonb# luna68k \ 461.19Ssimonb# m68k mac68k macppc mips mipsco mmeye mvme68k \ 471.19Ssimonb# netwinder news68k newsmips next68k \ 481.19Ssimonb# ofppc \ 491.19Ssimonb# pc532 playstation2 pmax powerpc prep \ 501.35Sscw# sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \ 511.36Sgarbled# rs6000 \ 521.19Ssimonb# vax \ 531.34Speter# x68k x86_64 xen \ 541.34Speter# zaurus 551.1Scgd 561.24SlukemINCSYMLINKS= ${MACHINE} /usr/include/machine 571.2Scgd 581.24SlukemINCSYMLINKS+= machine/float.h /usr/include/float.h \ 591.25Stron machine/stdarg.h /usr/include/stdarg.h 601.1Scgd 611.1Scgd.include <bsd.kinc.mk> 62