1 1.5.8.4 bouyer # $NetBSD: Makefile,v 1.5.8.4 2001/02/11 19:08:31 bouyer Exp $ 2 1.1 cgd 3 1.1 cgd # For now, we install the machine and arch includes, and symlink 'machine' 4 1.1 cgd # to the location of the machine includes. 5 1.1 cgd # 6 1.1 cgd # Eventually, we should install everything. 7 1.1 cgd 8 1.1 cgd SUBDIR= ${MACHINE} 9 1.5.8.3 bouyer ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/} 10 1.5.8.3 bouyer .if ${MACHINE} != ${ARCHSUBDIR} 11 1.5 drochner .if exists(${ARCHSUBDIR}) 12 1.5 drochner SUBDIR+= ${ARCHSUBDIR} 13 1.5 drochner .endif 14 1.1 cgd .endif 15 1.5.8.1 bouyer .if ${MACHINE} == sparc 16 1.5.8.1 bouyer SUBDIR+= sparc64 17 1.5.8.4 bouyer .endif 18 1.5.8.4 bouyer .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh) 19 1.5.8.4 bouyer SUBDIR+= hpc 20 1.5.8.1 bouyer .endif 21 1.1 cgd 22 1.5.8.1 bouyer #SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \ 23 1.5.8.1 bouyer # m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \ 24 1.5.8.1 bouyer # pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k 25 1.1 cgd 26 1.1 cgd SYMLINKS= ${MACHINE} /usr/include/machine 27 1.2 cgd 28 1.2 cgd SYMLINKS+= machine/float.h /usr/include/float.h \ 29 1.2 cgd machine/frame.h /usr/include/frame.h \ 30 1.2 cgd machine/stdarg.h /usr/include/stdarg.h \ 31 1.2 cgd machine/varargs.h /usr/include/varargs.h 32 1.1 cgd 33 1.1 cgd .include <bsd.kinc.mk> 34