1# $NetBSD: Makefile,v 1.21 2002/05/28 21:11:04 nathanw 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 ${MACHINE} != ${ARCHSUBDIR} 14.if exists(${ARCHSUBDIR}) 15SUBDIR+= ${ARCHSUBDIR} 16.endif 17.endif 18.if ${MACHINE} == sparc 19SUBDIR+= sparc64 20.endif 21.if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 22SUBDIR+= hpc 23.endif 24.if (${MACHINE} == sun2 || ${MACHINE} == sun3) 25SUBDIR+= sun68k 26.endif 27 28#SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \ 29# bebox \ 30# cats cesfic cobalt \ 31# dreamcast \ 32# evbarm evbsh3 \ 33# hp300 hpc hpcarm hpcmips hpcsh \ 34# i386 \ 35# luna68k \ 36# m68k mac68k macppc mips mipsco mmeye mvme68k \ 37# netwinder news68k newsmips next68k \ 38# ofppc \ 39# pc532 playstation2 pmax powerpc prep \ 40# sandpoint sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \ 41# vax \ 42# walnut \ 43# x68k x86_64 44 45SYMLINKS= ${MACHINE} /usr/include/machine 46 47SYMLINKS+= machine/float.h /usr/include/float.h \ 48 machine/frame.h /usr/include/frame.h \ 49 machine/stdarg.h /usr/include/stdarg.h \ 50 machine/varargs.h /usr/include/varargs.h 51 52.include <bsd.kinc.mk> 53