include: reduce default stack size
[minix.git] / include / arch / Makefile
blob470dcafdd6263dcee9d052634c83aac31bace9bd
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.
8 .include <bsd.own.mk>
10 SUBDIR= ${MACHINE}
11 ARCHSUBDIR= ${MACHINE_CPU}
13 .if ${ARCHSUBDIR} == "mips64"
14 ARCHSUBDIR= mips
15 .endif
16 .if ${ARCHSUBDIR} == "powerpc64"
17 ARCHSUBDIR= powerpc
18 .endif
20 .if ${MACHINE} != ${ARCHSUBDIR}
21 .if exists(${ARCHSUBDIR})
22 SUBDIR+= ${ARCHSUBDIR}
23 .endif
24 .endif
25 .if ${MACHINE} == sparc
26 SUBDIR+= sparc64
27 .endif
28 .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
29 SUBDIR+= hpc
30 .endif
31 .if (${MACHINE} == sun2 || ${MACHINE} == sun3)
32 SUBDIR+= sun68k
33 .endif
34 .if defined(XEN_BUILD)
35 SUBDIR+= xen
36 .endif
39 INCSYMLINKS= ${MACHINE_ARCH} /usr/include/machine
41 INCSYMLINKS+= machine/float.h /usr/include/float.h \
42 machine/stdarg.h /usr/include/stdarg.h
45 .include <bsd.inc.mk>
46 .include <bsd.subdir.mk>