1 1.18 thorpej # $NetBSD: Makefile,v 1.18 2002/02/11 06:51:27 thorpej 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.12 fredette .if (${MACHINE} == sun2) 25 1.12 fredette SUBDIR+= sun68k 26 1.1 cgd .endif 27 1.1 cgd 28 1.18 thorpej #SUBDIR= acorn32 algor alpha amiga amigappc arm arm26 arc atari bebox cats \ 29 1.18 thorpej # cesfic cobalt dreamcast evbarm evbsh3 hp300 hpc hpcarm hpcmips hpcsh \ 30 1.18 thorpej # i386 luna68k m68k mac68k macppc mips mipsco mmeye mvme68k netwinder \ 31 1.18 thorpej # news68k newsmips next68k ofppc pc532 playstation2 pmax powerpc prep \ 32 1.18 thorpej # sandpoint sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k vax walnut \ 33 1.18 thorpej # x68k x86_64 34 1.1 cgd 35 1.1 cgd SYMLINKS= ${MACHINE} /usr/include/machine 36 1.2 cgd 37 1.2 cgd SYMLINKS+= machine/float.h /usr/include/float.h \ 38 1.2 cgd machine/frame.h /usr/include/frame.h \ 39 1.2 cgd machine/stdarg.h /usr/include/stdarg.h \ 40 1.2 cgd machine/varargs.h /usr/include/varargs.h 41 1.1 cgd 42 1.1 cgd .include <bsd.kinc.mk> 43