505 |
commands/terminal.c commands/boot.c commands/cmp.c commands/cat.c \ |
commands/terminal.c commands/boot.c commands/cmp.c commands/cat.c \ |
506 |
util/i386/pc/biosdisk.c fs/fat.c fs/ext2.c fs/ufs.c fs/minix.c fs/hfs.c fs/jfs.c fs/iso9660.c \ |
util/i386/pc/biosdisk.c fs/fat.c fs/ext2.c fs/ufs.c fs/minix.c fs/hfs.c fs/jfs.c fs/iso9660.c \ |
507 |
normal/cmdline.c normal/command.c normal/main.c normal/menu.c normal/arg.c \ |
normal/cmdline.c normal/command.c normal/main.c normal/menu.c normal/arg.c \ |
508 |
util/console.c util/grub-emu.c util/misc.c util/i386/pc/getroot.c disk/loopback.c |
util/console.c util/grub-emu.c util/misc.c util/i386/pc/getroot.c commands/help.c \ |
509 |
CLEANFILES += grub-emu grub_emu-kern_main.o grub_emu-kern_device.o grub_emu-fs_fshelp.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-kern_err.o grub_emu-kern_misc.o grub_emu-kern_loader.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-kern_partition.o grub_emu-kern_env.o grub_emu-commands_ls.o grub_emu-partmap_amiga.o grub_emu-partmap_pc.o grub_emu-partmap_apple.o grub_emu-commands_terminal.o grub_emu-commands_boot.o grub_emu-commands_cmp.o grub_emu-commands_cat.o grub_emu-util_i386_pc_biosdisk.o grub_emu-fs_fat.o grub_emu-fs_ext2.o grub_emu-fs_ufs.o grub_emu-fs_minix.o grub_emu-fs_hfs.o grub_emu-fs_jfs.o grub_emu-fs_iso9660.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_arg.o grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_i386_pc_getroot.o grub_emu-disk_loopback.o |
disk/loopback.c |
510 |
MOSTLYCLEANFILES += grub_emu-kern_main.d grub_emu-kern_device.d grub_emu-fs_fshelp.d grub_emu-kern_disk.d grub_emu-kern_dl.d grub_emu-kern_file.d grub_emu-kern_fs.d grub_emu-kern_err.d grub_emu-kern_misc.d grub_emu-kern_loader.d grub_emu-kern_rescue.d grub_emu-kern_term.d grub_emu-kern_partition.d grub_emu-kern_env.d grub_emu-commands_ls.d grub_emu-partmap_amiga.d grub_emu-partmap_pc.d grub_emu-partmap_apple.d grub_emu-commands_terminal.d grub_emu-commands_boot.d grub_emu-commands_cmp.d grub_emu-commands_cat.d grub_emu-util_i386_pc_biosdisk.d grub_emu-fs_fat.d grub_emu-fs_ext2.d grub_emu-fs_ufs.d grub_emu-fs_minix.d grub_emu-fs_hfs.d grub_emu-fs_jfs.d grub_emu-fs_iso9660.d grub_emu-normal_cmdline.d grub_emu-normal_command.d grub_emu-normal_main.d grub_emu-normal_menu.d grub_emu-normal_arg.d grub_emu-util_console.d grub_emu-util_grub_emu.d grub_emu-util_misc.d grub_emu-util_i386_pc_getroot.d grub_emu-disk_loopback.d |
CLEANFILES += grub-emu grub_emu-kern_main.o grub_emu-kern_device.o grub_emu-fs_fshelp.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-kern_err.o grub_emu-kern_misc.o grub_emu-kern_loader.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-kern_partition.o grub_emu-kern_env.o grub_emu-commands_ls.o grub_emu-partmap_amiga.o grub_emu-partmap_pc.o grub_emu-partmap_apple.o grub_emu-commands_terminal.o grub_emu-commands_boot.o grub_emu-commands_cmp.o grub_emu-commands_cat.o grub_emu-util_i386_pc_biosdisk.o grub_emu-fs_fat.o grub_emu-fs_ext2.o grub_emu-fs_ufs.o grub_emu-fs_minix.o grub_emu-fs_hfs.o grub_emu-fs_jfs.o grub_emu-fs_iso9660.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_arg.o grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_i386_pc_getroot.o grub_emu-commands_help.o grub_emu-disk_loopback.o |
511 |
|
MOSTLYCLEANFILES += grub_emu-kern_main.d grub_emu-kern_device.d grub_emu-fs_fshelp.d grub_emu-kern_disk.d grub_emu-kern_dl.d grub_emu-kern_file.d grub_emu-kern_fs.d grub_emu-kern_err.d grub_emu-kern_misc.d grub_emu-kern_loader.d grub_emu-kern_rescue.d grub_emu-kern_term.d grub_emu-kern_partition.d grub_emu-kern_env.d grub_emu-commands_ls.d grub_emu-partmap_amiga.d grub_emu-partmap_pc.d grub_emu-partmap_apple.d grub_emu-commands_terminal.d grub_emu-commands_boot.d grub_emu-commands_cmp.d grub_emu-commands_cat.d grub_emu-util_i386_pc_biosdisk.d grub_emu-fs_fat.d grub_emu-fs_ext2.d grub_emu-fs_ufs.d grub_emu-fs_minix.d grub_emu-fs_hfs.d grub_emu-fs_jfs.d grub_emu-fs_iso9660.d grub_emu-normal_cmdline.d grub_emu-normal_command.d grub_emu-normal_main.d grub_emu-normal_menu.d grub_emu-normal_arg.d grub_emu-util_console.d grub_emu-util_grub_emu.d grub_emu-util_misc.d grub_emu-util_i386_pc_getroot.d grub_emu-commands_help.d grub_emu-disk_loopback.d |
512 |
|
|
513 |
grub-emu: grub_emu-kern_main.o grub_emu-kern_device.o grub_emu-fs_fshelp.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-kern_err.o grub_emu-kern_misc.o grub_emu-kern_loader.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-kern_partition.o grub_emu-kern_env.o grub_emu-commands_ls.o grub_emu-partmap_amiga.o grub_emu-partmap_pc.o grub_emu-partmap_apple.o grub_emu-commands_terminal.o grub_emu-commands_boot.o grub_emu-commands_cmp.o grub_emu-commands_cat.o grub_emu-util_i386_pc_biosdisk.o grub_emu-fs_fat.o grub_emu-fs_ext2.o grub_emu-fs_ufs.o grub_emu-fs_minix.o grub_emu-fs_hfs.o grub_emu-fs_jfs.o grub_emu-fs_iso9660.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_arg.o grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_i386_pc_getroot.o grub_emu-disk_loopback.o |
grub-emu: grub_emu-kern_main.o grub_emu-kern_device.o grub_emu-fs_fshelp.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-kern_err.o grub_emu-kern_misc.o grub_emu-kern_loader.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-kern_partition.o grub_emu-kern_env.o grub_emu-commands_ls.o grub_emu-partmap_amiga.o grub_emu-partmap_pc.o grub_emu-partmap_apple.o grub_emu-commands_terminal.o grub_emu-commands_boot.o grub_emu-commands_cmp.o grub_emu-commands_cat.o grub_emu-util_i386_pc_biosdisk.o grub_emu-fs_fat.o grub_emu-fs_ext2.o grub_emu-fs_ufs.o grub_emu-fs_minix.o grub_emu-fs_hfs.o grub_emu-fs_jfs.o grub_emu-fs_iso9660.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_arg.o grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_i386_pc_getroot.o grub_emu-commands_help.o grub_emu-disk_loopback.o |
514 |
$(BUILD_CC) -o $@ $^ $(BUILD_LDFLAGS) $(grub_emu_LDFLAGS) |
$(BUILD_CC) -o $@ $^ $(BUILD_LDFLAGS) $(grub_emu_LDFLAGS) |
515 |
|
|
516 |
grub_emu-kern_main.o: kern/main.c |
grub_emu-kern_main.o: kern/main.c |
825 |
|
|
826 |
-include grub_emu-util_i386_pc_getroot.d |
-include grub_emu-util_i386_pc_getroot.d |
827 |
|
|
828 |
|
grub_emu-commands_help.o: commands/help.c |
829 |
|
$(BUILD_CC) -Icommands -I$(srcdir)/commands $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) -DGRUB_UTIL=1 $(grub_emu_CFLAGS) -c -o $@ $< |
830 |
|
|
831 |
|
grub_emu-commands_help.d: commands/help.c |
832 |
|
set -e; $(BUILD_CC) -Icommands -I$(srcdir)/commands $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) -DGRUB_UTIL=1 $(grub_emu_CFLAGS) -M $< | sed 's,help\.o[ :]*,grub_emu-commands_help.o $@ : ,g' > $@; [ -s $@ ] || rm -f $@ |
833 |
|
|
834 |
|
-include grub_emu-commands_help.d |
835 |
|
|
836 |
grub_emu-disk_loopback.o: disk/loopback.c |
grub_emu-disk_loopback.o: disk/loopback.c |
837 |
$(BUILD_CC) -Idisk -I$(srcdir)/disk $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) -DGRUB_UTIL=1 $(grub_emu_CFLAGS) -c -o $@ $< |
$(BUILD_CC) -Idisk -I$(srcdir)/disk $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) -DGRUB_UTIL=1 $(grub_emu_CFLAGS) -c -o $@ $< |
838 |
|
|
864 |
pkgdata_MODULES = _chain.mod _linux.mod linux.mod fat.mod ufs.mod ext2.mod minix.mod \ |
pkgdata_MODULES = _chain.mod _linux.mod linux.mod fat.mod ufs.mod ext2.mod minix.mod \ |
865 |
hfs.mod jfs.mod normal.mod hello.mod vga.mod font.mod _multiboot.mod ls.mod \ |
hfs.mod jfs.mod normal.mod hello.mod vga.mod font.mod _multiboot.mod ls.mod \ |
866 |
boot.mod cmp.mod cat.mod terminal.mod fshelp.mod chain.mod multiboot.mod \ |
boot.mod cmp.mod cat.mod terminal.mod fshelp.mod chain.mod multiboot.mod \ |
867 |
amiga.mod apple.mod pc.mod loopback.mod |
amiga.mod apple.mod pc.mod loopback.mod reboot.mod halt.mod help.mod |
868 |
|
|
869 |
# For _chain.mod. |
# For _chain.mod. |
870 |
_chain_mod_SOURCES = loader/i386/pc/chainloader.c |
_chain_mod_SOURCES = loader/i386/pc/chainloader.c |
1614 |
|
|
1615 |
cat_mod_CFLAGS = $(COMMON_CFLAGS) |
cat_mod_CFLAGS = $(COMMON_CFLAGS) |
1616 |
|
|
1617 |
|
# For help.mod. |
1618 |
|
help_mod_SOURCES = commands/help.c |
1619 |
|
CLEANFILES += help.mod mod-help.o mod-help.c pre-help.o help_mod-commands_help.o def-help.lst und-help.lst |
1620 |
|
MOSTLYCLEANFILES += help_mod-commands_help.d |
1621 |
|
DEFSYMFILES += def-help.lst |
1622 |
|
UNDSYMFILES += und-help.lst |
1623 |
|
|
1624 |
|
help.mod: pre-help.o mod-help.o |
1625 |
|
-rm -f $@ |
1626 |
|
$(LD) -r -d -o $@ $^ |
1627 |
|
$(STRIP) --strip-unneeded -K grub_mod_init -K grub_mod_fini -R .note -R .comment $@ |
1628 |
|
|
1629 |
|
pre-help.o: help_mod-commands_help.o |
1630 |
|
-rm -f $@ |
1631 |
|
$(LD) -r -d -o $@ $^ |
1632 |
|
|
1633 |
|
mod-help.o: mod-help.c |
1634 |
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(help_mod_CFLAGS) -c -o $@ $< |
1635 |
|
|
1636 |
|
mod-help.c: moddep.lst genmodsrc.sh |
1637 |
|
sh $(srcdir)/genmodsrc.sh 'help' $< > $@ || (rm -f $@; exit 1) |
1638 |
|
|
1639 |
|
def-help.lst: pre-help.o |
1640 |
|
$(NM) -g --defined-only -P -p $< | sed 's/^\([^ ]*\).*/\1 help/' > $@ |
1641 |
|
|
1642 |
|
und-help.lst: pre-help.o |
1643 |
|
echo 'help' > $@ |
1644 |
|
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@ |
1645 |
|
|
1646 |
|
help_mod-commands_help.o: commands/help.c |
1647 |
|
$(CC) -Icommands -I$(srcdir)/commands $(CPPFLAGS) $(CFLAGS) $(help_mod_CFLAGS) -c -o $@ $< |
1648 |
|
|
1649 |
|
help_mod-commands_help.d: commands/help.c |
1650 |
|
set -e; $(CC) -Icommands -I$(srcdir)/commands $(CPPFLAGS) $(CFLAGS) $(help_mod_CFLAGS) -M $< | sed 's,help\.o[ :]*,help_mod-commands_help.o $@ : ,g' > $@; [ -s $@ ] || rm -f $@ |
1651 |
|
|
1652 |
|
-include help_mod-commands_help.d |
1653 |
|
|
1654 |
|
help_mod_CFLAGS = $(COMMON_CFLAGS) |
1655 |
|
|
1656 |
|
# For reboot.mod. |
1657 |
|
reboot_mod_SOURCES = commands/i386/pc/reboot.c |
1658 |
|
CLEANFILES += reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-commands_i386_pc_reboot.o def-reboot.lst und-reboot.lst |
1659 |
|
MOSTLYCLEANFILES += reboot_mod-commands_i386_pc_reboot.d |
1660 |
|
DEFSYMFILES += def-reboot.lst |
1661 |
|
UNDSYMFILES += und-reboot.lst |
1662 |
|
|
1663 |
|
reboot.mod: pre-reboot.o mod-reboot.o |
1664 |
|
-rm -f $@ |
1665 |
|
$(LD) -r -d -o $@ $^ |
1666 |
|
$(STRIP) --strip-unneeded -K grub_mod_init -K grub_mod_fini -R .note -R .comment $@ |
1667 |
|
|
1668 |
|
pre-reboot.o: reboot_mod-commands_i386_pc_reboot.o |
1669 |
|
-rm -f $@ |
1670 |
|
$(LD) -r -d -o $@ $^ |
1671 |
|
|
1672 |
|
mod-reboot.o: mod-reboot.c |
1673 |
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(reboot_mod_CFLAGS) -c -o $@ $< |
1674 |
|
|
1675 |
|
mod-reboot.c: moddep.lst genmodsrc.sh |
1676 |
|
sh $(srcdir)/genmodsrc.sh 'reboot' $< > $@ || (rm -f $@; exit 1) |
1677 |
|
|
1678 |
|
def-reboot.lst: pre-reboot.o |
1679 |
|
$(NM) -g --defined-only -P -p $< | sed 's/^\([^ ]*\).*/\1 reboot/' > $@ |
1680 |
|
|
1681 |
|
und-reboot.lst: pre-reboot.o |
1682 |
|
echo 'reboot' > $@ |
1683 |
|
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@ |
1684 |
|
|
1685 |
|
reboot_mod-commands_i386_pc_reboot.o: commands/i386/pc/reboot.c |
1686 |
|
$(CC) -Icommands/i386/pc -I$(srcdir)/commands/i386/pc $(CPPFLAGS) $(CFLAGS) $(reboot_mod_CFLAGS) -c -o $@ $< |
1687 |
|
|
1688 |
|
reboot_mod-commands_i386_pc_reboot.d: commands/i386/pc/reboot.c |
1689 |
|
set -e; $(CC) -Icommands/i386/pc -I$(srcdir)/commands/i386/pc $(CPPFLAGS) $(CFLAGS) $(reboot_mod_CFLAGS) -M $< | sed 's,reboot\.o[ :]*,reboot_mod-commands_i386_pc_reboot.o $@ : ,g' > $@; [ -s $@ ] || rm -f $@ |
1690 |
|
|
1691 |
|
-include reboot_mod-commands_i386_pc_reboot.d |
1692 |
|
|
1693 |
|
reboot_mod_CFLAGS = $(COMMON_CFLAGS) |
1694 |
|
|
1695 |
|
# For halt.mod. |
1696 |
|
halt_mod_SOURCES = commands/i386/pc/halt.c |
1697 |
|
CLEANFILES += halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_i386_pc_halt.o def-halt.lst und-halt.lst |
1698 |
|
MOSTLYCLEANFILES += halt_mod-commands_i386_pc_halt.d |
1699 |
|
DEFSYMFILES += def-halt.lst |
1700 |
|
UNDSYMFILES += und-halt.lst |
1701 |
|
|
1702 |
|
halt.mod: pre-halt.o mod-halt.o |
1703 |
|
-rm -f $@ |
1704 |
|
$(LD) -r -d -o $@ $^ |
1705 |
|
$(STRIP) --strip-unneeded -K grub_mod_init -K grub_mod_fini -R .note -R .comment $@ |
1706 |
|
|
1707 |
|
pre-halt.o: halt_mod-commands_i386_pc_halt.o |
1708 |
|
-rm -f $@ |
1709 |
|
$(LD) -r -d -o $@ $^ |
1710 |
|
|
1711 |
|
mod-halt.o: mod-halt.c |
1712 |
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(halt_mod_CFLAGS) -c -o $@ $< |
1713 |
|
|
1714 |
|
mod-halt.c: moddep.lst genmodsrc.sh |
1715 |
|
sh $(srcdir)/genmodsrc.sh 'halt' $< > $@ || (rm -f $@; exit 1) |
1716 |
|
|
1717 |
|
def-halt.lst: pre-halt.o |
1718 |
|
$(NM) -g --defined-only -P -p $< | sed 's/^\([^ ]*\).*/\1 halt/' > $@ |
1719 |
|
|
1720 |
|
und-halt.lst: pre-halt.o |
1721 |
|
echo 'halt' > $@ |
1722 |
|
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@ |
1723 |
|
|
1724 |
|
halt_mod-commands_i386_pc_halt.o: commands/i386/pc/halt.c |
1725 |
|
$(CC) -Icommands/i386/pc -I$(srcdir)/commands/i386/pc $(CPPFLAGS) $(CFLAGS) $(halt_mod_CFLAGS) -c -o $@ $< |
1726 |
|
|
1727 |
|
halt_mod-commands_i386_pc_halt.d: commands/i386/pc/halt.c |
1728 |
|
set -e; $(CC) -Icommands/i386/pc -I$(srcdir)/commands/i386/pc $(CPPFLAGS) $(CFLAGS) $(halt_mod_CFLAGS) -M $< | sed 's,halt\.o[ :]*,halt_mod-commands_i386_pc_halt.o $@ : ,g' > $@; [ -s $@ ] || rm -f $@ |
1729 |
|
|
1730 |
|
-include halt_mod-commands_i386_pc_halt.d |
1731 |
|
|
1732 |
|
halt_mod_CFLAGS = $(COMMON_CFLAGS) |
1733 |
|
|
1734 |
# For vga.mod. |
# For vga.mod. |
1735 |
vga_mod_SOURCES = term/i386/pc/vga.c |
vga_mod_SOURCES = term/i386/pc/vga.c |
1736 |
CLEANFILES += vga.mod mod-vga.o mod-vga.c pre-vga.o vga_mod-term_i386_pc_vga.o def-vga.lst und-vga.lst |
CLEANFILES += vga.mod mod-vga.o mod-vga.c pre-vga.o vga_mod-term_i386_pc_vga.o def-vga.lst und-vga.lst |