Home | History | Annotate | Line # | Download | only in arch
Makefile revision 1.30.16.1
      1  1.30.16.1   gdamore #	$NetBSD: Makefile,v 1.30.16.1 2006/07/13 17:48:43 gdamore 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.30.16.1   gdamore .if ${ARCHSUBDIR} == "powerpc64"
     14  1.30.16.1   gdamore ARCHSUBDIR= powerpc
     15  1.30.16.1   gdamore .endif
     16  1.30.16.1   gdamore 
     17        1.9     bjh21 .if ${MACHINE} != ${ARCHSUBDIR}
     18        1.5  drochner .if exists(${ARCHSUBDIR})
     19        1.5  drochner SUBDIR+= ${ARCHSUBDIR}
     20        1.5  drochner .endif
     21        1.6       eeh .endif
     22        1.6       eeh .if ${MACHINE} == sparc
     23        1.6       eeh SUBDIR+= sparc64
     24       1.10       uch .endif
     25       1.10       uch .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
     26       1.10       uch SUBDIR+= hpc
     27       1.12  fredette .endif
     28       1.21   nathanw .if (${MACHINE} == sun2 || ${MACHINE} == sun3)
     29       1.12  fredette SUBDIR+= sun68k
     30        1.1       cgd .endif
     31       1.27        cl .if defined(XEN_BUILD)
     32       1.27        cl SUBDIR+= xen
     33       1.27        cl .endif
     34        1.1       cgd 
     35  1.30.16.1   gdamore .BEGIN:
     36  1.30.16.1   gdamore 	echo ==1: MACHINE=${MACHINE} ARCHSUBDIR=${ARCHSUBDIR} :1==
     37  1.30.16.1   gdamore 
     38       1.20     bjh21 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
     39       1.19    simonb #	bebox \
     40       1.19    simonb #	cats cesfic cobalt \
     41       1.19    simonb #	dreamcast \
     42       1.30   tsutsui #	evbarm evbmips evbppc evbsh3 evbsh5 ews4800mips\
     43       1.19    simonb #	hp300 hpc hpcarm hpcmips hpcsh \
     44       1.28     gavan #	i386 iyonix \
     45       1.19    simonb #	luna68k \
     46       1.19    simonb #	m68k mac68k macppc mips mipsco mmeye mvme68k \
     47       1.19    simonb #	netwinder news68k newsmips next68k \
     48       1.19    simonb #	ofppc \
     49       1.19    simonb #	pc532 playstation2 pmax powerpc prep \
     50       1.23       scw #	sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \
     51       1.19    simonb #	vax \
     52       1.30   tsutsui #	x68k x86_64 xen
     53        1.1       cgd 
     54       1.24     lukem INCSYMLINKS= ${MACHINE} /usr/include/machine
     55        1.2       cgd 
     56       1.24     lukem INCSYMLINKS+= machine/float.h /usr/include/float.h \
     57       1.25      tron 	machine/stdarg.h /usr/include/stdarg.h
     58        1.1       cgd 
     59        1.1       cgd .include <bsd.kinc.mk>
     60