1 # $NetBSD: Makefile,v 1.45 2014/09/03 19:27:53 matt Exp $
3 # For now, we install the machine and arch includes, and symlink 'machine'
4 # to the location of the machine includes (usually).
6 # Eventually, we should install everything.
10 ARCHSUBDIR
= ${MACHINE_CPU}
12 .if
${ARCHSUBDIR} == "mips64"
15 .if
${ARCHSUBDIR} == "powerpc64"
19 .if
${MACHINE_CPU} == "aarch64"
21 .elif
${MACHINE_CPU} == "arm"
25 SUBDIR
= acorn26 acorn32 cats epoc32 evbarm hpcarm iyonix netwinder shark zaurus
26 .
endif # defined(__MINIX)
31 .if
${MACHINE} != ${ARCHSUBDIR}
32 .if exists
(${ARCHSUBDIR})
33 SUBDIR
+= ${ARCHSUBDIR}
36 .if
${MACHINE_CPU} == "aarch64"
39 .if
${MACHINE} == sparc
42 .if
(${MACHINE} == hpcmips ||
${MACHINE} == hpcsh
)
45 .if
(${MACHINE} == sun2 ||
${MACHINE} == sun3
)
48 .if defined
(XEN_BUILD
)
52 #SUBDIR=aarch64 acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
54 # cats cesfic cobalt \
56 # emips epoc32 evbarm evbmips evbppc evbsh3 ews4800mips\
57 # hp300 hpc hpcarm hpcmips hpcsh \
60 # m68k mac68k macppc mips mipsco mmeye mvme68k \
61 # netwinder news68k newsmips next68k \
63 # playstation2 pmax powerpc prep \
64 # sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
70 .if
${MACHINE_CPU} == aarch64 ||
${MACHINE_CPU} == "arm"
71 INCSYMLINKS
= ${MACHINE_CPU} /usr
/include/machine
73 INCSYMLINKS
= ${MACHINE} /usr
/include/machine
76 INCSYMLINKS
+= machine
/float.h
/usr
/include/float.h
78 .
include <bsd.kinc.mk
>