1 1.24 lukem # $NetBSD: Makefile,v 1.24 2003/08/03 09:23:16 lukem 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.1 cgd 28 1.20 bjh21 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 29 1.19 simonb # bebox \ 30 1.19 simonb # cats cesfic cobalt \ 31 1.19 simonb # dreamcast \ 32 1.23 scw # evbarm evbmips evbppc evbsh3 evbsh5 \ 33 1.19 simonb # hp300 hpc hpcarm hpcmips hpcsh \ 34 1.19 simonb # i386 \ 35 1.19 simonb # luna68k \ 36 1.19 simonb # m68k mac68k macppc mips mipsco mmeye mvme68k \ 37 1.19 simonb # netwinder news68k newsmips next68k \ 38 1.19 simonb # ofppc \ 39 1.19 simonb # pc532 playstation2 pmax powerpc prep \ 40 1.23 scw # sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \ 41 1.19 simonb # vax \ 42 1.18 thorpej # x68k x86_64 43 1.1 cgd 44 1.24 lukem INCSYMLINKS= ${MACHINE} /usr/include/machine 45 1.2 cgd 46 1.24 lukem INCSYMLINKS+= machine/float.h /usr/include/float.h \ 47 1.2 cgd machine/frame.h /usr/include/frame.h \ 48 1.2 cgd machine/stdarg.h /usr/include/stdarg.h \ 49 1.2 cgd machine/varargs.h /usr/include/varargs.h 50 1.1 cgd 51 1.1 cgd .include <bsd.kinc.mk> 52