1 # $FreeBSD: releng/8.2/sys/boot/common/Makefile.inc 199650 2009-11-22 15:57:08Z attilio $
2
3 SRCS+= boot.c commands.c console.c devopen.c interp.c
4 SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
5 SRCS+= module.c panic.c
6
7 .if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "amd64"
8 SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c
9 SRCS+= load_elf64.c load_elf64_obj.c reloc_elf64.c
10 .elif ${MACHINE} == "pc98"
11 SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c
12 .elif ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
13 SRCS+= load_elf32.c reloc_elf32.c
14 .elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64"
15 SRCS+= load_elf64.c reloc_elf64.c
16 .endif
17
18 .if defined(LOADER_NET_SUPPORT)
19 SRCS+= dev_net.c
20 .endif
21
22 .if defined(HAVE_BCACHE)
23 SRCS+= bcache.c
24 .endif
25
26 # Machine-independant ISA PnP
27 .if defined(HAVE_ISABUS)
28 SRCS+= isapnp.c
29 .endif
30 .if defined(HAVE_PNP)
31 SRCS+= pnp.c
32 .endif
33
34 # Forth interpreter
35 .if defined(BOOT_FORTH)
36 SRCS+= interp_forth.c
37 MAN+= ../forth/loader.conf.5
38 MAN+= ../forth/loader.4th.8
39 .endif
40
41 .if defined(BOOT_PROMPT_123)
42 CFLAGS+= -DBOOT_PROMPT_123
43 .endif
44
45 MAN+= loader.8
Cache object: 02a4df521b7966a524454349fe0e2746
|