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