Makefile.inc revision 211817
150477Speter# $FreeBSD: head/sys/boot/common/Makefile.inc 211817 2010-08-25 16:23:50Z nwhitehorn $ 238465Smsmith 3163893SmarcelSRCS+= boot.c commands.c console.c devopen.c interp.c 4114379SpeterSRCS+= interp_backslash.c interp_parse.c ls.c misc.c 540834SmsmithSRCS+= module.c panic.c 639178Smsmith 7211678Simp.if ${MACHINE} == "i386" || ${MACHINE_CPUARCH} == "amd64" 8136895SruSRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c 9136895SruSRCS+= load_elf64.c load_elf64_obj.c reloc_elf64.c 10136895Sru.elif ${MACHINE} == "pc98" 11136895SruSRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c 12211817Snwhitehorn.elif ${MACHINE_CPUARCH} == "arm" 13134458SiedowseSRCS+= load_elf32.c reloc_elf32.c 14211678Simp.elif ${MACHINE_CPUARCH} == "powerpc" 15209920SnwhitehornSRCS+= load_elf32.c reloc_elf32.c 16209920SnwhitehornSRCS+= load_elf64.c reloc_elf64.c 17211678Simp.elif ${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "ia64" 18134458SiedowseSRCS+= load_elf64.c reloc_elf64.c 19114379Speter.endif 20114379Speter 2168548Sbenno.if defined(LOADER_NET_SUPPORT) 2268548SbennoSRCS+= dev_net.c 2368548Sbenno.endif 2468548Sbenno 25163893Smarcel.if defined(HAVE_BCACHE) 26163893SmarcelSRCS+= bcache.c 27163893Smarcel.endif 28163893Smarcel 29200460Smarcel.if defined(MD_IMAGE_SIZE) 30200460SmarcelCFLAGS+= -DMD_IMAGE_SIZE=${MD_IMAGE_SIZE} 31200460SmarcelSRCS+= md.c 32200460Smarcel.endif 33200460Smarcel 3439178Smsmith# Machine-independant ISA PnP 35125561Sru.if defined(HAVE_ISABUS) 3639178SmsmithSRCS+= isapnp.c 3739178Smsmith.endif 38125561Sru.if defined(HAVE_PNP) 3939178SmsmithSRCS+= pnp.c 4039178Smsmith.endif 4140875Smsmith 4240875Smsmith# Forth interpreter 43125561Sru.if defined(BOOT_FORTH) 4440875SmsmithSRCS+= interp_forth.c 4574850SruMAN+= ../forth/loader.conf.5 4674850SruMAN+= ../forth/loader.4th.8 4740875Smsmith.endif 4860704Sdcs 49199210Sattilio.if defined(BOOT_PROMPT_123) 50199210SattilioCFLAGS+= -DBOOT_PROMPT_123 51199210Sattilio.endif 52199210Sattilio 5374850SruMAN+= loader.8 54