1 # $NetBSD: Makefile,v 1.40 2009/12/13 05:01:33 nakayama 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
)
39 INCSYMLINKS
= ${MACHINE_ARCH} /usr
/include/machine
41 INCSYMLINKS
+= machine
/float.h
/usr
/include/float.h \
42 machine
/stdarg.h
/usr
/include/stdarg.h
46 .
include <bsd.subdir.mk
>