1 AutoGen definitions Makefile.tpl;
6 common = gensyminfo.sh.in;
12 common = genmod.sh.in;
18 common = modinfo.sh.in;
22 installdir = platform;
24 common = gmodule.pl.in;
28 installdir = platform;
34 installdir = platform;
36 common = boot/powerpc/grub.chrp.in;
37 enable = powerpc_ieee1275;
41 installdir = platform;
43 common = boot/powerpc/bootinfo.txt.in;
44 enable = powerpc_ieee1275;
52 emu_ldflags = '-Wl,-r,-d';
53 i386_efi_ldflags = '-Wl,-r,-d';
54 i386_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
55 x86_64_efi_ldflags = '-Wl,-r,-d';
56 x86_64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
58 ia64_efi_cflags = '-fno-builtin -fpic -minline-int-divide-max-throughput';
59 ia64_efi_ldflags = '-Wl,-r,-d';
60 ia64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
62 arm_efi_ldflags = '-Wl,-r,-d';
63 arm_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
65 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
66 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000';
68 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
69 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200';
71 ldadd = '$(LDADD_KERNEL)';
73 i386_coreboot_ldflags = '-Wl,-Ttext=0x8200';
74 i386_multiboot_ldflags = '-Wl,-Ttext=0x8200';
75 i386_ieee1275_ldflags = '-Wl,-Ttext=0x10000';
76 mips_loongson_ldflags = '-Wl,-Ttext,0x80200000';
77 powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000';
78 sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400';
79 mips_arc_ldflags = '-Wl,-Ttext,$(TARGET_LINK_ADDR)';
80 mips_qemu_mips_ldflags = '-Wl,-Ttext,0x80200000';
82 mips_arc_cppflags = '-DGRUB_DECOMPRESSOR_LINK_ADDR=$(TARGET_DECOMPRESSOR_LINK_ADDR)';
83 mips_loongson_cppflags = '-DUSE_ASCII_FALLBACK';
84 i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
85 emu_cflags = '$(CFLAGS_GNULIB)';
86 emu_cppflags = '$(CPPFLAGS_GNULIB)';
87 arm_uboot_ldflags = '-Wl,-Ttext=0x08000000';
88 arm_uboot_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
90 i386_pc_startup = kern/i386/pc/startup.S;
91 i386_efi_startup = kern/i386/efi/startup.S;
92 x86_64_efi_startup = kern/x86_64/efi/startup.S;
93 i386_qemu_startup = kern/i386/qemu/startup.S;
94 i386_ieee1275_startup = kern/i386/ieee1275/startup.S;
95 i386_coreboot_startup = kern/i386/coreboot/startup.S;
96 i386_multiboot_startup = kern/i386/coreboot/startup.S;
97 mips_startup = kern/mips/startup.S;
98 sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S;
99 powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S;
100 arm_uboot_startup = kern/arm/uboot/startup.S;
101 arm_efi_startup = kern/arm/efi/startup.S;
103 common = kern/command.c;
104 common = kern/corecmd.c;
105 common = kern/device.c;
106 common = kern/disk.c;
110 common = kern/file.c;
112 common = kern/list.c;
113 common = kern/main.c;
114 common = kern/misc.c;
115 common = kern/parser.c;
116 common = kern/partition.c;
117 common = kern/rescue_parser.c;
118 common = kern/rescue_reader.c;
119 common = kern/term.c;
123 noemu = kern/generic/millisleep.c;
125 noemu_nodist = symlist.c;
127 mips = kern/generic/rtc_get_time_ms.c;
129 ieee1275 = disk/ieee1275/ofdisk.c;
130 ieee1275 = kern/ieee1275/cmain.c;
131 ieee1275 = kern/ieee1275/ieee1275.c;
132 ieee1275 = kern/ieee1275/mmap.c;
133 ieee1275 = kern/ieee1275/openfw.c;
134 ieee1275 = term/ieee1275/console.c;
135 ieee1275 = kern/ieee1275/init.c;
137 uboot = disk/uboot/ubootdisk.c;
138 uboot = kern/uboot/uboot.c;
139 uboot = kern/uboot/init.c;
140 uboot = kern/uboot/hw.c;
141 uboot = term/uboot/console.c;
143 terminfoinkernel = term/terminfo.c;
144 terminfoinkernel = term/tparm.c;
145 terminfoinkernel = commands/extcmd.c;
146 terminfoinkernel = lib/arg.c;
148 i386 = kern/i386/dl.c;
150 i386_coreboot = kern/i386/coreboot/init.c;
151 i386_multiboot = kern/i386/coreboot/init.c;
152 i386_qemu = kern/i386/qemu/init.c;
153 i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c;
154 i386_coreboot = video/i386/coreboot/cbfb.c;
156 efi = disk/efi/efidisk.c;
157 efi = kern/efi/efi.c;
158 efi = kern/efi/init.c;
160 efi = term/efi/console.c;
162 x86 = kern/i386/tsc.c;
164 i386_efi = kern/i386/efi/init.c;
165 i386_efi = bus/pci.c;
167 x86_64_efi = kern/x86_64/dl.c;
168 x86_64_efi = kern/x86_64/efi/callwrap.S;
169 x86_64_efi = kern/i386/efi/init.c;
170 x86_64_efi = bus/pci.c;
172 ia64_efi = kern/ia64/efi/startup.S;
173 ia64_efi = kern/ia64/efi/init.c;
174 ia64_efi = kern/ia64/dl.c;
175 ia64_efi = kern/ia64/dl_helper.c;
177 arm_efi = kern/arm/efi/init.c;
178 arm_efi = kern/arm/efi/misc.c;
180 i386_pc = kern/i386/pc/init.c;
181 i386_pc = kern/i386/pc/mmap.c;
182 i386_pc = term/i386/pc/console.c;
184 i386_qemu = bus/pci.c;
185 i386_qemu = kern/vga_init.c;
186 i386_qemu = kern/i386/qemu/mmap.c;
188 i386_coreboot = kern/i386/coreboot/mmap.c;
189 i386_coreboot = kern/i386/coreboot/cbtable.c;
191 i386_multiboot = kern/i386/multiboot_mmap.c;
193 mips = kern/mips/cache.S;
194 mips = kern/mips/dl.c;
195 mips = kern/mips/init.c;
197 mips_qemu_mips = kern/mips/qemu_mips/init.c;
198 mips_qemu_mips = term/ns8250.c;
199 mips_qemu_mips = term/serial.c;
200 mips_qemu_mips = term/at_keyboard.c;
201 mips_qemu_mips = commands/boot.c;
202 mips_qemu_mips = commands/keylayouts.c;
203 mips_qemu_mips = term/i386/pc/vga_text.c;
204 mips_qemu_mips = kern/vga_init.c;
206 mips_arc = kern/mips/arc/init.c;
207 mips_arc = term/arc/console.c;
208 mips_arc = disk/arc/arcdisk.c;
210 mips_loongson = term/ns8250.c;
211 mips_loongson = bus/bonito.c;
212 mips_loongson = bus/cs5536.c;
213 mips_loongson = bus/pci.c;
214 mips_loongson = kern/mips/loongson/init.c;
215 mips_loongson = term/at_keyboard.c;
216 mips_loongson = commands/boot.c;
217 mips_loongson = term/serial.c;
218 mips_loongson = video/sm712.c;
219 mips_loongson = video/sis315pro.c;
220 mips_loongson = video/radeon_fuloong2e.c;
221 extra_dist = video/sm712_init.c;
222 extra_dist = video/sis315_init.c;
223 mips_loongson = commands/keylayouts.c;
225 powerpc_ieee1275 = kern/powerpc/cache.S;
226 powerpc_ieee1275 = kern/powerpc/dl.c;
228 sparc64_ieee1275 = kern/sparc64/cache.S;
229 sparc64_ieee1275 = kern/sparc64/dl.c;
230 sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c;
233 arm = kern/arm/dl_helper.c;
234 arm = kern/arm/cache_armv6.S;
235 arm = kern/arm/cache_armv7.S;
236 extra_dist = kern/arm/cache.S;
237 arm = kern/arm/cache.c;
238 arm = kern/arm/misc.S;
241 emu = kern/emu/cache_s.S;
242 emu = kern/emu/hostdisk.c;
243 emu = osdep/unix/hostdisk.c;
244 emu = osdep/devmapper/hostdisk.c;
245 emu = osdep/hostdisk.c;
246 emu = kern/emu/hostfs.c;
247 emu = kern/emu/main.c;
248 emu = kern/emu/argp_common.c;
249 emu = kern/emu/misc.c;
251 emu = kern/emu/time.c;
252 emu = kern/emu/cache.c;
253 emu = osdep/emuconsole.c;
254 extra_dist = osdep/unix/emuconsole.c;
255 extra_dist = osdep/windows/emuconsole.c;
258 emu = osdep/emunet.c;
259 extra_dist = osdep/linux/emunet.c;
260 extra_dist = osdep/basic/emunet.c;
262 videoinkernel = term/gfxterm.c;
263 videoinkernel = font/font.c;
264 videoinkernel = font/font_cmd.c;
265 videoinkernel = io/bufio.c;
266 videoinkernel = video/fb/fbblit.c;
267 videoinkernel = video/fb/fbfill.c;
268 videoinkernel = video/fb/fbutil.c;
269 videoinkernel = video/fb/video_fb.c;
270 videoinkernel = video/video.c;
272 extra_dist = kern/i386/int.S;
273 extra_dist = kern/i386/realmode.S;
274 extra_dist = boot/i386/pc/lzma_decode.S;
275 extra_dist = kern/mips/cache_flush.S;
282 emu = kern/emu/full.c;
283 emu_nodist = grub_emu_init.c;
285 ldadd = 'kernel.exec$(EXEEXT)';
286 ldadd = '$(MODULE_FILES)';
287 ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
293 name = grub-emu-lite;
295 emu = kern/emu/lite.c;
296 emu_nodist = symlist.c;
298 ldadd = 'kernel.exec$(EXEEXT)';
299 ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
306 i386_pc = boot/i386/pc/boot.S;
307 i386_qemu = boot/i386/qemu/boot.S;
308 sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
310 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
311 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
313 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
314 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)';
315 i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
317 sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
318 sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
320 objcopyflags = '-O binary';
323 enable = sparc64_ieee1275;
328 i386_pc = boot/i386/pc/boot.S;
330 cppflags = '-DHYBRID_BOOT=1';
332 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
333 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
335 objcopyflags = '-O binary';
342 i386_pc = boot/i386/pc/cdboot.S;
343 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
344 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
346 sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
347 sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
348 sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
349 sparc64_ieee1275_cppflags = '-DCDBOOT=1';
351 objcopyflags = '-O binary';
353 enable = sparc64_ieee1275;
359 i386_pc = boot/i386/pc/pxeboot.S;
361 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
362 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
364 objcopyflags = '-O binary';
370 i386_pc = boot/i386/pc/diskboot.S;
372 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
373 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000';
375 sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S;
376 sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200';
378 objcopyflags = '-O binary';
381 enable = sparc64_ieee1275;
386 i386_pc = boot/i386/pc/lnxboot.S;
388 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
389 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000';
391 objcopyflags = '-O binary';
396 name = xz_decompress;
397 mips = boot/mips/startup_raw.S;
398 common = boot/decompressor/minilib.c;
399 common = boot/decompressor/xz.c;
400 common = lib/xzembed/xz_dec_bcj.c;
401 common = lib/xzembed/xz_dec_lzma2.c;
402 common = lib/xzembed/xz_dec_stream.c;
404 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1';
406 objcopyflags = '-O binary';
407 mips_ldflags = '-static-libgcc -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
409 cflags = '-Wno-unreachable-code -static-libgcc';
414 name = none_decompress;
415 mips = boot/mips/startup_raw.S;
416 common = boot/decompressor/none.c;
418 cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1';
420 objcopyflags = '-O binary';
421 mips_ldflags = '-static-libgcc -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
423 cflags = '-static-libgcc';
428 name = lzma_decompress;
429 i386_pc = boot/i386/pc/startup_raw.S;
430 i386_pc_nodist = rs_decoder.h;
432 objcopyflags = '-O binary';
433 ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200';
439 mips_loongson = boot/mips/loongson/fwstart.S;
440 objcopyflags = '-O binary';
441 ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
442 enable = mips_loongson;
446 name = fwstart_fuloong2f;
447 mips_loongson = boot/mips/loongson/fuloong2f.S;
448 objcopyflags = '-O binary';
449 ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
450 enable = mips_loongson;
455 common_nodist = trigtables.c;
456 extra_dist = gentrigtables.c;
467 emu = bus/usb/emu/usb.c;
469 condition = COND_GRUB_EMU_USB;
474 mips_loongson = commands/mips/loongson/lsspd.c;
475 enable = mips_loongson;
480 common = bus/usb/usb.c;
481 common = bus/usb/usbtrans.c;
482 common = bus/usb/usbhub.c;
488 common = bus/usb/usb.c;
489 condition = COND_GRUB_EMU_USB;
493 name = usbserial_common;
494 common = bus/usb/serial/common.c;
499 name = usbserial_pl2303;
500 common = bus/usb/serial/pl2303.c;
505 name = usbserial_ftdi;
506 common = bus/usb/serial/ftdi.c;
511 name = usbserial_usbdebug;
512 common = bus/usb/serial/usbdebug_late.c;
518 common = bus/usb/uhci.c;
524 common = bus/usb/ohci.c;
530 common = bus/usb/ehci.c;
539 enable = i386_ieee1275;
540 enable = i386_coreboot;
541 enable = i386_multiboot;
546 common = commands/nativedisk.c;
549 enable = mips_loongson;
550 enable = mips_qemu_mips;
555 common = bus/emu/pci.c;
556 common = commands/lspci.c;
558 condition = COND_GRUB_EMU_PCI;
563 common = commands/arc/lsdev.c;
570 common = gnulib/regex.c;
571 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
572 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
577 common = commands/i386/cmostest.c;
583 common = commands/i386/cmosdump.c;
589 common = commands/iorw.c;
595 common = kern/i386/coreboot/cbtable.c;
599 enable = i386_multiboot;
600 enable = i386_ieee1275;
606 common = commands/i386/coreboot/cb_timestamps.c;
612 common = commands/i386/coreboot/cbls.c;
618 common = term/i386/coreboot/cbmemc.c;
624 common = commands/regexp.c;
625 common = commands/wildcard.c;
627 dependencies = libgnulib.a;
628 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
629 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
635 common = commands/acpi.c;
636 efi = commands/efi/acpi.c;
637 i386_pc = commands/i386/pc/acpi.c;
638 i386_coreboot = commands/i386/pc/acpi.c;
639 i386_multiboot = commands/i386/pc/acpi.c;
643 enable = i386_coreboot;
644 enable = i386_multiboot;
650 common = commands/lsacpi.c;
654 enable = i386_coreboot;
655 enable = i386_multiboot;
661 common = commands/efi/lsefisystab.c;
669 common = commands/efi/lssal.c;
677 common = commands/efi/lsefimmap.c;
684 common = commands/efi/lsefi.c;
690 efi = commands/efi/efifwsetup.c;
696 common = commands/blocklist.c;
701 common = commands/boot.c;
702 i386_pc = lib/i386/pc/biosnum.c;
705 enable = sparc64_ieee1275;
706 enable = powerpc_ieee1275;
715 common = commands/cat.c;
720 common = commands/cmp.c;
725 common = commands/configfile.c;
730 x86 = commands/i386/cpuid.c;
736 common = commands/date.c;
742 i386_pc = commands/i386/pc/drivemap.c;
743 i386_pc = commands/i386/pc/drivemap_int13h.S;
749 common = commands/echo.c;
754 common = commands/eval.c;
759 common = commands/extcmd.c;
761 enable = terminfomodule;
766 common = commands/efi/fixvideo.c;
773 common = commands/gptsync.c;
778 nopc = commands/halt.c;
779 i386_pc = commands/i386/pc/halt.c;
780 i386_pc = commands/acpihalt.c;
781 i386_coreboot = commands/acpihalt.c;
782 i386_multiboot = commands/acpihalt.c;
783 i386_efi = commands/acpihalt.c;
784 x86_64_efi = commands/acpihalt.c;
785 i386_multiboot = lib/i386/halt.c;
786 i386_coreboot = lib/i386/halt.c;
787 i386_qemu = lib/i386/halt.c;
788 efi = lib/efi/halt.c;
789 ieee1275 = lib/ieee1275/halt.c;
790 emu = lib/emu/halt.c;
791 uboot = lib/uboot/halt.c;
796 i386 = lib/i386/reboot.c;
797 i386 = lib/i386/reboot_trampoline.S;
798 ia64_efi = lib/efi/reboot.c;
799 x86_64_efi = lib/efi/reboot.c;
800 arm_efi = lib/efi/reboot.c;
801 powerpc_ieee1275 = lib/ieee1275/reboot.c;
802 sparc64_ieee1275 = lib/ieee1275/reboot.c;
803 mips_arc = lib/mips/arc/reboot.c;
804 mips_loongson = lib/mips/loongson/reboot.c;
805 mips_qemu_mips = lib/mips/qemu_mips/reboot.c;
806 uboot = lib/uboot/reboot.c;
807 common = commands/reboot.c;
812 common = commands/hashsum.c;
817 common = commands/verify.c;
818 cflags = '$(CFLAGS_POSIX)';
819 cppflags = '-I$(srcdir)/lib/posix_wrap';
824 common = commands/hdparm.c;
825 common = lib/hexdump.c;
827 enable = mips_qemu_mips;
832 common = commands/help.c;
837 common = commands/hexdump.c;
838 common = lib/hexdump.c;
843 common = commands/keystatus.c;
848 common = commands/efi/loadbios.c;
855 common = commands/loadenv.c;
856 common = lib/envblk.c;
861 common = commands/ls.c;
866 common = commands/lsmmap.c;
871 common = commands/lspci.c;
878 common = commands/memrw.c;
883 common = commands/minicmd.c;
888 common = commands/parttool.c;
893 common = commands/password.c;
897 name = password_pbkdf2;
898 common = commands/password_pbkdf2.c;
903 x86 = commands/i386/pc/play.c;
909 x86 = term/spkmodem.c;
921 common = commands/probe.c;
926 common = commands/read.c;
931 common = commands/search_wrap.c;
932 extra_dist = commands/search.c;
936 name = search_fs_file;
937 common = commands/search_file.c;
941 name = search_fs_uuid;
942 common = commands/search_uuid.c;
947 common = commands/search_label.c;
952 common = commands/setpci.c;
958 common = commands/pcidump.c;
964 common = commands/sleep.c;
969 ieee1275 = commands/ieee1275/suspend.c;
970 enable = i386_ieee1275;
971 enable = powerpc_ieee1275;
976 ieee1275 = term/ieee1275/escc.c;
977 enable = powerpc_ieee1275;
982 common = commands/terminal.c;
987 common = commands/test.c;
992 common = commands/true.c;
997 common = commands/usbtest.c;
1003 common = commands/videoinfo.c;
1008 common = commands/videotest.c;
1013 common = commands/xnu_uuid.c;
1018 common = disk/dmraid_nvidia.c;
1023 common = disk/loopback.c;
1028 common = disk/cryptodisk.c;
1033 common = disk/luks.c;
1034 common = disk/AFSplitter.c;
1039 common = disk/geli.c;
1044 common = disk/lvm.c;
1049 common = disk/ldm.c;
1054 common = disk/mdraid_linux.c;
1059 common = disk/mdraid_linux_be.c;
1064 common = disk/mdraid1x_linux.c;
1069 common = disk/diskfilter.c;
1074 common = disk/raid5_recover.c;
1079 common = disk/raid6_recover.c;
1084 common = disk/scsi.c;
1089 common = disk/memdisk.c;
1094 common = disk/ata.c;
1096 enable = mips_qemu_mips;
1101 common = disk/ahci.c;
1107 common = disk/pata.c;
1109 enable = mips_qemu_mips;
1114 i386_pc = disk/i386/pc/biosdisk.c;
1120 common = disk/usbms.c;
1126 ieee1275 = disk/ieee1275/nand.c;
1127 enable = i386_ieee1275;
1132 common = efiemu/main.c;
1133 common = efiemu/i386/loadcore32.c;
1134 common = efiemu/i386/loadcore64.c;
1135 i386_pc = efiemu/i386/pc/cfgtables.c;
1136 i386_coreboot = efiemu/i386/pc/cfgtables.c;
1137 i386_multiboot = efiemu/i386/pc/cfgtables.c;
1138 i386_ieee1275 = efiemu/i386/nocfgtables.c;
1139 i386_qemu = efiemu/i386/nocfgtables.c;
1140 common = efiemu/mm.c;
1141 common = efiemu/loadcore_common.c;
1142 common = efiemu/symbols.c;
1143 common = efiemu/loadcore32.c;
1144 common = efiemu/loadcore64.c;
1145 common = efiemu/prepare32.c;
1146 common = efiemu/prepare64.c;
1147 common = efiemu/pnvram.c;
1148 common = efiemu/i386/coredetect.c;
1150 extra_dist = efiemu/prepare.c;
1151 extra_dist = efiemu/loadcore.c;
1152 extra_dist = efiemu/runtime/efiemu.S;
1153 extra_dist = efiemu/runtime/efiemu.c;
1156 enable = i386_coreboot;
1157 enable = i386_ieee1275;
1158 enable = i386_multiboot;
1164 common = font/font.c;
1165 common = font/font_cmd.c;
1166 enable = videomodules;
1191 common = fs/btrfs.c;
1193 cflags = '$(CFLAGS_POSIX) -Wno-undef';
1194 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
1199 common = fs/archelp.c;
1214 common = fs/cpio_be.c;
1239 common = fs/exfat.c;
1244 common = fs/fshelp.c;
1254 common = fs/hfsplus.c;
1259 common = fs/hfspluscomp.c;
1264 common = fs/iso9660.c;
1274 common = fs/minix.c;
1279 common = fs/minix2.c;
1284 common = fs/minix3.c;
1289 common = fs/minix_be.c;
1294 common = fs/minix2_be.c;
1299 common = fs/minix3_be.c;
1304 common = fs/nilfs2.c;
1314 common = fs/ntfscomp.c;
1319 common = fs/reiserfs.c;
1324 common = fs/romfs.c;
1334 common = fs/squash4.c;
1335 cflags = '$(CFLAGS_POSIX) -Wno-undef';
1336 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
1356 common = fs/ufs_be.c;
1371 common = fs/zfs/zfs.c;
1372 common = fs/zfs/zfs_lzjb.c;
1373 common = fs/zfs/zfs_lz4.c;
1374 common = fs/zfs/zfs_sha256.c;
1375 common = fs/zfs/zfs_fletcher.c;
1380 common = fs/zfs/zfscrypt.c;
1385 common = fs/zfs/zfsinfo.c;
1390 i386_pc = net/drivers/i386/pc/pxe.c;
1396 common = gettext/gettext.c;
1401 common = gfxmenu/gfxmenu.c;
1402 common = gfxmenu/model.c;
1403 common = gfxmenu/view.c;
1404 common = gfxmenu/font.c;
1405 common = gfxmenu/icon_manager.c;
1406 common = gfxmenu/theme_loader.c;
1407 common = gfxmenu/widget-box.c;
1408 common = gfxmenu/gui_canvas.c;
1409 common = gfxmenu/gui_circular_progress.c;
1410 common = gfxmenu/gui_box.c;
1411 common = gfxmenu/gui_label.c;
1412 common = gfxmenu/gui_list.c;
1413 common = gfxmenu/gui_image.c;
1414 common = gfxmenu/gui_progress_bar.c;
1415 common = gfxmenu/gui_util.c;
1416 common = gfxmenu/gui_string_util.c;
1421 common = hello/hello.c;
1431 common = io/bufio.c;
1432 enable = videomodules;
1437 common = kern/elf.c;
1439 extra_dist = kern/elfXX.c;
1444 common = lib/crypto.c;
1446 extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
1451 common = lib/pbkdf2.c;
1456 common = lib/relocator.c;
1457 x86 = lib/i386/relocator16.S;
1458 x86 = lib/i386/relocator32.S;
1459 x86 = lib/i386/relocator64.S;
1460 i386 = lib/i386/relocator_asm.S;
1461 x86_64 = lib/x86_64/relocator_asm.S;
1462 x86 = lib/i386/relocator.c;
1463 ieee1275 = lib/ieee1275/relocator.c;
1464 efi = lib/efi/relocator.c;
1465 mips = lib/mips/relocator_asm.S;
1466 mips = lib/mips/relocator.c;
1467 powerpc = lib/powerpc/relocator_asm.S;
1468 powerpc = lib/powerpc/relocator.c;
1470 extra_dist = lib/i386/relocator_common.S;
1471 extra_dist = kern/powerpc/cache_flush.S;
1480 cmos = lib/cmos_datetime.c;
1481 efi = lib/efi/datetime.c;
1482 uboot = lib/uboot/datetime.c;
1483 sparc64_ieee1275 = lib/ieee1275/datetime.c;
1484 powerpc_ieee1275 = lib/ieee1275/datetime.c;
1485 sparc64_ieee1275 = lib/ieee1275/cmos.c;
1486 powerpc_ieee1275 = lib/ieee1275/cmos.c;
1488 mips_arc = lib/arc/datetime.c;
1494 common = lib/setjmp.S;
1495 extra_dist = lib/i386/setjmp.S;
1496 extra_dist = lib/mips/setjmp.S;
1497 extra_dist = lib/x86_64/setjmp.S;
1498 extra_dist = lib/sparc64/setjmp.S;
1499 extra_dist = lib/powerpc/setjmp.S;
1500 extra_dist = lib/ia64/setjmp.S;
1501 extra_dist = lib/ia64/longjmp.S;
1502 extra_dist = lib/arm/setjmp.S;
1507 common = loader/aout.c;
1513 x86 = loader/i386/bsd.c;
1514 x86 = loader/i386/bsd32.c;
1515 x86 = loader/i386/bsd64.c;
1517 extra_dist = loader/i386/bsdXX.c;
1518 extra_dist = loader/i386/bsd_pagetable.c;
1525 i386_pc = loader/i386/pc/plan9.c;
1532 common = loader/i386/pc/linux.c;
1533 common = loader/linux.c;
1534 common = lib/cmdline.c;
1540 i386_pc = loader/i386/pc/ntldr.c;
1546 i386_pc = loader/i386/pc/freedos.c;
1552 i386_pc = loader/i386/pc/pxechainloader.c;
1558 cppflags = "-DGRUB_USE_MULTIBOOT2";
1560 common = loader/multiboot.c;
1561 common = loader/multiboot_mbi2.c;
1568 common = loader/multiboot.c;
1569 x86 = loader/i386/multiboot_mbi.c;
1570 extra_dist = loader/multiboot_elfxx.c;
1576 x86 = loader/i386/linux.c;
1577 i386_pc = lib/i386/pc/vesa_modes_table.c;
1578 mips = loader/mips/linux.c;
1579 powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1580 sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
1581 ia64_efi = loader/ia64/efi/linux.c;
1582 arm = loader/arm/linux.c;
1584 common = loader/linux.c;
1585 common = lib/cmdline.c;
1591 x86 = loader/xnu_resume.c;
1592 x86 = loader/i386/xnu.c;
1593 x86 = loader/macho32.c;
1594 x86 = loader/macho64.c;
1595 x86 = loader/macho.c;
1597 x86 = loader/lzss.c;
1599 extra_dist = loader/machoXX.c;
1605 common = loader/efi/appleloader.c;
1607 enable = x86_64_efi;
1612 efi = loader/efi/chainloader.c;
1613 i386_pc = loader/i386/pc/chainloader.c;
1614 i386_coreboot = loader/i386/coreboot/chainloader.c;
1616 enable = i386_coreboot;
1622 common = mmap/mmap.c;
1623 x86 = mmap/i386/uppermem.c;
1624 x86 = mmap/i386/mmap.c;
1626 i386_pc = mmap/i386/pc/mmap.c;
1627 i386_pc = mmap/i386/pc/mmap_helper.S;
1629 efi = mmap/efi/mmap.c;
1631 mips = mmap/mips/uppermem.c;
1641 common = normal/main.c;
1642 common = normal/cmdline.c;
1643 common = normal/dyncmd.c;
1644 common = normal/auth.c;
1645 common = normal/autofs.c;
1646 common = normal/color.c;
1647 common = normal/completion.c;
1648 common = normal/datetime.c;
1649 common = normal/menu.c;
1650 common = normal/menu_entry.c;
1651 common = normal/menu_text.c;
1652 common = normal/misc.c;
1653 common = normal/crypto.c;
1654 common = normal/term.c;
1655 common = normal/context.c;
1656 common = normal/charset.c;
1658 common = script/main.c;
1659 common = script/script.c;
1660 common = script/execute.c;
1661 common = script/function.c;
1662 common = script/lexer.c;
1663 common = script/argv.c;
1665 common = commands/menuentry.c;
1668 common_nodist = grub_script.tab.c;
1669 common_nodist = grub_script.yy.c;
1670 common_nodist = grub_script.tab.h;
1671 common_nodist = grub_script.yy.h;
1673 extra_dist = script/yylex.l;
1674 extra_dist = script/parser.y;
1676 cflags = '$(CFLAGS_POSIX) -Wno-redundant-decls';
1677 cppflags = '$(CPPFLAGS_POSIX)';
1682 common = partmap/acorn.c;
1687 common = partmap/amiga.c;
1692 common = partmap/apple.c;
1697 common = partmap/gpt.c;
1702 common = partmap/msdos.c;
1707 common = partmap/sun.c;
1712 common = partmap/plan.c;
1717 common = partmap/dvh.c;
1722 common = partmap/bsdlabel.c;
1727 common = partmap/sunpc.c;
1732 common = partmap/dfly.c;
1737 common = parttool/msdospart.c;
1742 common = term/at_keyboard.c;
1748 common = term/gfxterm.c;
1749 enable = videomodules;
1753 name = gfxterm_background;
1754 common = term/gfxterm_background.c;
1759 common = term/serial.c;
1760 x86 = term/ns8250.c;
1761 ieee1275 = term/ieee1275/serial.c;
1762 mips_arc = term/arc/serial.c;
1763 efi = term/efi/serial.c;
1765 enable = terminfomodule;
1772 i386_pc = commands/i386/pc/sendkey.c;
1778 common = term/terminfo.c;
1779 common = term/tparm.c;
1780 enable = terminfomodule;
1784 name = usb_keyboard;
1785 common = term/usb_keyboard.c;
1791 common = video/i386/pc/vga.c;
1797 common = term/i386/pc/vga_text.c;
1803 common = term/i386/pc/mda_text.c;
1805 enable = i386_coreboot_multiboot_qemu;
1809 name = video_cirrus;
1810 x86 = video/cirrus.c;
1816 x86 = video/bochs.c;
1821 name = functional_test;
1822 common = tests/lib/functional_test.c;
1823 common = tests/lib/test.c;
1824 common = tests/checksums.h;
1825 common = tests/video_checksum.c;
1826 common = tests/fake_input.c;
1827 common = video/capture.c;
1832 common = tests/example_functional_test.c;
1837 common = tests/setjmp_test.c;
1841 name = videotest_checksum;
1842 common = tests/videotest_checksum.c;
1846 name = gfxterm_menu;
1847 common = tests/gfxterm_menu.c;
1851 name = cmdline_cat_test;
1852 common = tests/cmdline_cat_test.c;
1857 common = video/bitmap.c;
1861 name = bitmap_scale;
1862 common = video/bitmap_scale.c;
1867 efi = video/efi_gop.c;
1873 efi = video/efi_uga.c;
1875 enable = x86_64_efi;
1880 common = video/readers/jpeg.c;
1885 common = video/readers/png.c;
1890 common = video/readers/tga.c;
1895 common = video/i386/pc/vbe.c;
1901 common = video/fb/video_fb.c;
1902 common = video/fb/fbblit.c;
1903 common = video/fb/fbfill.c;
1904 common = video/fb/fbutil.c;
1905 enable = videomodules;
1910 common = video/video.c;
1911 enable = videomodules;
1915 name = video_colors;
1916 common = video/colors.c;
1921 ieee1275 = video/ieee1275.c;
1922 enable = powerpc_ieee1275;
1927 emu = video/emu/sdl.c;
1929 condition = COND_GRUB_EMU_SDL;
1934 common = hook/datehook.c;
1941 common = net/bootp.c;
1945 common = net/icmp.c;
1946 common = net/icmp6.c;
1947 common = net/ethernet.c;
1949 common = net/netbuff.c;
1954 common = net/tftp.c;
1959 common = net/http.c;
1964 common = net/drivers/ieee1275/ofnet.c;
1970 common = net/drivers/uboot/ubootnet.c;
1976 common = net/drivers/efi/efinet.c;
1982 emu = net/drivers/emu/emunet.c;
1988 common = commands/legacycfg.c;
1989 common = lib/legacy_parse.c;
1990 emu = lib/i386/pc/vesa_modes_table.c;
1991 i386_efi = lib/i386/pc/vesa_modes_table.c;
1992 x86_64_efi = lib/i386/pc/vesa_modes_table.c;
1996 enable = x86_64_efi;
2001 name = test_blockarg;
2002 common = tests/test_blockarg.c;
2008 common = lib/xzembed/xz_dec_bcj.c;
2009 common = lib/xzembed/xz_dec_lzma2.c;
2010 common = lib/xzembed/xz_dec_stream.c;
2011 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
2012 cflags='-Wno-unreachable-code';
2017 common = io/lzopio.c;
2018 common = lib/minilzo/minilzo.c;
2019 cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-redundant-decls -Wno-error';
2020 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
2025 common = commands/testload.c;
2030 x86 = lib/i386/backtrace.c;
2031 common = lib/backtrace.c;
2037 common = commands/i386/pc/lsapm.c;
2043 common = commands/keylayouts.c;
2048 name = priority_queue;
2049 common = lib/priority_queue.c;
2054 common = commands/time.c;
2059 common = commands/cacheinfo.c;
2060 condition = COND_ENABLE_CACHE_STATS;
2065 common = commands/boottime.c;
2066 condition = COND_ENABLE_BOOT_TIME_STATS;
2071 common = lib/adler32.c;
2076 common = lib/crc64.c;
2081 common = lib/libgcrypt-grub/mpi/mpiutil.c;
2082 common = lib/libgcrypt-grub/mpi/mpi-bit.c;
2083 common = lib/libgcrypt-grub/mpi/mpi-add.c;
2084 common = lib/libgcrypt-grub/mpi/mpi-mul.c;
2085 common = lib/libgcrypt-grub/mpi/mpi-mod.c;
2086 common = lib/libgcrypt-grub/mpi/mpi-gcd.c;
2087 common = lib/libgcrypt-grub/mpi/mpi-div.c;
2088 common = lib/libgcrypt-grub/mpi/mpi-cmp.c;
2089 common = lib/libgcrypt-grub/mpi/mpi-inv.c;
2090 common = lib/libgcrypt-grub/mpi/mpi-pow.c;
2091 common = lib/libgcrypt-grub/mpi/mpi-mpow.c;
2092 common = lib/libgcrypt-grub/mpi/mpih-lshift.c;
2093 common = lib/libgcrypt-grub/mpi/mpih-mul.c;
2094 common = lib/libgcrypt-grub/mpi/mpih-mul1.c;
2095 common = lib/libgcrypt-grub/mpi/mpih-mul2.c;
2096 common = lib/libgcrypt-grub/mpi/mpih-mul3.c;
2097 common = lib/libgcrypt-grub/mpi/mpih-add1.c;
2098 common = lib/libgcrypt-grub/mpi/mpih-sub1.c;
2099 common = lib/libgcrypt-grub/mpi/mpih-div.c;
2100 common = lib/libgcrypt-grub/mpi/mpicoder.c;
2101 common = lib/libgcrypt-grub/mpi/mpih-rshift.c;
2102 common = lib/libgcrypt-grub/mpi/mpi-inline.c;
2103 common = lib/libgcrypt_wrap/mem.c;
2105 cflags = '$(CFLAGS_GCRY) -Wno-redundant-decls -Wno-sign-compare';
2106 cppflags = '$(CPPFLAGS_GCRY)';
2111 common = lib/fake_module.c;
2116 common = gdb/cstub.c;
2118 i386 = gdb/i386/idt.c;
2119 i386 = gdb/i386/machdep.S;
2120 i386 = gdb/i386/signal.c;
2126 common = commands/testspeed.c;