FreeBSD/Linux Kernel Cross Reference
sys/arch/Makefile
1 # $NetBSD: Makefile,v 1.28 2004/10/13 23:28:35 gavan 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 ${MACHINE} != ${ARCHSUBDIR}
14 .if exists(${ARCHSUBDIR})
15 SUBDIR+= ${ARCHSUBDIR}
16 .endif
17 .endif
18 .if ${MACHINE} == sparc
19 SUBDIR+= sparc64
20 .endif
21 .if (${MACHINE} == hpcmips || ${MACHINE} == hpcsh)
22 SUBDIR+= hpc
23 .endif
24 .if (${MACHINE} == sun2 || ${MACHINE} == sun3)
25 SUBDIR+= sun68k
26 .endif
27 .if defined(XEN_BUILD)
28 SUBDIR+= xen
29 .endif
30
31 #SUBDIR=acorn26 acorn32 algor alpha amiga amigappc arm arc atari \
32 # bebox \
33 # cats cesfic cobalt \
34 # dreamcast \
35 # evbarm evbmips evbppc evbsh3 evbsh5 \
36 # hp300 hpc hpcarm hpcmips hpcsh \
37 # i386 iyonix \
38 # luna68k \
39 # m68k mac68k macppc mips mipsco mmeye mvme68k \
40 # netwinder news68k newsmips next68k \
41 # ofppc \
42 # pc532 playstation2 pmax powerpc prep \
43 # sandpoint sbmips sgimips sh3 sh5 shark sparc sparc64 sun2 sun3 sun68k \
44 # vax \
45 # x68k x86_64
46
47 INCSYMLINKS= ${MACHINE} /usr/include/machine
48
49 INCSYMLINKS+= machine/float.h /usr/include/float.h \
50 machine/stdarg.h /usr/include/stdarg.h
51
52 .include <bsd.kinc.mk>
Cache object: 9d683c9be2970b15cfa3766412b90850
|