Home | History | Annotate | Line # | Download | only in arch
Makefile revision 1.20
      1  1.20     bjh21 #	$NetBSD: Makefile,v 1.20 2002/03/24 23:15:05 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.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.12  fredette .if (${MACHINE} == sun2)
     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.19    simonb #	evbarm evbsh3 \
     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.19    simonb #	sandpoint sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
     41  1.19    simonb #	vax \
     42  1.19    simonb #	walnut \
     43  1.18   thorpej #	x68k x86_64
     44   1.1       cgd 
     45   1.1       cgd SYMLINKS= ${MACHINE} /usr/include/machine
     46   1.2       cgd 
     47   1.2       cgd SYMLINKS+= machine/float.h /usr/include/float.h \
     48   1.2       cgd 	machine/frame.h /usr/include/frame.h \
     49   1.2       cgd 	machine/stdarg.h /usr/include/stdarg.h \
     50   1.2       cgd 	machine/varargs.h /usr/include/varargs.h
     51   1.1       cgd 
     52   1.1       cgd .include <bsd.kinc.mk>
     53