1 # $NetBSD: Makefile,v 1.42 2013/05/02 03:56:40 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} == "arm"
25 .if
${MACHINE} != ${ARCHSUBDIR}
26 .if exists
(${ARCHSUBDIR})
27 SUBDIR
+= ${ARCHSUBDIR}
30 .if
${MACHINE} == sparc
33 .if
(${MACHINE} == hpcmips ||
${MACHINE} == hpcsh
)
36 .if
(${MACHINE} == sun2 ||
${MACHINE} == sun3
)
39 .if defined
(XEN_BUILD
)
43 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
45 # cats cesfic cobalt \
47 # emips epoc32 evbarm evbmips evbppc evbsh3 ews4800mips\
48 # hp300 hpc hpcarm hpcmips hpcsh \
51 # m68k mac68k macppc mips mipsco mmeye mvme68k \
52 # netwinder news68k newsmips next68k \
55 # sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
61 .if
${MACHINE_CPU} == arm
62 INCSYMLINKS
= ${MACHINE_CPU} /usr
/include/machine
64 INCSYMLINKS
= ${MACHINE} /usr
/include/machine
67 INCSYMLINKS
+= machine
/float.h
/usr
/include/float.h
69 .
include <bsd.kinc.mk
>