Makefile revision 1.32
1# $NetBSD: Makefile,v 1.32 2006/08/25 23:35:04 matt Exp $ 2 3# For now, we install the machine and arch includes, and symlink 'machine' 4# to the location of the machine includes (usually). 5# 6# Eventually, we should install everything. 7 8.include <bsd.own.mk> 9 10SUBDIR= ${MACHINE} 11ARCHSUBDIR= ${MACHINE_CPU} 12 13.if ${ARCHSUBDIR} == "mips64" 14ARCHSUBDIR= mips 15.endif 16.if ${ARCHSUBDIR} == "powerpc64" 17ARCHSUBDIR= powerpc 18.endif 19 20.if ${MACHINE} != ${ARCHSUBDIR} 21.if exists(${ARCHSUBDIR}) 22SUBDIR+= ${ARCHSUBDIR} 23.endif 24.endif 25.if ${MACHINE} == sparc 26SUBDIR+= sparc64 27.endif 28.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 29SUBDIR+= hpc 30.endif 31.if (${MACHINE} == sun2 || ${MACHINE} == sun3) 32SUBDIR+= sun68k 33.endif 34.if defined(XEN_BUILD) 35SUBDIR+= xen 36.endif 37 38.BEGIN: 39 echo ==1: MACHINE=${MACHINE} ARCHSUBDIR=${ARCHSUBDIR} :1== 40 41#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 42# bebox \ 43# cats cesfic cobalt \ 44# dreamcast \ 45# evbarm evbmips evbppc evbsh3 evbsh5 ews4800mips\ 46# hp300 hpc hpcarm hpcmips hpcsh \ 47# i386 iyonix \ 48# luna68k \ 49# m68k mac68k macppc mips mipsco mmeye mvme68k \ 50# netwinder news68k newsmips next68k \ 51# ofppc \ 52# pc532 playstation2 pmax powerpc prep \ 53# sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \ 54# vax \ 55# x68k x86_64 xen 56 57INCSYMLINKS= ${MACHINE} /usr/include/machine 58 59INCSYMLINKS+= machine/float.h /usr/include/float.h \ 60 machine/stdarg.h /usr/include/stdarg.h 61 62.include <bsd.kinc.mk> 63