env(1): unbreak build of 2_2 release branch under HEAD
[dragonfly.git] / sys / boot / common / Makefile.inc
blobfae6a38dd534f600a0ca36bd125bc5162214350e
1 # $FreeBSD: src/sys/boot/common/Makefile.inc,v 1.16 2003/06/26 03:51:57 peter Exp $
2 # $DragonFly: src/sys/boot/common/Makefile.inc,v 1.5 2008/09/02 17:21:12 dillon Exp $
4 SRCS+=  bcache.c boot.c commands.c console.c devopen.c interp.c 
5 SRCS+=  interp_backslash.c interp_parse.c ls.c misc.c 
6 SRCS+=  module.c panic.c rel_open.c
8 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
9 SRCS+=  load_elf32.c load_elf64.c
10 .endif
11 .if ${MACHINE_ARCH} == "powerpc"
12 SRCS+=  load_elf32.c
13 .endif
14 .if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64"
15 SRCS+=  load_elf64.c
16 .endif
18 .if defined(LOADER_NET_SUPPORT)
19 SRCS+=  dev_net.c
20 .endif
22 # Machine-independant ISA PnP
23 .if HAVE_ISABUS
24 SRCS+=  isapnp.c
25 .endif
26 .if HAVE_PNP
27 SRCS+=  pnp.c
28 .endif
30 # Forth interpreter
31 .if BOOT_FORTH
32 SRCS+=  interp_forth.c
33 MAN+=   ../forth/loader.conf.5
34 MAN+=   ../forth/loader.4th.8
35 .endif
37 MAN+=   loader.8