FreeBSD/Linux Kernel Cross Reference
sys/arch/Makefile
1 # $NetBSD: Makefile,v 1.33.2.1 2007/07/19 14:38:20 liamjfoy Exp $
2
3 # For now, we install the machine and arch includes, and symlink 'machine'
4 # to the location of the machine includes (usually).
5 #
6 # Eventually, we should install everything.
7
8 .include <bsd.own.mk>
9
10 SUBDIR= ${MACHINE}
11 ARCHSUBDIR= ${MACHINE_CPU}
12
13 .if ${ARCHSUBDIR} == "mips64"
14 ARCHSUBDIR= mips
15 .endif
16 .if ${ARCHSUBDIR} == "powerpc64"
17 ARCHSUBDIR= powerpc
18 .endif
19
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
37
38 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
39 # bebox \
40 # cats cesfic cobalt \
41 # dreamcast \
42 # evbarm evbmips evbppc evbsh3 ews4800mips\
43 # hp300 hpc hpcarm hpcmips hpcsh \
44 # i386 iyonix \
45 # luna68k \
46 # m68k mac68k macppc mips mipsco mmeye mvme68k \
47 # netwinder news68k newsmips next68k \
48 # ofppc \
49 # pc532 playstation2 pmax powerpc prep \
50 # sandpoint sbmips sgimips sh3 shark sparc sparc64 sun2 sun3 sun68k \
51 # vax \
52 # x68k x86_64 xen
53
54 INCSYMLINKS= ${MACHINE} /usr/include/machine
55
56 INCSYMLINKS+= machine/float.h /usr/include/float.h \
57 machine/stdarg.h /usr/include/stdarg.h
58
59 .include <bsd.kinc.mk>
Cache object: 04fd6b52cdce1f9e6fe18d1fcfd69808
|