Home | History | Annotate | Line # | Download | only in arch
Makefile revision 1.14
      1  1.14     bjh21 #	$NetBSD: Makefile,v 1.14 2001/10/13 14:46:00 bjh21 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.1       cgd 
      8   1.1       cgd SUBDIR=	${MACHINE}
      9  1.12  fredette ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/sh3e[bl]/sh3/:S/arm26/arm/:S/arm32/arm/:S/m68000/m68k/}
     10   1.9     bjh21 .if ${MACHINE} != ${ARCHSUBDIR}
     11   1.5  drochner .if exists(${ARCHSUBDIR})
     12   1.5  drochner SUBDIR+= ${ARCHSUBDIR}
     13   1.5  drochner .endif
     14   1.6       eeh .endif
     15   1.6       eeh .if ${MACHINE} == sparc
     16   1.6       eeh SUBDIR+= sparc64
     17  1.10       uch .endif
     18  1.10       uch .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
     19  1.10       uch SUBDIR+= hpc
     20  1.12  fredette .endif
     21  1.12  fredette .if (${MACHINE} == sun2)
     22  1.12  fredette SUBDIR+= sun68k
     23   1.1       cgd .endif
     24   1.1       cgd 
     25  1.14     bjh21 .if ${ARCHSUBDIR} == arm && ${MACHINE} != acorn32 && ${MACHINE} != arm32 && \
     26  1.14     bjh21 	${MACHINE} != arm26
     27  1.11      matt SUBDIR+= cats dnard netwinder
     28  1.11      matt .endif
     29  1.11      matt 
     30   1.7   tsutsui #SUBDIR= alpha amiga arc arm32 atari bebox evbsh3 hp300 hpcmips i386 luna68k \
     31   1.7   tsutsui #	m68k mac68k macppc mips mmeye mvme68k news68k newsmips next68k ofppc \
     32   1.7   tsutsui #	pc532 pmax powerpc sh3 sparc sparc64 sun3 vax x68k
     33   1.1       cgd 
     34  1.11      matt #
     35  1.13    deberg # For true arm ports, we point machine at the architecture directory
     36  1.11      matt # since all the user include are there and are common.
     37  1.11      matt #
     38  1.14     bjh21 .if ${ARCHSUBDIR} == arm && ${MACHINE} != acorn32 && ${MACHINE} != arm32 && \
     39  1.14     bjh21 	${MACHINE} != arm26
     40  1.11      matt SYMLINKS= ${ARCHSUBDIR} /usr/include/machine
     41  1.11      matt .else
     42   1.1       cgd SYMLINKS= ${MACHINE} /usr/include/machine
     43  1.11      matt .endif
     44   1.2       cgd 
     45   1.2       cgd SYMLINKS+= machine/float.h /usr/include/float.h \
     46   1.2       cgd 	machine/frame.h /usr/include/frame.h \
     47   1.2       cgd 	machine/stdarg.h /usr/include/stdarg.h \
     48   1.2       cgd 	machine/varargs.h /usr/include/varargs.h
     49   1.1       cgd 
     50   1.1       cgd .include <bsd.kinc.mk>
     51