Makefile revision 1.17
1# $NetBSD: Makefile,v 1.17 2002/02/04 08:35:27 thorpej 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) 25SUBDIR+= sun68k 26.endif 27 28#SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \ 29# m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \ 30# pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k 31 32SYMLINKS= ${MACHINE} /usr/include/machine 33 34SYMLINKS+= machine/float.h /usr/include/float.h \ 35 machine/frame.h /usr/include/frame.h \ 36 machine/stdarg.h /usr/include/stdarg.h \ 37 machine/varargs.h /usr/include/varargs.h 38 39.include <bsd.kinc.mk> 40