1 # $NetBSD: Makefile,v 1.39 2009/12/05 16:29:12 pooka 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.
11 ARCHSUBDIR
= ${MACHINE_CPU}
13 .if
${ARCHSUBDIR} == "mips64"
16 .if
${ARCHSUBDIR} == "powerpc64"
20 .if
${MACHINE} != ${ARCHSUBDIR}
21 .if exists
(${ARCHSUBDIR})
22 SUBDIR
+= ${ARCHSUBDIR}
25 .if
${MACHINE} == sparc
28 .if
(${MACHINE} == hpcmips ||
${MACHINE} == hpcsh
)
31 .if
(${MACHINE} == sun2 ||
${MACHINE} == sun3
)
34 .if defined
(XEN_BUILD
)
38 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
40 # cats cesfic cobalt \
42 # evbarm evbmips evbppc evbsh3 ews4800mips\
43 # hp300 hpc hpcarm hpcmips hpcsh \
46 # m68k mac68k macppc mips mipsco mmeye mvme68k \
47 # netwinder news68k newsmips next68k \
50 # sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
56 INCSYMLINKS
= ${MACHINE} /usr
/include/machine
58 INCSYMLINKS
+= machine
/float.h
/usr
/include/float.h \
59 machine
/stdarg.h
/usr
/include/stdarg.h
61 .
include <bsd.kinc.mk
>