Remove building with NOCRYPTO option
[minix3.git] / sys / arch / Makefile
blob9bfef952f17a70ba576427859505fbd3f1239b68
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.
8 .include <bsd.own.mk>
10 ARCHSUBDIR= ${MACHINE_CPU}
12 .if ${ARCHSUBDIR} == "mips64"
13 ARCHSUBDIR= mips
14 .endif
15 .if ${ARCHSUBDIR} == "powerpc64"
16 ARCHSUBDIR= powerpc
17 .endif
19 .if ${MACHINE_CPU} == "aarch64"
20 SUBDIR= evbarm64
21 .elif ${MACHINE_CPU} == "arm"
22 .if defined(__MINIX)
23 SUBDIR= evbarm
24 .else
25 SUBDIR= acorn26 acorn32 cats epoc32 evbarm hpcarm iyonix netwinder shark zaurus
26 .endif # defined(__MINIX)
27 .else
28 SUBDIR= ${MACHINE}
29 .endif
31 .if ${MACHINE} != ${ARCHSUBDIR}
32 .if exists(${ARCHSUBDIR})
33 SUBDIR+= ${ARCHSUBDIR}
34 .endif
35 .endif
36 .if ${MACHINE_CPU} == "aarch64"
37 SUBDIR+= arm
38 .endif
39 .if ${MACHINE} == sparc
40 SUBDIR+= sparc64
41 .endif
42 .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
43 SUBDIR+= hpc
44 .endif
45 .if (${MACHINE} == sun2 || ${MACHINE} == sun3)
46 SUBDIR+= sun68k
47 .endif
48 .if defined(XEN_BUILD)
49 SUBDIR+= xen
50 .endif
52 #SUBDIR=aarch64 acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
53 # bebox \
54 # cats cesfic cobalt \
55 # dreamcast \
56 # emips epoc32 evbarm evbmips evbppc evbsh3 ews4800mips\
57 # hp300 hpc hpcarm hpcmips hpcsh \
58 # i386 iyonix \
59 # luna68k \
60 # m68k mac68k macppc mips mipsco mmeye mvme68k \
61 # netwinder news68k newsmips next68k \
62 # ofppc or1k \
63 # playstation2 pmax powerpc prep \
64 # sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
65 # rs6000 \
66 # vax \
67 # x68k x86_64 xen \
68 # zaurus
70 .if ${MACHINE_CPU} == aarch64 || ${MACHINE_CPU} == "arm"
71 INCSYMLINKS= ${MACHINE_CPU} /usr/include/machine
72 .else
73 INCSYMLINKS= ${MACHINE} /usr/include/machine
74 .endif
76 INCSYMLINKS+= machine/float.h /usr/include/float.h
78 .include <bsd.kinc.mk>