Makefile revision 1.32
11.32Smatt# $NetBSD: Makefile,v 1.32 2006/08/25 23:35:04 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.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.31Sross.BEGIN: 391.31Sross echo ==1: MACHINE=${MACHINE} ARCHSUBDIR=${ARCHSUBDIR} :1== 401.31Sross 411.20Sbjh21#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 421.19Ssimonb# bebox \ 431.19Ssimonb# cats cesfic cobalt \ 441.19Ssimonb# dreamcast \ 451.30Stsutsui# evbarm evbmips evbppc evbsh3 evbsh5 ews4800mips\ 461.19Ssimonb# hp300 hpc hpcarm hpcmips hpcsh \ 471.28Sgavan# i386 iyonix \ 481.19Ssimonb# luna68k \ 491.19Ssimonb# m68k mac68k macppc mips mipsco mmeye mvme68k \ 501.19Ssimonb# netwinder news68k newsmips next68k \ 511.19Ssimonb# ofppc \ 521.19Ssimonb# pc532 playstation2 pmax powerpc prep \ 531.23Sscw# sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \ 541.19Ssimonb# vax \ 551.30Stsutsui# x68k x86_64 xen 561.1Scgd 571.24SlukemINCSYMLINKS= ${MACHINE} /usr/include/machine 581.2Scgd 591.24SlukemINCSYMLINKS+= machine/float.h /usr/include/float.h \ 601.25Stron machine/stdarg.h /usr/include/stdarg.h 611.1Scgd 621.1Scgd.include <bsd.kinc.mk> 63