1 1.28 gavan # $NetBSD: Makefile,v 1.28 2004/10/13 23:28:35 gavan Exp $ 2 1.1 cgd 3 1.1 cgd # For now, we install the machine and arch includes, and symlink 'machine' 4 1.11 matt # to the location of the machine includes (usually). 5 1.1 cgd # 6 1.1 cgd # Eventually, we should install everything. 7 1.17 thorpej 8 1.17 thorpej .include <bsd.own.mk> 9 1.1 cgd 10 1.1 cgd SUBDIR= ${MACHINE} 11 1.16 thorpej ARCHSUBDIR= ${MACHINE_CPU} 12 1.16 thorpej 13 1.9 bjh21 .if ${MACHINE} != ${ARCHSUBDIR} 14 1.5 drochner .if exists(${ARCHSUBDIR}) 15 1.5 drochner SUBDIR+= ${ARCHSUBDIR} 16 1.5 drochner .endif 17 1.6 eeh .endif 18 1.6 eeh .if ${MACHINE} == sparc 19 1.6 eeh SUBDIR+= sparc64 20 1.10 uch .endif 21 1.10 uch .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 22 1.10 uch SUBDIR+= hpc 23 1.12 fredette .endif 24 1.21 nathanw .if (${MACHINE} == sun2 || ${MACHINE} == sun3) 25 1.12 fredette SUBDIR+= sun68k 26 1.1 cgd .endif 27 1.27 cl .if defined(XEN_BUILD) 28 1.27 cl SUBDIR+= xen 29 1.27 cl .endif 30 1.1 cgd 31 1.20 bjh21 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 32 1.19 simonb # bebox \ 33 1.19 simonb # cats cesfic cobalt \ 34 1.19 simonb # dreamcast \ 35 1.23 scw # evbarm evbmips evbppc evbsh3 evbsh5 \ 36 1.19 simonb # hp300 hpc hpcarm hpcmips hpcsh \ 37 1.28 gavan # i386 iyonix \ 38 1.19 simonb # luna68k \ 39 1.19 simonb # m68k mac68k macppc mips mipsco mmeye mvme68k \ 40 1.19 simonb # netwinder news68k newsmips next68k \ 41 1.19 simonb # ofppc \ 42 1.19 simonb # pc532 playstation2 pmax powerpc prep \ 43 1.23 scw # sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \ 44 1.19 simonb # vax \ 45 1.18 thorpej # x68k x86_64 46 1.1 cgd 47 1.24 lukem INCSYMLINKS= ${MACHINE} /usr/include/machine 48 1.2 cgd 49 1.24 lukem INCSYMLINKS+= machine/float.h /usr/include/float.h \ 50 1.25 tron machine/stdarg.h /usr/include/stdarg.h 51 1.1 cgd 52 1.1 cgd .include <bsd.kinc.mk> 53