1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1998-08-21 03:17:42 +00:00
|
|
|
|
1998-11-02 23:28:11 +00:00
|
|
|
SRCS+= bcache.c boot.c commands.c console.c devopen.c interp.c
|
2003-05-01 03:56:30 +00:00
|
|
|
SRCS+= interp_backslash.c interp_parse.c ls.c misc.c
|
1998-11-02 23:28:11 +00:00
|
|
|
SRCS+= module.c panic.c
|
1998-09-14 18:27:06 +00:00
|
|
|
|
2003-05-01 03:56:30 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
|
|
|
SRCS+= load_elf32.c load_elf64.c
|
|
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
|
|
SRCS+= load_elf32.c
|
|
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "alpha"
|
|
|
|
SRCS+= load_elf64.c
|
|
|
|
.endif
|
|
|
|
|
2000-11-10 06:39:58 +00:00
|
|
|
.if defined(LOADER_NET_SUPPORT)
|
|
|
|
SRCS+= dev_net.c
|
|
|
|
.endif
|
|
|
|
|
1998-09-14 18:27:06 +00:00
|
|
|
# Machine-independant ISA PnP
|
2004-02-07 11:05:10 +00:00
|
|
|
.if defined(HAVE_ISABUS)
|
1998-09-14 18:27:06 +00:00
|
|
|
SRCS+= isapnp.c
|
|
|
|
.endif
|
2004-02-07 11:05:10 +00:00
|
|
|
.if defined(HAVE_PNP)
|
1998-09-14 18:27:06 +00:00
|
|
|
SRCS+= pnp.c
|
|
|
|
.endif
|
1998-11-04 00:29:01 +00:00
|
|
|
|
|
|
|
# Forth interpreter
|
2004-02-07 11:05:10 +00:00
|
|
|
.if defined(BOOT_FORTH)
|
1998-11-04 00:29:01 +00:00
|
|
|
SRCS+= interp_forth.c
|
2001-03-27 11:59:22 +00:00
|
|
|
MAN+= ../forth/loader.conf.5
|
|
|
|
MAN+= ../forth/loader.4th.8
|
1998-11-04 00:29:01 +00:00
|
|
|
.endif
|
2000-05-19 08:52:16 +00:00
|
|
|
|
2001-03-27 11:59:22 +00:00
|
|
|
MAN+= loader.8
|