Deleted Added
full compact
Makefile.inc (134458) Makefile.inc (134459)
1# $FreeBSD: head/sys/boot/common/Makefile.inc 134458 2004-08-28 23:03:05Z iedowse $
1# $FreeBSD: head/sys/boot/common/Makefile.inc 134459 2004-08-29 00:48:42Z iedowse $
2
3SRCS+= bcache.c boot.c commands.c console.c devopen.c interp.c
4SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
5SRCS+= module.c panic.c
6
7.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
2
3SRCS+= bcache.c boot.c commands.c console.c devopen.c interp.c
4SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
5SRCS+= module.c panic.c
6
7.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
8SRCS+= load_elf32.c load_elf64.c
8SRCS+= load_elf32.c load_elf32_obj.c load_elf64.c load_elf64_obj.c
9SRCS+= reloc_elf32.c reloc_elf64.c
10.endif
11.if ${MACHINE_ARCH} == "powerpc"
12SRCS+= load_elf32.c reloc_elf32.c
13.endif
14.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "alpha"
15SRCS+= load_elf64.c reloc_elf64.c
16.endif
17
18.if defined(LOADER_NET_SUPPORT)
19SRCS+= dev_net.c
20.endif
21
22# Machine-independant ISA PnP
23.if defined(HAVE_ISABUS)
24SRCS+= isapnp.c
25.endif
26.if defined(HAVE_PNP)
27SRCS+= pnp.c
28.endif
29
30# Forth interpreter
31.if defined(BOOT_FORTH)
32SRCS+= interp_forth.c
33MAN+= ../forth/loader.conf.5
34MAN+= ../forth/loader.4th.8
35.endif
36
37MAN+= loader.8
9SRCS+= reloc_elf32.c reloc_elf64.c
10.endif
11.if ${MACHINE_ARCH} == "powerpc"
12SRCS+= load_elf32.c reloc_elf32.c
13.endif
14.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "alpha"
15SRCS+= load_elf64.c reloc_elf64.c
16.endif
17
18.if defined(LOADER_NET_SUPPORT)
19SRCS+= dev_net.c
20.endif
21
22# Machine-independant ISA PnP
23.if defined(HAVE_ISABUS)
24SRCS+= isapnp.c
25.endif
26.if defined(HAVE_PNP)
27SRCS+= pnp.c
28.endif
29
30# Forth interpreter
31.if defined(BOOT_FORTH)
32SRCS+= interp_forth.c
33MAN+= ../forth/loader.conf.5
34MAN+= ../forth/loader.4th.8
35.endif
36
37MAN+= loader.8