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
7 .if ${MACHINE} == "i386" || ${MACHINE_CPUARCH} == "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_CPUARCH} == "ia64"
11 SRCS+= load_elf64.c load_elf64_obj.c reloc_elf64.c
12 .elif ${MACHINE} == "pc98"
13 SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c
14 .elif ${MACHINE_CPUARCH} == "arm"
15 SRCS+= load_elf32.c reloc_elf32.c
16 .elif ${MACHINE_CPUARCH} == "powerpc"
17 SRCS+= load_elf32.c reloc_elf32.c
18 SRCS+= load_elf64.c reloc_elf64.c
19 .elif ${MACHINE_CPUARCH} == "sparc64"
20 SRCS+= load_elf64.c reloc_elf64.c
23 .if defined(LOADER_NET_SUPPORT)
27 .if !defined(LOADER_NO_DISK_SUPPORT)
29 CFLAGS+= -DLOADER_DISK_SUPPORT
30 .if !defined(LOADER_NO_GPT_SUPPORT)
32 CFLAGS+= -DLOADER_GPT_SUPPORT
34 .if !defined(LOADER_NO_MBR_SUPPORT)
35 CFLAGS+= -DLOADER_MBR_SUPPORT
39 .if defined(HAVE_BCACHE)
43 .if defined(MD_IMAGE_SIZE)
44 CFLAGS+= -DMD_IMAGE_SIZE=${MD_IMAGE_SIZE}
48 # Machine-independant ISA PnP
49 .if defined(HAVE_ISABUS)
57 .if defined(BOOT_FORTH)
59 MAN+= ../forth/beastie.4th.8
60 MAN+= ../forth/brand.4th.8
61 MAN+= ../forth/check-password.4th.8
62 MAN+= ../forth/color.4th.8
63 MAN+= ../forth/delay.4th.8
64 MAN+= ../forth/loader.conf.5
65 MAN+= ../forth/loader.4th.8
66 MAN+= ../forth/menu.4th.8
67 MAN+= ../forth/menusets.4th.8
68 MAN+= ../forth/version.4th.8
71 .if defined(BOOT_PROMPT_123)
72 CFLAGS+= -DBOOT_PROMPT_123