Makefile.inc revision 163893
1# $FreeBSD: head/sys/boot/common/Makefile.inc 163893 2006-11-02 00:26:45Z marcel $ 2 3SRCS+= 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} == "i386" || ${MACHINE_ARCH} == "amd64" 8SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c 9SRCS+= load_elf64.c load_elf64_obj.c reloc_elf64.c 10.elif ${MACHINE} == "pc98" 11SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c 12.elif ${MACHINE_ARCH} == "powerpc" 13SRCS+= load_elf32.c reloc_elf32.c 14.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64" 15SRCS+= load_elf64.c reloc_elf64.c 16.endif 17 18.if defined(LOADER_NET_SUPPORT) 19SRCS+= dev_net.c 20.endif 21 22.if defined(HAVE_BCACHE) 23SRCS+= bcache.c 24.endif 25 26# Machine-independant ISA PnP 27.if defined(HAVE_ISABUS) 28SRCS+= isapnp.c 29.endif 30.if defined(HAVE_PNP) 31SRCS+= pnp.c 32.endif 33 34# Forth interpreter 35.if defined(BOOT_FORTH) 36SRCS+= interp_forth.c 37MAN+= ../forth/loader.conf.5 38MAN+= ../forth/loader.4th.8 39.endif 40 41MAN+= loader.8 42