Makefile revision 1.31
1# $NetBSD: Makefile,v 1.31 2006/07/01 01:29:55 ross 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} == "powerpc64" 14ARCHSUBDIR= powerpc 15.endif 16 17.if ${MACHINE} != ${ARCHSUBDIR} 18.if exists(${ARCHSUBDIR}) 19SUBDIR+= ${ARCHSUBDIR} 20.endif 21.endif 22.if ${MACHINE} == sparc 23SUBDIR+= sparc64 24.endif 25.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 26SUBDIR+= hpc 27.endif 28.if (${MACHINE} == sun2 || ${MACHINE} == sun3) 29SUBDIR+= sun68k 30.endif 31.if defined(XEN_BUILD) 32SUBDIR+= xen 33.endif 34 35.BEGIN: 36 echo ==1: MACHINE=${MACHINE} ARCHSUBDIR=${ARCHSUBDIR} :1== 37 38#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 39# bebox \ 40# cats cesfic cobalt \ 41# dreamcast \ 42# evbarm evbmips evbppc evbsh3 evbsh5 ews4800mips\ 43# hp300 hpc hpcarm hpcmips hpcsh \ 44# i386 iyonix \ 45# luna68k \ 46# m68k mac68k macppc mips mipsco mmeye mvme68k \ 47# netwinder news68k newsmips next68k \ 48# ofppc \ 49# pc532 playstation2 pmax powerpc prep \ 50# sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \ 51# vax \ 52# x68k x86_64 xen 53 54INCSYMLINKS= ${MACHINE} /usr/include/machine 55 56INCSYMLINKS+= machine/float.h /usr/include/float.h \ 57 machine/stdarg.h /usr/include/stdarg.h 58 59.include <bsd.kinc.mk> 60