Home | History | Annotate | Line # | Download | only in arch
Makefile revision 1.41.12.3
      1  1.41.12.1       tls #	$NetBSD: Makefile,v 1.41.12.3 2017/12/03 11:35:43 jdolecek 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.16   thorpej ARCHSUBDIR= ${MACHINE_CPU}
     11       1.16   thorpej 
     12       1.32      matt .if ${ARCHSUBDIR} == "mips64"
     13       1.32      matt ARCHSUBDIR= mips
     14       1.32      matt .endif
     15       1.31      ross .if ${ARCHSUBDIR} == "powerpc64"
     16       1.31      ross ARCHSUBDIR= powerpc
     17       1.31      ross .endif
     18       1.31      ross 
     19  1.41.12.2       tls .if ${MACHINE_CPU} == "aarch64"
     20  1.41.12.2       tls SUBDIR= evbarm64
     21  1.41.12.2       tls .elif ${MACHINE_CPU} == "arm"
     22  1.41.12.1       tls SUBDIR= acorn26 acorn32 cats epoc32 evbarm hpcarm iyonix netwinder shark zaurus
     23  1.41.12.1       tls .else
     24  1.41.12.1       tls SUBDIR=	${MACHINE}
     25  1.41.12.1       tls .endif
     26  1.41.12.1       tls 
     27        1.9     bjh21 .if ${MACHINE} != ${ARCHSUBDIR}
     28        1.5  drochner .if exists(${ARCHSUBDIR})
     29        1.5  drochner SUBDIR+= ${ARCHSUBDIR}
     30        1.5  drochner .endif
     31        1.6       eeh .endif
     32  1.41.12.2       tls .if ${MACHINE_CPU} == "aarch64"
     33  1.41.12.2       tls SUBDIR+= arm
     34  1.41.12.2       tls .endif
     35       1.40  nakayama .if ${MACHINE} == sparc
     36        1.6       eeh SUBDIR+= sparc64
     37       1.10       uch .endif
     38       1.10       uch .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
     39       1.10       uch SUBDIR+= hpc
     40       1.12  fredette .endif
     41       1.21   nathanw .if (${MACHINE} == sun2 || ${MACHINE} == sun3)
     42       1.12  fredette SUBDIR+= sun68k
     43        1.1       cgd .endif
     44       1.27        cl .if defined(XEN_BUILD)
     45       1.27        cl SUBDIR+= xen
     46       1.27        cl .endif
     47        1.1       cgd 
     48  1.41.12.3  jdolecek #SUBDIR=aarch64 acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
     49       1.19    simonb #	bebox \
     50       1.19    simonb #	cats cesfic cobalt \
     51       1.19    simonb #	dreamcast \
     52  1.41.12.1       tls #	emips epoc32 evbarm evbmips evbppc evbsh3 ews4800mips\
     53       1.19    simonb #	hp300 hpc hpcarm hpcmips hpcsh \
     54       1.28     gavan #	i386 iyonix \
     55       1.19    simonb #	luna68k \
     56       1.19    simonb #	m68k mac68k macppc mips mipsco mmeye mvme68k \
     57       1.19    simonb #	netwinder news68k newsmips next68k \
     58  1.41.12.3  jdolecek #	ofppc or1k \
     59  1.41.12.2       tls #	playstation2 pmax powerpc prep \
     60       1.35       scw #	sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
     61       1.36   garbled #	rs6000 \
     62       1.19    simonb #	vax \
     63       1.34     peter #	x68k x86_64 xen \
     64       1.34     peter #	zaurus
     65        1.1       cgd 
     66  1.41.12.2       tls .if ${MACHINE_CPU} == aarch64 || ${MACHINE_CPU} == "arm"
     67  1.41.12.1       tls INCSYMLINKS= ${MACHINE_CPU} /usr/include/machine
     68  1.41.12.1       tls .else
     69       1.24     lukem INCSYMLINKS= ${MACHINE} /usr/include/machine
     70  1.41.12.1       tls .endif
     71        1.2       cgd 
     72       1.41     joerg INCSYMLINKS+= machine/float.h /usr/include/float.h
     73        1.1       cgd 
     74        1.1       cgd .include <bsd.kinc.mk>
     75