2 # Generated by genmk.rb, please don't edit!
4 COMMON_ASFLAGS
= -nostdinc
-fno-builtin
-m32
5 COMMON_CFLAGS
= -fno-builtin
-mrtd
-mregparm
=3 -m32
6 COMMON_LDFLAGS
= -m32
-nostdlib
8 # Used by various components. These rules need to precede them.
9 normal
/lexer.c_DEPENDENCIES
= grub_script.tab.h
12 pkglib_PROGRAMS
= kernel.elf
15 kernel_elf_SOURCES
= kern
/i386
/coreboot
/startup.S \
16 kern
/i386
/coreboot
/init.c \
17 kern
/i386
/multiboot_mmap.c \
18 kern
/main.c kern
/device.c \
19 kern
/disk.c kern
/dl.c kern
/file.c kern
/fs.c kern
/err.c \
20 kern
/misc.c kern
/mm.c kern
/loader.c kern
/rescue.c kern
/term.c \
22 kern
/i386
/dl.c kern
/parser.c kern
/partition.c \
23 kern
/i386
/tsc.c kern
/i386
/pit.c \
24 kern
/generic
/rtc_get_time_ms.c \
25 kern
/generic
/millisleep.c \
27 term
/i386
/pc/console.c \
28 term
/i386
/pc/at_keyboard.c term
/i386
/pc/vga_text.c \
30 CLEANFILES
+= kernel.elf kernel_elf-kern_i386_coreboot_startup.o kernel_elf-kern_i386_coreboot_init.o kernel_elf-kern_i386_multiboot_mmap.o kernel_elf-kern_main.o kernel_elf-kern_device.o kernel_elf-kern_disk.o kernel_elf-kern_dl.o kernel_elf-kern_file.o kernel_elf-kern_fs.o kernel_elf-kern_err.o kernel_elf-kern_misc.o kernel_elf-kern_mm.o kernel_elf-kern_loader.o kernel_elf-kern_rescue.o kernel_elf-kern_term.o kernel_elf-kern_time.o kernel_elf-kern_i386_dl.o kernel_elf-kern_parser.o kernel_elf-kern_partition.o kernel_elf-kern_i386_tsc.o kernel_elf-kern_i386_pit.o kernel_elf-kern_generic_rtc_get_time_ms.o kernel_elf-kern_generic_millisleep.o kernel_elf-kern_env.o kernel_elf-term_i386_pc_console.o kernel_elf-term_i386_pc_at_keyboard.o kernel_elf-term_i386_pc_vga_text.o kernel_elf-symlist.o
31 MOSTLYCLEANFILES
+= kernel_elf-kern_i386_coreboot_startup.d kernel_elf-kern_i386_coreboot_init.d kernel_elf-kern_i386_multiboot_mmap.d kernel_elf-kern_main.d kernel_elf-kern_device.d kernel_elf-kern_disk.d kernel_elf-kern_dl.d kernel_elf-kern_file.d kernel_elf-kern_fs.d kernel_elf-kern_err.d kernel_elf-kern_misc.d kernel_elf-kern_mm.d kernel_elf-kern_loader.d kernel_elf-kern_rescue.d kernel_elf-kern_term.d kernel_elf-kern_time.d kernel_elf-kern_i386_dl.d kernel_elf-kern_parser.d kernel_elf-kern_partition.d kernel_elf-kern_i386_tsc.d kernel_elf-kern_i386_pit.d kernel_elf-kern_generic_rtc_get_time_ms.d kernel_elf-kern_generic_millisleep.d kernel_elf-kern_env.d kernel_elf-term_i386_pc_console.d kernel_elf-term_i386_pc_at_keyboard.d kernel_elf-term_i386_pc_vga_text.d kernel_elf-symlist.d
33 kernel.elf
: $(kernel_elf_DEPENDENCIES
) kernel_elf-kern_i386_coreboot_startup.o kernel_elf-kern_i386_coreboot_init.o kernel_elf-kern_i386_multiboot_mmap.o kernel_elf-kern_main.o kernel_elf-kern_device.o kernel_elf-kern_disk.o kernel_elf-kern_dl.o kernel_elf-kern_file.o kernel_elf-kern_fs.o kernel_elf-kern_err.o kernel_elf-kern_misc.o kernel_elf-kern_mm.o kernel_elf-kern_loader.o kernel_elf-kern_rescue.o kernel_elf-kern_term.o kernel_elf-kern_time.o kernel_elf-kern_i386_dl.o kernel_elf-kern_parser.o kernel_elf-kern_partition.o kernel_elf-kern_i386_tsc.o kernel_elf-kern_i386_pit.o kernel_elf-kern_generic_rtc_get_time_ms.o kernel_elf-kern_generic_millisleep.o kernel_elf-kern_env.o kernel_elf-term_i386_pc_console.o kernel_elf-term_i386_pc_at_keyboard.o kernel_elf-term_i386_pc_vga_text.o kernel_elf-symlist.o
34 $(TARGET_CC
) -o
$@ kernel_elf-kern_i386_coreboot_startup.o kernel_elf-kern_i386_coreboot_init.o kernel_elf-kern_i386_multiboot_mmap.o kernel_elf-kern_main.o kernel_elf-kern_device.o kernel_elf-kern_disk.o kernel_elf-kern_dl.o kernel_elf-kern_file.o kernel_elf-kern_fs.o kernel_elf-kern_err.o kernel_elf-kern_misc.o kernel_elf-kern_mm.o kernel_elf-kern_loader.o kernel_elf-kern_rescue.o kernel_elf-kern_term.o kernel_elf-kern_time.o kernel_elf-kern_i386_dl.o kernel_elf-kern_parser.o kernel_elf-kern_partition.o kernel_elf-kern_i386_tsc.o kernel_elf-kern_i386_pit.o kernel_elf-kern_generic_rtc_get_time_ms.o kernel_elf-kern_generic_millisleep.o kernel_elf-kern_env.o kernel_elf-term_i386_pc_console.o kernel_elf-term_i386_pc_at_keyboard.o kernel_elf-term_i386_pc_vga_text.o kernel_elf-symlist.o
$(TARGET_LDFLAGS
) $(kernel_elf_LDFLAGS
)
36 kernel_elf-kern_i386_coreboot_startup.o
: kern
/i386
/coreboot
/startup.S
$(kern
/i386
/coreboot
/startup.S_DEPENDENCIES
)
37 $(TARGET_CC
) -Ikern
/i386
/coreboot
-I
$(srcdir)/kern
/i386
/coreboot
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
38 -include kernel_elf-kern_i386_coreboot_startup.d
40 kernel_elf-kern_i386_coreboot_init.o
: kern
/i386
/coreboot
/init.c
$(kern
/i386
/coreboot
/init.c_DEPENDENCIES
)
41 $(TARGET_CC
) -Ikern
/i386
/coreboot
-I
$(srcdir)/kern
/i386
/coreboot
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
42 -include kernel_elf-kern_i386_coreboot_init.d
44 kernel_elf-kern_i386_multiboot_mmap.o
: kern
/i386
/multiboot_mmap.c
$(kern
/i386
/multiboot_mmap.c_DEPENDENCIES
)
45 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
46 -include kernel_elf-kern_i386_multiboot_mmap.d
48 kernel_elf-kern_main.o
: kern
/main.c
$(kern
/main.c_DEPENDENCIES
)
49 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
50 -include kernel_elf-kern_main.d
52 kernel_elf-kern_device.o
: kern
/device.c
$(kern
/device.c_DEPENDENCIES
)
53 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
54 -include kernel_elf-kern_device.d
56 kernel_elf-kern_disk.o
: kern
/disk.c
$(kern
/disk.c_DEPENDENCIES
)
57 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
58 -include kernel_elf-kern_disk.d
60 kernel_elf-kern_dl.o
: kern
/dl.c
$(kern
/dl.c_DEPENDENCIES
)
61 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
62 -include kernel_elf-kern_dl.d
64 kernel_elf-kern_file.o
: kern
/file.c
$(kern
/file.c_DEPENDENCIES
)
65 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
66 -include kernel_elf-kern_file.d
68 kernel_elf-kern_fs.o
: kern
/fs.c
$(kern
/fs.c_DEPENDENCIES
)
69 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
70 -include kernel_elf-kern_fs.d
72 kernel_elf-kern_err.o
: kern
/err.c
$(kern
/err.c_DEPENDENCIES
)
73 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
74 -include kernel_elf-kern_err.d
76 kernel_elf-kern_misc.o
: kern
/misc.c
$(kern
/misc.c_DEPENDENCIES
)
77 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
78 -include kernel_elf-kern_misc.d
80 kernel_elf-kern_mm.o
: kern
/mm.c
$(kern
/mm.c_DEPENDENCIES
)
81 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
82 -include kernel_elf-kern_mm.d
84 kernel_elf-kern_loader.o
: kern
/loader.c
$(kern
/loader.c_DEPENDENCIES
)
85 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
86 -include kernel_elf-kern_loader.d
88 kernel_elf-kern_rescue.o
: kern
/rescue.c
$(kern
/rescue.c_DEPENDENCIES
)
89 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
90 -include kernel_elf-kern_rescue.d
92 kernel_elf-kern_term.o
: kern
/term.c
$(kern
/term.c_DEPENDENCIES
)
93 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
94 -include kernel_elf-kern_term.d
96 kernel_elf-kern_time.o
: kern
/time.c
$(kern
/time.c_DEPENDENCIES
)
97 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
98 -include kernel_elf-kern_time.d
100 kernel_elf-kern_i386_dl.o
: kern
/i386
/dl.c
$(kern
/i386
/dl.c_DEPENDENCIES
)
101 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
102 -include kernel_elf-kern_i386_dl.d
104 kernel_elf-kern_parser.o
: kern
/parser.c
$(kern
/parser.c_DEPENDENCIES
)
105 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
106 -include kernel_elf-kern_parser.d
108 kernel_elf-kern_partition.o
: kern
/partition.c
$(kern
/partition.c_DEPENDENCIES
)
109 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
110 -include kernel_elf-kern_partition.d
112 kernel_elf-kern_i386_tsc.o
: kern
/i386
/tsc.c
$(kern
/i386
/tsc.c_DEPENDENCIES
)
113 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
114 -include kernel_elf-kern_i386_tsc.d
116 kernel_elf-kern_i386_pit.o
: kern
/i386
/pit.c
$(kern
/i386
/pit.c_DEPENDENCIES
)
117 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
118 -include kernel_elf-kern_i386_pit.d
120 kernel_elf-kern_generic_rtc_get_time_ms.o
: kern
/generic
/rtc_get_time_ms.c
$(kern
/generic
/rtc_get_time_ms.c_DEPENDENCIES
)
121 $(TARGET_CC
) -Ikern
/generic
-I
$(srcdir)/kern
/generic
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
122 -include kernel_elf-kern_generic_rtc_get_time_ms.d
124 kernel_elf-kern_generic_millisleep.o
: kern
/generic
/millisleep.c
$(kern
/generic
/millisleep.c_DEPENDENCIES
)
125 $(TARGET_CC
) -Ikern
/generic
-I
$(srcdir)/kern
/generic
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
126 -include kernel_elf-kern_generic_millisleep.d
128 kernel_elf-kern_env.o
: kern
/env.c
$(kern
/env.c_DEPENDENCIES
)
129 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
130 -include kernel_elf-kern_env.d
132 kernel_elf-term_i386_pc_console.o
: term
/i386
/pc/console.c
$(term
/i386
/pc/console.c_DEPENDENCIES
)
133 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
134 -include kernel_elf-term_i386_pc_console.d
136 kernel_elf-term_i386_pc_at_keyboard.o
: term
/i386
/pc/at_keyboard.c
$(term
/i386
/pc/at_keyboard.c_DEPENDENCIES
)
137 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
138 -include kernel_elf-term_i386_pc_at_keyboard.d
140 kernel_elf-term_i386_pc_vga_text.o
: term
/i386
/pc/vga_text.c
$(term
/i386
/pc/vga_text.c_DEPENDENCIES
)
141 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
142 -include kernel_elf-term_i386_pc_vga_text.d
144 kernel_elf-symlist.o
: symlist.c
$(symlist.c_DEPENDENCIES
)
145 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
146 -include kernel_elf-symlist.d
148 kernel_elf_HEADERS
= arg.h boot.h cache.h device.h disk.h dl.h elf.h elfload.h \
149 env.h err.h file.h fs.h kernel.h loader.h misc.h mm.h net.h parser.h \
150 partition.h pc_partition.h rescue.h symbol.h term.h time.h types.h \
151 machine
/boot.h machine
/console.h machine
/init.h \
152 machine
/memory.h machine
/loader.h
153 kernel_elf_CFLAGS
= $(COMMON_CFLAGS
)
154 kernel_elf_ASFLAGS
= $(COMMON_ASFLAGS
)
155 kernel_elf_LDFLAGS
= $(COMMON_LDFLAGS
) -Wl
,-N
,-S
,-Ttext
,0x8200,-Bstatic
157 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
158 DEFSYMFILES
+= kernel_syms.lst
160 symlist.c
: $(addprefix include/grub
/,$(kernel_elf_HEADERS
)) config.h gensymlist.sh
161 /bin
/sh gensymlist.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
163 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_elf_HEADERS
)) config.h genkernsyms.sh
164 /bin
/sh genkernsyms.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
167 sbin_UTILITIES
= grub-mkdevicemap
168 ifeq ($(enable_grub_emu
), yes
)
169 sbin_UTILITIES
+= grub-emu
172 # For grub-mkdevicemap.
173 grub_mkdevicemap_SOURCES
= util
/grub-mkdevicemap.c util
/misc.c
174 CLEANFILES
+= grub-mkdevicemap
$(EXEEXT
) grub_mkdevicemap-util_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o
175 MOSTLYCLEANFILES
+= grub_mkdevicemap-util_grub_mkdevicemap.d grub_mkdevicemap-util_misc.d
177 grub-mkdevicemap
: $(grub_mkdevicemap_DEPENDENCIES
) grub_mkdevicemap-util_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o
178 $(CC
) -o
$@ grub_mkdevicemap-util_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o
$(LDFLAGS
) $(grub_mkdevicemap_LDFLAGS
)
180 grub_mkdevicemap-util_grub_mkdevicemap.o
: util
/grub-mkdevicemap.c
$(util
/grub-mkdevicemap.c_DEPENDENCIES
)
181 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -MD
-c
-o
$@
$<
182 -include grub_mkdevicemap-util_grub_mkdevicemap.d
184 grub_mkdevicemap-util_misc.o
: util
/misc.c
$(util
/misc.c_DEPENDENCIES
)
185 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -MD
-c
-o
$@
$<
186 -include grub_mkdevicemap-util_misc.d
190 util
/grub-emu.c_DEPENDENCIES
= grub_emu_init.h
191 grub_emu_SOURCES
= commands
/boot.c commands
/cat.c commands
/cmp.c \
192 commands
/configfile.c commands
/echo.c commands
/help.c \
193 commands
/terminal.c commands
/ls.c commands
/test.c \
194 commands
/search.c commands
/blocklist.c commands
/hexdump.c \
195 lib
/hexdump.c commands
/i386
/cpuid.c \
196 disk
/host.c disk
/loopback.c \
198 fs
/affs.c fs
/cpio.c fs
/ext2.c fs
/fat.c fs
/hfs.c \
199 fs
/hfsplus.c fs
/iso9660.c fs
/udf.c fs
/jfs.c fs
/minix.c \
200 fs
/ntfs.c fs
/ntfscomp.c fs
/reiserfs.c fs
/sfs.c \
201 fs
/ufs.c fs
/xfs.c fs
/afs.c \
205 kern
/device.c kern
/disk.c kern
/dl.c kern
/elf.c kern
/env.c \
207 normal
/execute.c kern
/file.c kern
/fs.c normal
/lexer.c \
208 kern
/loader.c kern
/main.c kern
/misc.c kern
/parser.c \
209 grub_script.tab.c kern
/partition.c kern
/rescue.c kern
/term.c \
210 normal
/arg.c normal
/cmdline.c normal
/command.c normal
/function.c\
211 normal
/completion.c normal
/main.c \
212 normal
/menu.c normal
/menu_entry.c normal
/misc.c normal
/script.c \
214 partmap
/amiga.c partmap
/apple.c partmap
/pc.c partmap
/sun.c \
215 partmap
/acorn.c partmap
/gpt.c \
216 util
/console.c util
/hostfs.c util
/grub-emu.c util
/misc.c \
217 util
/hostdisk.c util
/getroot.c \
218 util
/i386
/pc/misc.c \
220 disk
/raid.c disk
/raid5_recover.c disk
/raid6_recover.c \
221 disk
/mdraid_linux.c disk
/dmraid_nvidia.c disk
/lvm.c \
223 CLEANFILES
+= grub-emu
$(EXEEXT
) grub_emu-commands_boot.o grub_emu-commands_cat.o grub_emu-commands_cmp.o grub_emu-commands_configfile.o grub_emu-commands_echo.o grub_emu-commands_help.o grub_emu-commands_terminal.o grub_emu-commands_ls.o grub_emu-commands_test.o grub_emu-commands_search.o grub_emu-commands_blocklist.o grub_emu-commands_hexdump.o grub_emu-lib_hexdump.o grub_emu-commands_i386_cpuid.o grub_emu-disk_host.o grub_emu-disk_loopback.o grub_emu-fs_affs.o grub_emu-fs_cpio.o grub_emu-fs_ext2.o grub_emu-fs_fat.o grub_emu-fs_hfs.o grub_emu-fs_hfsplus.o grub_emu-fs_iso9660.o grub_emu-fs_udf.o grub_emu-fs_jfs.o grub_emu-fs_minix.o grub_emu-fs_ntfs.o grub_emu-fs_ntfscomp.o grub_emu-fs_reiserfs.o grub_emu-fs_sfs.o grub_emu-fs_ufs.o grub_emu-fs_xfs.o grub_emu-fs_afs.o grub_emu-fs_fshelp.o grub_emu-io_gzio.o grub_emu-kern_device.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_elf.o grub_emu-kern_env.o grub_emu-kern_err.o grub_emu-normal_execute.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-normal_lexer.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.o grub_emu-kern_parser.o grub_emu-grub_script_tab.o grub_emu-kern_partition.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-normal_arg.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_function.o grub_emu-normal_completion.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.o grub_emu-normal_misc.o grub_emu-normal_script.o grub_emu-normal_color.o grub_emu-partmap_amiga.o grub_emu-partmap_apple.o grub_emu-partmap_pc.o grub_emu-partmap_sun.o grub_emu-partmap_acorn.o grub_emu-partmap_gpt.o grub_emu-util_console.o grub_emu-util_hostfs.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_hostdisk.o grub_emu-util_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-disk_raid.o grub_emu-disk_raid5_recover.o grub_emu-disk_raid6_recover.o grub_emu-disk_mdraid_linux.o grub_emu-disk_dmraid_nvidia.o grub_emu-disk_lvm.o grub_emu-grub_emu_init.o
224 MOSTLYCLEANFILES
+= grub_emu-commands_boot.d grub_emu-commands_cat.d grub_emu-commands_cmp.d grub_emu-commands_configfile.d grub_emu-commands_echo.d grub_emu-commands_help.d grub_emu-commands_terminal.d grub_emu-commands_ls.d grub_emu-commands_test.d grub_emu-commands_search.d grub_emu-commands_blocklist.d grub_emu-commands_hexdump.d grub_emu-lib_hexdump.d grub_emu-commands_i386_cpuid.d grub_emu-disk_host.d grub_emu-disk_loopback.d grub_emu-fs_affs.d grub_emu-fs_cpio.d grub_emu-fs_ext2.d grub_emu-fs_fat.d grub_emu-fs_hfs.d grub_emu-fs_hfsplus.d grub_emu-fs_iso9660.d grub_emu-fs_udf.d grub_emu-fs_jfs.d grub_emu-fs_minix.d grub_emu-fs_ntfs.d grub_emu-fs_ntfscomp.d grub_emu-fs_reiserfs.d grub_emu-fs_sfs.d grub_emu-fs_ufs.d grub_emu-fs_xfs.d grub_emu-fs_afs.d grub_emu-fs_fshelp.d grub_emu-io_gzio.d grub_emu-kern_device.d grub_emu-kern_disk.d grub_emu-kern_dl.d grub_emu-kern_elf.d grub_emu-kern_env.d grub_emu-kern_err.d grub_emu-normal_execute.d grub_emu-kern_file.d grub_emu-kern_fs.d grub_emu-normal_lexer.d grub_emu-kern_loader.d grub_emu-kern_main.d grub_emu-kern_misc.d grub_emu-kern_parser.d grub_emu-grub_script_tab.d grub_emu-kern_partition.d grub_emu-kern_rescue.d grub_emu-kern_term.d grub_emu-normal_arg.d grub_emu-normal_cmdline.d grub_emu-normal_command.d grub_emu-normal_function.d grub_emu-normal_completion.d grub_emu-normal_main.d grub_emu-normal_menu.d grub_emu-normal_menu_entry.d grub_emu-normal_misc.d grub_emu-normal_script.d grub_emu-normal_color.d grub_emu-partmap_amiga.d grub_emu-partmap_apple.d grub_emu-partmap_pc.d grub_emu-partmap_sun.d grub_emu-partmap_acorn.d grub_emu-partmap_gpt.d grub_emu-util_console.d grub_emu-util_hostfs.d grub_emu-util_grub_emu.d grub_emu-util_misc.d grub_emu-util_hostdisk.d grub_emu-util_getroot.d grub_emu-util_i386_pc_misc.d grub_emu-disk_raid.d grub_emu-disk_raid5_recover.d grub_emu-disk_raid6_recover.d grub_emu-disk_mdraid_linux.d grub_emu-disk_dmraid_nvidia.d grub_emu-disk_lvm.d grub_emu-grub_emu_init.d
226 grub-emu
: $(grub_emu_DEPENDENCIES
) grub_emu-commands_boot.o grub_emu-commands_cat.o grub_emu-commands_cmp.o grub_emu-commands_configfile.o grub_emu-commands_echo.o grub_emu-commands_help.o grub_emu-commands_terminal.o grub_emu-commands_ls.o grub_emu-commands_test.o grub_emu-commands_search.o grub_emu-commands_blocklist.o grub_emu-commands_hexdump.o grub_emu-lib_hexdump.o grub_emu-commands_i386_cpuid.o grub_emu-disk_host.o grub_emu-disk_loopback.o grub_emu-fs_affs.o grub_emu-fs_cpio.o grub_emu-fs_ext2.o grub_emu-fs_fat.o grub_emu-fs_hfs.o grub_emu-fs_hfsplus.o grub_emu-fs_iso9660.o grub_emu-fs_udf.o grub_emu-fs_jfs.o grub_emu-fs_minix.o grub_emu-fs_ntfs.o grub_emu-fs_ntfscomp.o grub_emu-fs_reiserfs.o grub_emu-fs_sfs.o grub_emu-fs_ufs.o grub_emu-fs_xfs.o grub_emu-fs_afs.o grub_emu-fs_fshelp.o grub_emu-io_gzio.o grub_emu-kern_device.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_elf.o grub_emu-kern_env.o grub_emu-kern_err.o grub_emu-normal_execute.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-normal_lexer.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.o grub_emu-kern_parser.o grub_emu-grub_script_tab.o grub_emu-kern_partition.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-normal_arg.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_function.o grub_emu-normal_completion.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.o grub_emu-normal_misc.o grub_emu-normal_script.o grub_emu-normal_color.o grub_emu-partmap_amiga.o grub_emu-partmap_apple.o grub_emu-partmap_pc.o grub_emu-partmap_sun.o grub_emu-partmap_acorn.o grub_emu-partmap_gpt.o grub_emu-util_console.o grub_emu-util_hostfs.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_hostdisk.o grub_emu-util_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-disk_raid.o grub_emu-disk_raid5_recover.o grub_emu-disk_raid6_recover.o grub_emu-disk_mdraid_linux.o grub_emu-disk_dmraid_nvidia.o grub_emu-disk_lvm.o grub_emu-grub_emu_init.o
227 $(CC
) -o
$@ grub_emu-commands_boot.o grub_emu-commands_cat.o grub_emu-commands_cmp.o grub_emu-commands_configfile.o grub_emu-commands_echo.o grub_emu-commands_help.o grub_emu-commands_terminal.o grub_emu-commands_ls.o grub_emu-commands_test.o grub_emu-commands_search.o grub_emu-commands_blocklist.o grub_emu-commands_hexdump.o grub_emu-lib_hexdump.o grub_emu-commands_i386_cpuid.o grub_emu-disk_host.o grub_emu-disk_loopback.o grub_emu-fs_affs.o grub_emu-fs_cpio.o grub_emu-fs_ext2.o grub_emu-fs_fat.o grub_emu-fs_hfs.o grub_emu-fs_hfsplus.o grub_emu-fs_iso9660.o grub_emu-fs_udf.o grub_emu-fs_jfs.o grub_emu-fs_minix.o grub_emu-fs_ntfs.o grub_emu-fs_ntfscomp.o grub_emu-fs_reiserfs.o grub_emu-fs_sfs.o grub_emu-fs_ufs.o grub_emu-fs_xfs.o grub_emu-fs_afs.o grub_emu-fs_fshelp.o grub_emu-io_gzio.o grub_emu-kern_device.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_elf.o grub_emu-kern_env.o grub_emu-kern_err.o grub_emu-normal_execute.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-normal_lexer.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.o grub_emu-kern_parser.o grub_emu-grub_script_tab.o grub_emu-kern_partition.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-normal_arg.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_function.o grub_emu-normal_completion.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.o grub_emu-normal_misc.o grub_emu-normal_script.o grub_emu-normal_color.o grub_emu-partmap_amiga.o grub_emu-partmap_apple.o grub_emu-partmap_pc.o grub_emu-partmap_sun.o grub_emu-partmap_acorn.o grub_emu-partmap_gpt.o grub_emu-util_console.o grub_emu-util_hostfs.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_hostdisk.o grub_emu-util_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-disk_raid.o grub_emu-disk_raid5_recover.o grub_emu-disk_raid6_recover.o grub_emu-disk_mdraid_linux.o grub_emu-disk_dmraid_nvidia.o grub_emu-disk_lvm.o grub_emu-grub_emu_init.o
$(LDFLAGS
) $(grub_emu_LDFLAGS
)
229 grub_emu-commands_boot.o
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
)
230 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
231 -include grub_emu-commands_boot.d
233 grub_emu-commands_cat.o
: commands
/cat.c
$(commands
/cat.c_DEPENDENCIES
)
234 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
235 -include grub_emu-commands_cat.d
237 grub_emu-commands_cmp.o
: commands
/cmp.c
$(commands
/cmp.c_DEPENDENCIES
)
238 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
239 -include grub_emu-commands_cmp.d
241 grub_emu-commands_configfile.o
: commands
/configfile.c
$(commands
/configfile.c_DEPENDENCIES
)
242 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
243 -include grub_emu-commands_configfile.d
245 grub_emu-commands_echo.o
: commands
/echo.c
$(commands
/echo.c_DEPENDENCIES
)
246 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
247 -include grub_emu-commands_echo.d
249 grub_emu-commands_help.o
: commands
/help.c
$(commands
/help.c_DEPENDENCIES
)
250 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
251 -include grub_emu-commands_help.d
253 grub_emu-commands_terminal.o
: commands
/terminal.c
$(commands
/terminal.c_DEPENDENCIES
)
254 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
255 -include grub_emu-commands_terminal.d
257 grub_emu-commands_ls.o
: commands
/ls.c
$(commands
/ls.c_DEPENDENCIES
)
258 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
259 -include grub_emu-commands_ls.d
261 grub_emu-commands_test.o
: commands
/test.c
$(commands
/test.c_DEPENDENCIES
)
262 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
263 -include grub_emu-commands_test.d
265 grub_emu-commands_search.o
: commands
/search.c
$(commands
/search.c_DEPENDENCIES
)
266 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
267 -include grub_emu-commands_search.d
269 grub_emu-commands_blocklist.o
: commands
/blocklist.c
$(commands
/blocklist.c_DEPENDENCIES
)
270 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
271 -include grub_emu-commands_blocklist.d
273 grub_emu-commands_hexdump.o
: commands
/hexdump.c
$(commands
/hexdump.c_DEPENDENCIES
)
274 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
275 -include grub_emu-commands_hexdump.d
277 grub_emu-lib_hexdump.o
: lib
/hexdump.c
$(lib
/hexdump.c_DEPENDENCIES
)
278 $(CC
) -Ilib
-I
$(srcdir)/lib
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
279 -include grub_emu-lib_hexdump.d
281 grub_emu-commands_i386_cpuid.o
: commands
/i386
/cpuid.c
$(commands
/i386
/cpuid.c_DEPENDENCIES
)
282 $(CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
283 -include grub_emu-commands_i386_cpuid.d
285 grub_emu-disk_host.o
: disk
/host.c
$(disk
/host.c_DEPENDENCIES
)
286 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
287 -include grub_emu-disk_host.d
289 grub_emu-disk_loopback.o
: disk
/loopback.c
$(disk
/loopback.c_DEPENDENCIES
)
290 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
291 -include grub_emu-disk_loopback.d
293 grub_emu-fs_affs.o
: fs
/affs.c
$(fs
/affs.c_DEPENDENCIES
)
294 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
295 -include grub_emu-fs_affs.d
297 grub_emu-fs_cpio.o
: fs
/cpio.c
$(fs
/cpio.c_DEPENDENCIES
)
298 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
299 -include grub_emu-fs_cpio.d
301 grub_emu-fs_ext2.o
: fs
/ext2.c
$(fs
/ext2.c_DEPENDENCIES
)
302 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
303 -include grub_emu-fs_ext2.d
305 grub_emu-fs_fat.o
: fs
/fat.c
$(fs
/fat.c_DEPENDENCIES
)
306 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
307 -include grub_emu-fs_fat.d
309 grub_emu-fs_hfs.o
: fs
/hfs.c
$(fs
/hfs.c_DEPENDENCIES
)
310 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
311 -include grub_emu-fs_hfs.d
313 grub_emu-fs_hfsplus.o
: fs
/hfsplus.c
$(fs
/hfsplus.c_DEPENDENCIES
)
314 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
315 -include grub_emu-fs_hfsplus.d
317 grub_emu-fs_iso9660.o
: fs
/iso9660.c
$(fs
/iso9660.c_DEPENDENCIES
)
318 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
319 -include grub_emu-fs_iso9660.d
321 grub_emu-fs_udf.o
: fs
/udf.c
$(fs
/udf.c_DEPENDENCIES
)
322 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
323 -include grub_emu-fs_udf.d
325 grub_emu-fs_jfs.o
: fs
/jfs.c
$(fs
/jfs.c_DEPENDENCIES
)
326 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
327 -include grub_emu-fs_jfs.d
329 grub_emu-fs_minix.o
: fs
/minix.c
$(fs
/minix.c_DEPENDENCIES
)
330 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
331 -include grub_emu-fs_minix.d
333 grub_emu-fs_ntfs.o
: fs
/ntfs.c
$(fs
/ntfs.c_DEPENDENCIES
)
334 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
335 -include grub_emu-fs_ntfs.d
337 grub_emu-fs_ntfscomp.o
: fs
/ntfscomp.c
$(fs
/ntfscomp.c_DEPENDENCIES
)
338 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
339 -include grub_emu-fs_ntfscomp.d
341 grub_emu-fs_reiserfs.o
: fs
/reiserfs.c
$(fs
/reiserfs.c_DEPENDENCIES
)
342 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
343 -include grub_emu-fs_reiserfs.d
345 grub_emu-fs_sfs.o
: fs
/sfs.c
$(fs
/sfs.c_DEPENDENCIES
)
346 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
347 -include grub_emu-fs_sfs.d
349 grub_emu-fs_ufs.o
: fs
/ufs.c
$(fs
/ufs.c_DEPENDENCIES
)
350 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
351 -include grub_emu-fs_ufs.d
353 grub_emu-fs_xfs.o
: fs
/xfs.c
$(fs
/xfs.c_DEPENDENCIES
)
354 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
355 -include grub_emu-fs_xfs.d
357 grub_emu-fs_afs.o
: fs
/afs.c
$(fs
/afs.c_DEPENDENCIES
)
358 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
359 -include grub_emu-fs_afs.d
361 grub_emu-fs_fshelp.o
: fs
/fshelp.c
$(fs
/fshelp.c_DEPENDENCIES
)
362 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
363 -include grub_emu-fs_fshelp.d
365 grub_emu-io_gzio.o
: io
/gzio.c
$(io
/gzio.c_DEPENDENCIES
)
366 $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
367 -include grub_emu-io_gzio.d
369 grub_emu-kern_device.o
: kern
/device.c
$(kern
/device.c_DEPENDENCIES
)
370 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
371 -include grub_emu-kern_device.d
373 grub_emu-kern_disk.o
: kern
/disk.c
$(kern
/disk.c_DEPENDENCIES
)
374 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
375 -include grub_emu-kern_disk.d
377 grub_emu-kern_dl.o
: kern
/dl.c
$(kern
/dl.c_DEPENDENCIES
)
378 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
379 -include grub_emu-kern_dl.d
381 grub_emu-kern_elf.o
: kern
/elf.c
$(kern
/elf.c_DEPENDENCIES
)
382 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
383 -include grub_emu-kern_elf.d
385 grub_emu-kern_env.o
: kern
/env.c
$(kern
/env.c_DEPENDENCIES
)
386 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
387 -include grub_emu-kern_env.d
389 grub_emu-kern_err.o
: kern
/err.c
$(kern
/err.c_DEPENDENCIES
)
390 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
391 -include grub_emu-kern_err.d
393 grub_emu-normal_execute.o
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
)
394 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
395 -include grub_emu-normal_execute.d
397 grub_emu-kern_file.o
: kern
/file.c
$(kern
/file.c_DEPENDENCIES
)
398 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
399 -include grub_emu-kern_file.d
401 grub_emu-kern_fs.o
: kern
/fs.c
$(kern
/fs.c_DEPENDENCIES
)
402 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
403 -include grub_emu-kern_fs.d
405 grub_emu-normal_lexer.o
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
)
406 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
407 -include grub_emu-normal_lexer.d
409 grub_emu-kern_loader.o
: kern
/loader.c
$(kern
/loader.c_DEPENDENCIES
)
410 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
411 -include grub_emu-kern_loader.d
413 grub_emu-kern_main.o
: kern
/main.c
$(kern
/main.c_DEPENDENCIES
)
414 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
415 -include grub_emu-kern_main.d
417 grub_emu-kern_misc.o
: kern
/misc.c
$(kern
/misc.c_DEPENDENCIES
)
418 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
419 -include grub_emu-kern_misc.d
421 grub_emu-kern_parser.o
: kern
/parser.c
$(kern
/parser.c_DEPENDENCIES
)
422 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
423 -include grub_emu-kern_parser.d
425 grub_emu-grub_script_tab.o
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
)
426 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
427 -include grub_emu-grub_script_tab.d
429 grub_emu-kern_partition.o
: kern
/partition.c
$(kern
/partition.c_DEPENDENCIES
)
430 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
431 -include grub_emu-kern_partition.d
433 grub_emu-kern_rescue.o
: kern
/rescue.c
$(kern
/rescue.c_DEPENDENCIES
)
434 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
435 -include grub_emu-kern_rescue.d
437 grub_emu-kern_term.o
: kern
/term.c
$(kern
/term.c_DEPENDENCIES
)
438 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
439 -include grub_emu-kern_term.d
441 grub_emu-normal_arg.o
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
)
442 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
443 -include grub_emu-normal_arg.d
445 grub_emu-normal_cmdline.o
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
)
446 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
447 -include grub_emu-normal_cmdline.d
449 grub_emu-normal_command.o
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
)
450 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
451 -include grub_emu-normal_command.d
453 grub_emu-normal_function.o
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
)
454 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
455 -include grub_emu-normal_function.d
457 grub_emu-normal_completion.o
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
)
458 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
459 -include grub_emu-normal_completion.d
461 grub_emu-normal_main.o
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
)
462 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
463 -include grub_emu-normal_main.d
465 grub_emu-normal_menu.o
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
)
466 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
467 -include grub_emu-normal_menu.d
469 grub_emu-normal_menu_entry.o
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
)
470 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
471 -include grub_emu-normal_menu_entry.d
473 grub_emu-normal_misc.o
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
)
474 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
475 -include grub_emu-normal_misc.d
477 grub_emu-normal_script.o
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
)
478 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
479 -include grub_emu-normal_script.d
481 grub_emu-normal_color.o
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
)
482 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
483 -include grub_emu-normal_color.d
485 grub_emu-partmap_amiga.o
: partmap
/amiga.c
$(partmap
/amiga.c_DEPENDENCIES
)
486 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
487 -include grub_emu-partmap_amiga.d
489 grub_emu-partmap_apple.o
: partmap
/apple.c
$(partmap
/apple.c_DEPENDENCIES
)
490 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
491 -include grub_emu-partmap_apple.d
493 grub_emu-partmap_pc.o
: partmap
/pc.c
$(partmap
/pc.c_DEPENDENCIES
)
494 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
495 -include grub_emu-partmap_pc.d
497 grub_emu-partmap_sun.o
: partmap
/sun.c
$(partmap
/sun.c_DEPENDENCIES
)
498 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
499 -include grub_emu-partmap_sun.d
501 grub_emu-partmap_acorn.o
: partmap
/acorn.c
$(partmap
/acorn.c_DEPENDENCIES
)
502 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
503 -include grub_emu-partmap_acorn.d
505 grub_emu-partmap_gpt.o
: partmap
/gpt.c
$(partmap
/gpt.c_DEPENDENCIES
)
506 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
507 -include grub_emu-partmap_gpt.d
509 grub_emu-util_console.o
: util
/console.c
$(util
/console.c_DEPENDENCIES
)
510 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
511 -include grub_emu-util_console.d
513 grub_emu-util_hostfs.o
: util
/hostfs.c
$(util
/hostfs.c_DEPENDENCIES
)
514 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
515 -include grub_emu-util_hostfs.d
517 grub_emu-util_grub_emu.o
: util
/grub-emu.c
$(util
/grub-emu.c_DEPENDENCIES
)
518 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
519 -include grub_emu-util_grub_emu.d
521 grub_emu-util_misc.o
: util
/misc.c
$(util
/misc.c_DEPENDENCIES
)
522 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
523 -include grub_emu-util_misc.d
525 grub_emu-util_hostdisk.o
: util
/hostdisk.c
$(util
/hostdisk.c_DEPENDENCIES
)
526 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
527 -include grub_emu-util_hostdisk.d
529 grub_emu-util_getroot.o
: util
/getroot.c
$(util
/getroot.c_DEPENDENCIES
)
530 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
531 -include grub_emu-util_getroot.d
533 grub_emu-util_i386_pc_misc.o
: util
/i386
/pc/misc.c
$(util
/i386
/pc/misc.c_DEPENDENCIES
)
534 $(CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
535 -include grub_emu-util_i386_pc_misc.d
537 grub_emu-disk_raid.o
: disk
/raid.c
$(disk
/raid.c_DEPENDENCIES
)
538 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
539 -include grub_emu-disk_raid.d
541 grub_emu-disk_raid5_recover.o
: disk
/raid5_recover.c
$(disk
/raid5_recover.c_DEPENDENCIES
)
542 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
543 -include grub_emu-disk_raid5_recover.d
545 grub_emu-disk_raid6_recover.o
: disk
/raid6_recover.c
$(disk
/raid6_recover.c_DEPENDENCIES
)
546 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
547 -include grub_emu-disk_raid6_recover.d
549 grub_emu-disk_mdraid_linux.o
: disk
/mdraid_linux.c
$(disk
/mdraid_linux.c_DEPENDENCIES
)
550 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
551 -include grub_emu-disk_mdraid_linux.d
553 grub_emu-disk_dmraid_nvidia.o
: disk
/dmraid_nvidia.c
$(disk
/dmraid_nvidia.c_DEPENDENCIES
)
554 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
555 -include grub_emu-disk_dmraid_nvidia.d
557 grub_emu-disk_lvm.o
: disk
/lvm.c
$(disk
/lvm.c_DEPENDENCIES
)
558 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
559 -include grub_emu-disk_lvm.d
561 grub_emu-grub_emu_init.o
: grub_emu_init.c
$(grub_emu_init.c_DEPENDENCIES
)
562 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
563 -include grub_emu-grub_emu_init.d
566 grub_emu_LDFLAGS
= $(LIBCURSES
)
569 pkglib_MODULES
= _linux.mod linux.mod normal.mod \
570 _multiboot.mod multiboot.mod aout.mod \
571 play.mod serial.mod ata.mod \
572 memdisk.mod pci.mod lspci.mod reboot.mod \
573 halt.mod datetime.mod date.mod datehook.mod
576 _linux_mod_SOURCES
= loader
/i386
/linux.c
577 CLEANFILES
+= _linux.mod mod-_linux.o mod-_linux.c pre-_linux.o _linux_mod-loader_i386_linux.o und-_linux.lst
578 ifneq ($(_linux_mod_EXPORTS
),no
)
579 CLEANFILES
+= def-_linux.lst
580 DEFSYMFILES
+= def-_linux.lst
582 MOSTLYCLEANFILES
+= _linux_mod-loader_i386_linux.d
583 UNDSYMFILES
+= und-_linux.lst
585 _linux.mod
: pre-_linux.o mod-_linux.o
$(TARGET_OBJ2ELF
)
587 $(TARGET_CC
) $(_linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-_linux.o mod-_linux.o
588 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
589 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
591 pre-_linux.o
: $(_linux_mod_DEPENDENCIES
) _linux_mod-loader_i386_linux.o
593 $(TARGET_CC
) $(_linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ _linux_mod-loader_i386_linux.o
595 mod-_linux.o
: mod-_linux.c
596 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_linux_mod_CFLAGS
) -c
-o
$@
$<
598 mod-_linux.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
599 sh
$(srcdir)/genmodsrc.sh
'_linux' $< > $@ ||
(rm -f
$@
; exit
1)
601 ifneq ($(_linux_mod_EXPORTS
),no
)
602 def-_linux.lst
: pre-_linux.o
603 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _linux/' > $@
606 und-_linux.lst
: pre-_linux.o
608 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
610 _linux_mod-loader_i386_linux.o
: loader
/i386
/linux.c
$(loader
/i386
/linux.c_DEPENDENCIES
)
611 $(TARGET_CC
) -Iloader
/i386
-I
$(srcdir)/loader
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_linux_mod_CFLAGS
) -MD
-c
-o
$@
$<
612 -include _linux_mod-loader_i386_linux.d
614 CLEANFILES
+= cmd-_linux_mod-loader_i386_linux.lst fs-_linux_mod-loader_i386_linux.lst partmap-_linux_mod-loader_i386_linux.lst
615 COMMANDFILES
+= cmd-_linux_mod-loader_i386_linux.lst
616 FSFILES
+= fs-_linux_mod-loader_i386_linux.lst
617 PARTMAPFILES
+= partmap-_linux_mod-loader_i386_linux.lst
619 cmd-_linux_mod-loader_i386_linux.lst
: loader
/i386
/linux.c
$(loader
/i386
/linux.c_DEPENDENCIES
) gencmdlist.sh
620 set
-e
; $(TARGET_CC
) -Iloader
/i386
-I
$(srcdir)/loader
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _linux
> $@ ||
(rm -f
$@
; exit
1)
622 fs-_linux_mod-loader_i386_linux.lst
: loader
/i386
/linux.c
$(loader
/i386
/linux.c_DEPENDENCIES
) genfslist.sh
623 set
-e
; $(TARGET_CC
) -Iloader
/i386
-I
$(srcdir)/loader
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _linux
> $@ ||
(rm -f
$@
; exit
1)
625 partmap-_linux_mod-loader_i386_linux.lst
: loader
/i386
/linux.c
$(loader
/i386
/linux.c_DEPENDENCIES
) genpartmaplist.sh
626 set
-e
; $(TARGET_CC
) -Iloader
/i386
-I
$(srcdir)/loader
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh _linux
> $@ ||
(rm -f
$@
; exit
1)
629 _linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
630 _linux_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
633 linux_mod_SOURCES
= loader
/linux_normal.c
634 CLEANFILES
+= linux.mod mod-linux.o mod-linux.c pre-linux.o linux_mod-loader_linux_normal.o und-linux.lst
635 ifneq ($(linux_mod_EXPORTS
),no
)
636 CLEANFILES
+= def-linux.lst
637 DEFSYMFILES
+= def-linux.lst
639 MOSTLYCLEANFILES
+= linux_mod-loader_linux_normal.d
640 UNDSYMFILES
+= und-linux.lst
642 linux.mod
: pre-linux.o mod-linux.o
$(TARGET_OBJ2ELF
)
644 $(TARGET_CC
) $(linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-linux.o mod-linux.o
645 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
646 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
648 pre-linux.o
: $(linux_mod_DEPENDENCIES
) linux_mod-loader_linux_normal.o
650 $(TARGET_CC
) $(linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ linux_mod-loader_linux_normal.o
652 mod-linux.o
: mod-linux.c
653 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -c
-o
$@
$<
655 mod-linux.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
656 sh
$(srcdir)/genmodsrc.sh
'linux' $< > $@ ||
(rm -f
$@
; exit
1)
658 ifneq ($(linux_mod_EXPORTS
),no
)
659 def-linux.lst
: pre-linux.o
660 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 linux/' > $@
663 und-linux.lst
: pre-linux.o
665 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
667 linux_mod-loader_linux_normal.o
: loader
/linux_normal.c
$(loader
/linux_normal.c_DEPENDENCIES
)
668 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -MD
-c
-o
$@
$<
669 -include linux_mod-loader_linux_normal.d
671 CLEANFILES
+= cmd-linux_mod-loader_linux_normal.lst fs-linux_mod-loader_linux_normal.lst partmap-linux_mod-loader_linux_normal.lst
672 COMMANDFILES
+= cmd-linux_mod-loader_linux_normal.lst
673 FSFILES
+= fs-linux_mod-loader_linux_normal.lst
674 PARTMAPFILES
+= partmap-linux_mod-loader_linux_normal.lst
676 cmd-linux_mod-loader_linux_normal.lst
: loader
/linux_normal.c
$(loader
/linux_normal.c_DEPENDENCIES
) gencmdlist.sh
677 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
679 fs-linux_mod-loader_linux_normal.lst
: loader
/linux_normal.c
$(loader
/linux_normal.c_DEPENDENCIES
) genfslist.sh
680 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
682 partmap-linux_mod-loader_linux_normal.lst
: loader
/linux_normal.c
$(loader
/linux_normal.c_DEPENDENCIES
) genpartmaplist.sh
683 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
686 linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
687 linux_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
690 normal_mod_SOURCES
= normal
/arg.c normal
/cmdline.c normal
/command.c \
691 normal
/completion.c normal
/execute.c \
692 normal
/function.c normal
/lexer.c normal
/main.c normal
/menu.c \
693 normal
/menu_entry.c normal
/misc.c grub_script.tab.c \
694 normal
/script.c normal
/i386
/setjmp.S normal
/color.c
695 CLEANFILES
+= normal.mod mod-normal.o mod-normal.c pre-normal.o normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o normal_mod-normal_color.o und-normal.lst
696 ifneq ($(normal_mod_EXPORTS
),no
)
697 CLEANFILES
+= def-normal.lst
698 DEFSYMFILES
+= def-normal.lst
700 MOSTLYCLEANFILES
+= normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_i386_setjmp.d normal_mod-normal_color.d
701 UNDSYMFILES
+= und-normal.lst
703 normal.mod
: pre-normal.o mod-normal.o
$(TARGET_OBJ2ELF
)
705 $(TARGET_CC
) $(normal_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-normal.o mod-normal.o
706 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
707 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
709 pre-normal.o
: $(normal_mod_DEPENDENCIES
) normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o normal_mod-normal_color.o
711 $(TARGET_CC
) $(normal_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o normal_mod-normal_color.o
713 mod-normal.o
: mod-normal.c
714 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
716 mod-normal.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
717 sh
$(srcdir)/genmodsrc.sh
'normal' $< > $@ ||
(rm -f
$@
; exit
1)
719 ifneq ($(normal_mod_EXPORTS
),no
)
720 def-normal.lst
: pre-normal.o
721 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 normal/' > $@
724 und-normal.lst
: pre-normal.o
726 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
728 normal_mod-normal_arg.o
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
)
729 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
730 -include normal_mod-normal_arg.d
732 CLEANFILES
+= cmd-normal_mod-normal_arg.lst fs-normal_mod-normal_arg.lst partmap-normal_mod-normal_arg.lst
733 COMMANDFILES
+= cmd-normal_mod-normal_arg.lst
734 FSFILES
+= fs-normal_mod-normal_arg.lst
735 PARTMAPFILES
+= partmap-normal_mod-normal_arg.lst
737 cmd-normal_mod-normal_arg.lst
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
) gencmdlist.sh
738 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
740 fs-normal_mod-normal_arg.lst
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
) genfslist.sh
741 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
743 partmap-normal_mod-normal_arg.lst
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
) genpartmaplist.sh
744 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
747 normal_mod-normal_cmdline.o
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
)
748 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
749 -include normal_mod-normal_cmdline.d
751 CLEANFILES
+= cmd-normal_mod-normal_cmdline.lst fs-normal_mod-normal_cmdline.lst partmap-normal_mod-normal_cmdline.lst
752 COMMANDFILES
+= cmd-normal_mod-normal_cmdline.lst
753 FSFILES
+= fs-normal_mod-normal_cmdline.lst
754 PARTMAPFILES
+= partmap-normal_mod-normal_cmdline.lst
756 cmd-normal_mod-normal_cmdline.lst
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
) gencmdlist.sh
757 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
759 fs-normal_mod-normal_cmdline.lst
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
) genfslist.sh
760 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
762 partmap-normal_mod-normal_cmdline.lst
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
) genpartmaplist.sh
763 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
766 normal_mod-normal_command.o
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
)
767 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
768 -include normal_mod-normal_command.d
770 CLEANFILES
+= cmd-normal_mod-normal_command.lst fs-normal_mod-normal_command.lst partmap-normal_mod-normal_command.lst
771 COMMANDFILES
+= cmd-normal_mod-normal_command.lst
772 FSFILES
+= fs-normal_mod-normal_command.lst
773 PARTMAPFILES
+= partmap-normal_mod-normal_command.lst
775 cmd-normal_mod-normal_command.lst
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
) gencmdlist.sh
776 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
778 fs-normal_mod-normal_command.lst
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
) genfslist.sh
779 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
781 partmap-normal_mod-normal_command.lst
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
) genpartmaplist.sh
782 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
785 normal_mod-normal_completion.o
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
)
786 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
787 -include normal_mod-normal_completion.d
789 CLEANFILES
+= cmd-normal_mod-normal_completion.lst fs-normal_mod-normal_completion.lst partmap-normal_mod-normal_completion.lst
790 COMMANDFILES
+= cmd-normal_mod-normal_completion.lst
791 FSFILES
+= fs-normal_mod-normal_completion.lst
792 PARTMAPFILES
+= partmap-normal_mod-normal_completion.lst
794 cmd-normal_mod-normal_completion.lst
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
) gencmdlist.sh
795 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
797 fs-normal_mod-normal_completion.lst
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
) genfslist.sh
798 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
800 partmap-normal_mod-normal_completion.lst
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
) genpartmaplist.sh
801 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
804 normal_mod-normal_execute.o
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
)
805 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
806 -include normal_mod-normal_execute.d
808 CLEANFILES
+= cmd-normal_mod-normal_execute.lst fs-normal_mod-normal_execute.lst partmap-normal_mod-normal_execute.lst
809 COMMANDFILES
+= cmd-normal_mod-normal_execute.lst
810 FSFILES
+= fs-normal_mod-normal_execute.lst
811 PARTMAPFILES
+= partmap-normal_mod-normal_execute.lst
813 cmd-normal_mod-normal_execute.lst
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
) gencmdlist.sh
814 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
816 fs-normal_mod-normal_execute.lst
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
) genfslist.sh
817 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
819 partmap-normal_mod-normal_execute.lst
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
) genpartmaplist.sh
820 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
823 normal_mod-normal_function.o
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
)
824 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
825 -include normal_mod-normal_function.d
827 CLEANFILES
+= cmd-normal_mod-normal_function.lst fs-normal_mod-normal_function.lst partmap-normal_mod-normal_function.lst
828 COMMANDFILES
+= cmd-normal_mod-normal_function.lst
829 FSFILES
+= fs-normal_mod-normal_function.lst
830 PARTMAPFILES
+= partmap-normal_mod-normal_function.lst
832 cmd-normal_mod-normal_function.lst
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
) gencmdlist.sh
833 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
835 fs-normal_mod-normal_function.lst
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
) genfslist.sh
836 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
838 partmap-normal_mod-normal_function.lst
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
) genpartmaplist.sh
839 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
842 normal_mod-normal_lexer.o
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
)
843 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
844 -include normal_mod-normal_lexer.d
846 CLEANFILES
+= cmd-normal_mod-normal_lexer.lst fs-normal_mod-normal_lexer.lst partmap-normal_mod-normal_lexer.lst
847 COMMANDFILES
+= cmd-normal_mod-normal_lexer.lst
848 FSFILES
+= fs-normal_mod-normal_lexer.lst
849 PARTMAPFILES
+= partmap-normal_mod-normal_lexer.lst
851 cmd-normal_mod-normal_lexer.lst
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
) gencmdlist.sh
852 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
854 fs-normal_mod-normal_lexer.lst
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
) genfslist.sh
855 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
857 partmap-normal_mod-normal_lexer.lst
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
) genpartmaplist.sh
858 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
861 normal_mod-normal_main.o
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
)
862 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
863 -include normal_mod-normal_main.d
865 CLEANFILES
+= cmd-normal_mod-normal_main.lst fs-normal_mod-normal_main.lst partmap-normal_mod-normal_main.lst
866 COMMANDFILES
+= cmd-normal_mod-normal_main.lst
867 FSFILES
+= fs-normal_mod-normal_main.lst
868 PARTMAPFILES
+= partmap-normal_mod-normal_main.lst
870 cmd-normal_mod-normal_main.lst
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
) gencmdlist.sh
871 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
873 fs-normal_mod-normal_main.lst
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
) genfslist.sh
874 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
876 partmap-normal_mod-normal_main.lst
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
) genpartmaplist.sh
877 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
880 normal_mod-normal_menu.o
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
)
881 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
882 -include normal_mod-normal_menu.d
884 CLEANFILES
+= cmd-normal_mod-normal_menu.lst fs-normal_mod-normal_menu.lst partmap-normal_mod-normal_menu.lst
885 COMMANDFILES
+= cmd-normal_mod-normal_menu.lst
886 FSFILES
+= fs-normal_mod-normal_menu.lst
887 PARTMAPFILES
+= partmap-normal_mod-normal_menu.lst
889 cmd-normal_mod-normal_menu.lst
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
) gencmdlist.sh
890 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
892 fs-normal_mod-normal_menu.lst
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
) genfslist.sh
893 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
895 partmap-normal_mod-normal_menu.lst
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
) genpartmaplist.sh
896 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
899 normal_mod-normal_menu_entry.o
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
)
900 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
901 -include normal_mod-normal_menu_entry.d
903 CLEANFILES
+= cmd-normal_mod-normal_menu_entry.lst fs-normal_mod-normal_menu_entry.lst partmap-normal_mod-normal_menu_entry.lst
904 COMMANDFILES
+= cmd-normal_mod-normal_menu_entry.lst
905 FSFILES
+= fs-normal_mod-normal_menu_entry.lst
906 PARTMAPFILES
+= partmap-normal_mod-normal_menu_entry.lst
908 cmd-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
) gencmdlist.sh
909 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
911 fs-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
) genfslist.sh
912 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
914 partmap-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
) genpartmaplist.sh
915 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
918 normal_mod-normal_misc.o
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
)
919 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
920 -include normal_mod-normal_misc.d
922 CLEANFILES
+= cmd-normal_mod-normal_misc.lst fs-normal_mod-normal_misc.lst partmap-normal_mod-normal_misc.lst
923 COMMANDFILES
+= cmd-normal_mod-normal_misc.lst
924 FSFILES
+= fs-normal_mod-normal_misc.lst
925 PARTMAPFILES
+= partmap-normal_mod-normal_misc.lst
927 cmd-normal_mod-normal_misc.lst
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
) gencmdlist.sh
928 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
930 fs-normal_mod-normal_misc.lst
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
) genfslist.sh
931 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
933 partmap-normal_mod-normal_misc.lst
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
) genpartmaplist.sh
934 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
937 normal_mod-grub_script_tab.o
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
)
938 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
939 -include normal_mod-grub_script_tab.d
941 CLEANFILES
+= cmd-normal_mod-grub_script_tab.lst fs-normal_mod-grub_script_tab.lst partmap-normal_mod-grub_script_tab.lst
942 COMMANDFILES
+= cmd-normal_mod-grub_script_tab.lst
943 FSFILES
+= fs-normal_mod-grub_script_tab.lst
944 PARTMAPFILES
+= partmap-normal_mod-grub_script_tab.lst
946 cmd-normal_mod-grub_script_tab.lst
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
) gencmdlist.sh
947 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
949 fs-normal_mod-grub_script_tab.lst
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
) genfslist.sh
950 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
952 partmap-normal_mod-grub_script_tab.lst
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
) genpartmaplist.sh
953 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
956 normal_mod-normal_script.o
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
)
957 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
958 -include normal_mod-normal_script.d
960 CLEANFILES
+= cmd-normal_mod-normal_script.lst fs-normal_mod-normal_script.lst partmap-normal_mod-normal_script.lst
961 COMMANDFILES
+= cmd-normal_mod-normal_script.lst
962 FSFILES
+= fs-normal_mod-normal_script.lst
963 PARTMAPFILES
+= partmap-normal_mod-normal_script.lst
965 cmd-normal_mod-normal_script.lst
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
) gencmdlist.sh
966 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
968 fs-normal_mod-normal_script.lst
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
) genfslist.sh
969 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
971 partmap-normal_mod-normal_script.lst
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
) genpartmaplist.sh
972 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
975 normal_mod-normal_i386_setjmp.o
: normal
/i386
/setjmp.S
$(normal
/i386
/setjmp.S_DEPENDENCIES
)
976 $(TARGET_CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -MD
-c
-o
$@
$<
977 -include normal_mod-normal_i386_setjmp.d
979 CLEANFILES
+= cmd-normal_mod-normal_i386_setjmp.lst fs-normal_mod-normal_i386_setjmp.lst partmap-normal_mod-normal_i386_setjmp.lst
980 COMMANDFILES
+= cmd-normal_mod-normal_i386_setjmp.lst
981 FSFILES
+= fs-normal_mod-normal_i386_setjmp.lst
982 PARTMAPFILES
+= partmap-normal_mod-normal_i386_setjmp.lst
984 cmd-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S
$(normal
/i386
/setjmp.S_DEPENDENCIES
) gencmdlist.sh
985 set
-e
; $(TARGET_CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(TARGET_CPPFLAGS
) $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
987 fs-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S
$(normal
/i386
/setjmp.S_DEPENDENCIES
) genfslist.sh
988 set
-e
; $(TARGET_CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(TARGET_CPPFLAGS
) $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
990 partmap-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S
$(normal
/i386
/setjmp.S_DEPENDENCIES
) genpartmaplist.sh
991 set
-e
; $(TARGET_CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(TARGET_CPPFLAGS
) $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
994 normal_mod-normal_color.o
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
)
995 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
996 -include normal_mod-normal_color.d
998 CLEANFILES
+= cmd-normal_mod-normal_color.lst fs-normal_mod-normal_color.lst partmap-normal_mod-normal_color.lst
999 COMMANDFILES
+= cmd-normal_mod-normal_color.lst
1000 FSFILES
+= fs-normal_mod-normal_color.lst
1001 PARTMAPFILES
+= partmap-normal_mod-normal_color.lst
1003 cmd-normal_mod-normal_color.lst
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
) gencmdlist.sh
1004 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1006 fs-normal_mod-normal_color.lst
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
) genfslist.sh
1007 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1009 partmap-normal_mod-normal_color.lst
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
) genpartmaplist.sh
1010 set
-e
; $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1013 normal_mod_CFLAGS
= $(COMMON_CFLAGS
)
1014 normal_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
1015 normal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1018 reboot_mod_SOURCES
= commands
/reboot.c kern
/i386
/reboot.c
1019 CLEANFILES
+= reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-commands_reboot.o reboot_mod-kern_i386_reboot.o und-reboot.lst
1020 ifneq ($(reboot_mod_EXPORTS
),no
)
1021 CLEANFILES
+= def-reboot.lst
1022 DEFSYMFILES
+= def-reboot.lst
1024 MOSTLYCLEANFILES
+= reboot_mod-commands_reboot.d reboot_mod-kern_i386_reboot.d
1025 UNDSYMFILES
+= und-reboot.lst
1027 reboot.mod
: pre-reboot.o mod-reboot.o
$(TARGET_OBJ2ELF
)
1029 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-reboot.o mod-reboot.o
1030 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1031 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1033 pre-reboot.o
: $(reboot_mod_DEPENDENCIES
) reboot_mod-commands_reboot.o reboot_mod-kern_i386_reboot.o
1035 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ reboot_mod-commands_reboot.o reboot_mod-kern_i386_reboot.o
1037 mod-reboot.o
: mod-reboot.c
1038 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
1040 mod-reboot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1041 sh
$(srcdir)/genmodsrc.sh
'reboot' $< > $@ ||
(rm -f
$@
; exit
1)
1043 ifneq ($(reboot_mod_EXPORTS
),no
)
1044 def-reboot.lst
: pre-reboot.o
1045 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
1048 und-reboot.lst
: pre-reboot.o
1050 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1052 reboot_mod-commands_reboot.o
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
)
1053 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1054 -include reboot_mod-commands_reboot.d
1056 CLEANFILES
+= cmd-reboot_mod-commands_reboot.lst fs-reboot_mod-commands_reboot.lst partmap-reboot_mod-commands_reboot.lst
1057 COMMANDFILES
+= cmd-reboot_mod-commands_reboot.lst
1058 FSFILES
+= fs-reboot_mod-commands_reboot.lst
1059 PARTMAPFILES
+= partmap-reboot_mod-commands_reboot.lst
1061 cmd-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) gencmdlist.sh
1062 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1064 fs-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genfslist.sh
1065 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1067 partmap-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genpartmaplist.sh
1068 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1071 reboot_mod-kern_i386_reboot.o
: kern
/i386
/reboot.c
$(kern
/i386
/reboot.c_DEPENDENCIES
)
1072 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1073 -include reboot_mod-kern_i386_reboot.d
1075 CLEANFILES
+= cmd-reboot_mod-kern_i386_reboot.lst fs-reboot_mod-kern_i386_reboot.lst partmap-reboot_mod-kern_i386_reboot.lst
1076 COMMANDFILES
+= cmd-reboot_mod-kern_i386_reboot.lst
1077 FSFILES
+= fs-reboot_mod-kern_i386_reboot.lst
1078 PARTMAPFILES
+= partmap-reboot_mod-kern_i386_reboot.lst
1080 cmd-reboot_mod-kern_i386_reboot.lst
: kern
/i386
/reboot.c
$(kern
/i386
/reboot.c_DEPENDENCIES
) gencmdlist.sh
1081 set
-e
; $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1083 fs-reboot_mod-kern_i386_reboot.lst
: kern
/i386
/reboot.c
$(kern
/i386
/reboot.c_DEPENDENCIES
) genfslist.sh
1084 set
-e
; $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1086 partmap-reboot_mod-kern_i386_reboot.lst
: kern
/i386
/reboot.c
$(kern
/i386
/reboot.c_DEPENDENCIES
) genpartmaplist.sh
1087 set
-e
; $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1090 reboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1091 reboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1094 halt_mod_SOURCES
= commands
/halt.c kern
/i386
/halt.c
1095 CLEANFILES
+= halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_halt.o halt_mod-kern_i386_halt.o und-halt.lst
1096 ifneq ($(halt_mod_EXPORTS
),no
)
1097 CLEANFILES
+= def-halt.lst
1098 DEFSYMFILES
+= def-halt.lst
1100 MOSTLYCLEANFILES
+= halt_mod-commands_halt.d halt_mod-kern_i386_halt.d
1101 UNDSYMFILES
+= und-halt.lst
1103 halt.mod
: pre-halt.o mod-halt.o
$(TARGET_OBJ2ELF
)
1105 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-halt.o mod-halt.o
1106 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1107 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1109 pre-halt.o
: $(halt_mod_DEPENDENCIES
) halt_mod-commands_halt.o halt_mod-kern_i386_halt.o
1111 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ halt_mod-commands_halt.o halt_mod-kern_i386_halt.o
1113 mod-halt.o
: mod-halt.c
1114 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
1116 mod-halt.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1117 sh
$(srcdir)/genmodsrc.sh
'halt' $< > $@ ||
(rm -f
$@
; exit
1)
1119 ifneq ($(halt_mod_EXPORTS
),no
)
1120 def-halt.lst
: pre-halt.o
1121 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 halt/' > $@
1124 und-halt.lst
: pre-halt.o
1126 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1128 halt_mod-commands_halt.o
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
)
1129 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -MD
-c
-o
$@
$<
1130 -include halt_mod-commands_halt.d
1132 CLEANFILES
+= cmd-halt_mod-commands_halt.lst fs-halt_mod-commands_halt.lst partmap-halt_mod-commands_halt.lst
1133 COMMANDFILES
+= cmd-halt_mod-commands_halt.lst
1134 FSFILES
+= fs-halt_mod-commands_halt.lst
1135 PARTMAPFILES
+= partmap-halt_mod-commands_halt.lst
1137 cmd-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) gencmdlist.sh
1138 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1140 fs-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genfslist.sh
1141 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1143 partmap-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genpartmaplist.sh
1144 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1147 halt_mod-kern_i386_halt.o
: kern
/i386
/halt.c
$(kern
/i386
/halt.c_DEPENDENCIES
)
1148 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -MD
-c
-o
$@
$<
1149 -include halt_mod-kern_i386_halt.d
1151 CLEANFILES
+= cmd-halt_mod-kern_i386_halt.lst fs-halt_mod-kern_i386_halt.lst partmap-halt_mod-kern_i386_halt.lst
1152 COMMANDFILES
+= cmd-halt_mod-kern_i386_halt.lst
1153 FSFILES
+= fs-halt_mod-kern_i386_halt.lst
1154 PARTMAPFILES
+= partmap-halt_mod-kern_i386_halt.lst
1156 cmd-halt_mod-kern_i386_halt.lst
: kern
/i386
/halt.c
$(kern
/i386
/halt.c_DEPENDENCIES
) gencmdlist.sh
1157 set
-e
; $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1159 fs-halt_mod-kern_i386_halt.lst
: kern
/i386
/halt.c
$(kern
/i386
/halt.c_DEPENDENCIES
) genfslist.sh
1160 set
-e
; $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1162 partmap-halt_mod-kern_i386_halt.lst
: kern
/i386
/halt.c
$(kern
/i386
/halt.c_DEPENDENCIES
) genpartmaplist.sh
1163 set
-e
; $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1166 halt_mod_CFLAGS
= $(COMMON_CFLAGS
)
1167 halt_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1170 serial_mod_SOURCES
= term
/i386
/pc/serial.c
1171 CLEANFILES
+= serial.mod mod-serial.o mod-serial.c pre-serial.o serial_mod-term_i386_pc_serial.o und-serial.lst
1172 ifneq ($(serial_mod_EXPORTS
),no
)
1173 CLEANFILES
+= def-serial.lst
1174 DEFSYMFILES
+= def-serial.lst
1176 MOSTLYCLEANFILES
+= serial_mod-term_i386_pc_serial.d
1177 UNDSYMFILES
+= und-serial.lst
1179 serial.mod
: pre-serial.o mod-serial.o
$(TARGET_OBJ2ELF
)
1181 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-serial.o mod-serial.o
1182 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1183 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1185 pre-serial.o
: $(serial_mod_DEPENDENCIES
) serial_mod-term_i386_pc_serial.o
1187 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ serial_mod-term_i386_pc_serial.o
1189 mod-serial.o
: mod-serial.c
1190 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -c
-o
$@
$<
1192 mod-serial.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1193 sh
$(srcdir)/genmodsrc.sh
'serial' $< > $@ ||
(rm -f
$@
; exit
1)
1195 ifneq ($(serial_mod_EXPORTS
),no
)
1196 def-serial.lst
: pre-serial.o
1197 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 serial/' > $@
1200 und-serial.lst
: pre-serial.o
1202 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1204 serial_mod-term_i386_pc_serial.o
: term
/i386
/pc/serial.c
$(term
/i386
/pc/serial.c_DEPENDENCIES
)
1205 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -MD
-c
-o
$@
$<
1206 -include serial_mod-term_i386_pc_serial.d
1208 CLEANFILES
+= cmd-serial_mod-term_i386_pc_serial.lst fs-serial_mod-term_i386_pc_serial.lst partmap-serial_mod-term_i386_pc_serial.lst
1209 COMMANDFILES
+= cmd-serial_mod-term_i386_pc_serial.lst
1210 FSFILES
+= fs-serial_mod-term_i386_pc_serial.lst
1211 PARTMAPFILES
+= partmap-serial_mod-term_i386_pc_serial.lst
1213 cmd-serial_mod-term_i386_pc_serial.lst
: term
/i386
/pc/serial.c
$(term
/i386
/pc/serial.c_DEPENDENCIES
) gencmdlist.sh
1214 set
-e
; $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
1216 fs-serial_mod-term_i386_pc_serial.lst
: term
/i386
/pc/serial.c
$(term
/i386
/pc/serial.c_DEPENDENCIES
) genfslist.sh
1217 set
-e
; $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
1219 partmap-serial_mod-term_i386_pc_serial.lst
: term
/i386
/pc/serial.c
$(term
/i386
/pc/serial.c_DEPENDENCIES
) genpartmaplist.sh
1220 set
-e
; $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
1223 serial_mod_CFLAGS
= $(COMMON_CFLAGS
)
1224 serial_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1226 # For _multiboot.mod.
1227 _multiboot_mod_SOURCES
= loader
/i386
/pc/multiboot.c \
1228 loader
/i386
/pc/multiboot2.c \
1229 loader
/multiboot2.c \
1230 loader
/multiboot_loader.c
1231 CLEANFILES
+= _multiboot.mod mod-_multiboot.o mod-_multiboot.c pre-_multiboot.o _multiboot_mod-loader_i386_pc_multiboot.o _multiboot_mod-loader_i386_pc_multiboot2.o _multiboot_mod-loader_multiboot2.o _multiboot_mod-loader_multiboot_loader.o und-_multiboot.lst
1232 ifneq ($(_multiboot_mod_EXPORTS
),no
)
1233 CLEANFILES
+= def-_multiboot.lst
1234 DEFSYMFILES
+= def-_multiboot.lst
1236 MOSTLYCLEANFILES
+= _multiboot_mod-loader_i386_pc_multiboot.d _multiboot_mod-loader_i386_pc_multiboot2.d _multiboot_mod-loader_multiboot2.d _multiboot_mod-loader_multiboot_loader.d
1237 UNDSYMFILES
+= und-_multiboot.lst
1239 _multiboot.mod
: pre-_multiboot.o mod-_multiboot.o
$(TARGET_OBJ2ELF
)
1241 $(TARGET_CC
) $(_multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-_multiboot.o mod-_multiboot.o
1242 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1243 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1245 pre-_multiboot.o
: $(_multiboot_mod_DEPENDENCIES
) _multiboot_mod-loader_i386_pc_multiboot.o _multiboot_mod-loader_i386_pc_multiboot2.o _multiboot_mod-loader_multiboot2.o _multiboot_mod-loader_multiboot_loader.o
1247 $(TARGET_CC
) $(_multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ _multiboot_mod-loader_i386_pc_multiboot.o _multiboot_mod-loader_i386_pc_multiboot2.o _multiboot_mod-loader_multiboot2.o _multiboot_mod-loader_multiboot_loader.o
1249 mod-_multiboot.o
: mod-_multiboot.c
1250 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -c
-o
$@
$<
1252 mod-_multiboot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1253 sh
$(srcdir)/genmodsrc.sh
'_multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
1255 ifneq ($(_multiboot_mod_EXPORTS
),no
)
1256 def-_multiboot.lst
: pre-_multiboot.o
1257 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _multiboot/' > $@
1260 und-_multiboot.lst
: pre-_multiboot.o
1261 echo
'_multiboot' > $@
1262 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1264 _multiboot_mod-loader_i386_pc_multiboot.o
: loader
/i386
/pc/multiboot.c
$(loader
/i386
/pc/multiboot.c_DEPENDENCIES
)
1265 $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1266 -include _multiboot_mod-loader_i386_pc_multiboot.d
1268 CLEANFILES
+= cmd-_multiboot_mod-loader_i386_pc_multiboot.lst fs-_multiboot_mod-loader_i386_pc_multiboot.lst partmap-_multiboot_mod-loader_i386_pc_multiboot.lst
1269 COMMANDFILES
+= cmd-_multiboot_mod-loader_i386_pc_multiboot.lst
1270 FSFILES
+= fs-_multiboot_mod-loader_i386_pc_multiboot.lst
1271 PARTMAPFILES
+= partmap-_multiboot_mod-loader_i386_pc_multiboot.lst
1273 cmd-_multiboot_mod-loader_i386_pc_multiboot.lst
: loader
/i386
/pc/multiboot.c
$(loader
/i386
/pc/multiboot.c_DEPENDENCIES
) gencmdlist.sh
1274 set
-e
; $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1276 fs-_multiboot_mod-loader_i386_pc_multiboot.lst
: loader
/i386
/pc/multiboot.c
$(loader
/i386
/pc/multiboot.c_DEPENDENCIES
) genfslist.sh
1277 set
-e
; $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1279 partmap-_multiboot_mod-loader_i386_pc_multiboot.lst
: loader
/i386
/pc/multiboot.c
$(loader
/i386
/pc/multiboot.c_DEPENDENCIES
) genpartmaplist.sh
1280 set
-e
; $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1283 _multiboot_mod-loader_i386_pc_multiboot2.o
: loader
/i386
/pc/multiboot2.c
$(loader
/i386
/pc/multiboot2.c_DEPENDENCIES
)
1284 $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1285 -include _multiboot_mod-loader_i386_pc_multiboot2.d
1287 CLEANFILES
+= cmd-_multiboot_mod-loader_i386_pc_multiboot2.lst fs-_multiboot_mod-loader_i386_pc_multiboot2.lst partmap-_multiboot_mod-loader_i386_pc_multiboot2.lst
1288 COMMANDFILES
+= cmd-_multiboot_mod-loader_i386_pc_multiboot2.lst
1289 FSFILES
+= fs-_multiboot_mod-loader_i386_pc_multiboot2.lst
1290 PARTMAPFILES
+= partmap-_multiboot_mod-loader_i386_pc_multiboot2.lst
1292 cmd-_multiboot_mod-loader_i386_pc_multiboot2.lst
: loader
/i386
/pc/multiboot2.c
$(loader
/i386
/pc/multiboot2.c_DEPENDENCIES
) gencmdlist.sh
1293 set
-e
; $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1295 fs-_multiboot_mod-loader_i386_pc_multiboot2.lst
: loader
/i386
/pc/multiboot2.c
$(loader
/i386
/pc/multiboot2.c_DEPENDENCIES
) genfslist.sh
1296 set
-e
; $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1298 partmap-_multiboot_mod-loader_i386_pc_multiboot2.lst
: loader
/i386
/pc/multiboot2.c
$(loader
/i386
/pc/multiboot2.c_DEPENDENCIES
) genpartmaplist.sh
1299 set
-e
; $(TARGET_CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1302 _multiboot_mod-loader_multiboot2.o
: loader
/multiboot2.c
$(loader
/multiboot2.c_DEPENDENCIES
)
1303 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1304 -include _multiboot_mod-loader_multiboot2.d
1306 CLEANFILES
+= cmd-_multiboot_mod-loader_multiboot2.lst fs-_multiboot_mod-loader_multiboot2.lst partmap-_multiboot_mod-loader_multiboot2.lst
1307 COMMANDFILES
+= cmd-_multiboot_mod-loader_multiboot2.lst
1308 FSFILES
+= fs-_multiboot_mod-loader_multiboot2.lst
1309 PARTMAPFILES
+= partmap-_multiboot_mod-loader_multiboot2.lst
1311 cmd-_multiboot_mod-loader_multiboot2.lst
: loader
/multiboot2.c
$(loader
/multiboot2.c_DEPENDENCIES
) gencmdlist.sh
1312 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1314 fs-_multiboot_mod-loader_multiboot2.lst
: loader
/multiboot2.c
$(loader
/multiboot2.c_DEPENDENCIES
) genfslist.sh
1315 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1317 partmap-_multiboot_mod-loader_multiboot2.lst
: loader
/multiboot2.c
$(loader
/multiboot2.c_DEPENDENCIES
) genpartmaplist.sh
1318 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1321 _multiboot_mod-loader_multiboot_loader.o
: loader
/multiboot_loader.c
$(loader
/multiboot_loader.c_DEPENDENCIES
)
1322 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1323 -include _multiboot_mod-loader_multiboot_loader.d
1325 CLEANFILES
+= cmd-_multiboot_mod-loader_multiboot_loader.lst fs-_multiboot_mod-loader_multiboot_loader.lst partmap-_multiboot_mod-loader_multiboot_loader.lst
1326 COMMANDFILES
+= cmd-_multiboot_mod-loader_multiboot_loader.lst
1327 FSFILES
+= fs-_multiboot_mod-loader_multiboot_loader.lst
1328 PARTMAPFILES
+= partmap-_multiboot_mod-loader_multiboot_loader.lst
1330 cmd-_multiboot_mod-loader_multiboot_loader.lst
: loader
/multiboot_loader.c
$(loader
/multiboot_loader.c_DEPENDENCIES
) gencmdlist.sh
1331 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1333 fs-_multiboot_mod-loader_multiboot_loader.lst
: loader
/multiboot_loader.c
$(loader
/multiboot_loader.c_DEPENDENCIES
) genfslist.sh
1334 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1336 partmap-_multiboot_mod-loader_multiboot_loader.lst
: loader
/multiboot_loader.c
$(loader
/multiboot_loader.c_DEPENDENCIES
) genpartmaplist.sh
1337 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
1340 _multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1341 _multiboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1343 # For multiboot.mod.
1344 multiboot_mod_SOURCES
= loader
/multiboot_loader_normal.c
1345 CLEANFILES
+= multiboot.mod mod-multiboot.o mod-multiboot.c pre-multiboot.o multiboot_mod-loader_multiboot_loader_normal.o und-multiboot.lst
1346 ifneq ($(multiboot_mod_EXPORTS
),no
)
1347 CLEANFILES
+= def-multiboot.lst
1348 DEFSYMFILES
+= def-multiboot.lst
1350 MOSTLYCLEANFILES
+= multiboot_mod-loader_multiboot_loader_normal.d
1351 UNDSYMFILES
+= und-multiboot.lst
1353 multiboot.mod
: pre-multiboot.o mod-multiboot.o
$(TARGET_OBJ2ELF
)
1355 $(TARGET_CC
) $(multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-multiboot.o mod-multiboot.o
1356 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1357 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1359 pre-multiboot.o
: $(multiboot_mod_DEPENDENCIES
) multiboot_mod-loader_multiboot_loader_normal.o
1361 $(TARGET_CC
) $(multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ multiboot_mod-loader_multiboot_loader_normal.o
1363 mod-multiboot.o
: mod-multiboot.c
1364 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -c
-o
$@
$<
1366 mod-multiboot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1367 sh
$(srcdir)/genmodsrc.sh
'multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
1369 ifneq ($(multiboot_mod_EXPORTS
),no
)
1370 def-multiboot.lst
: pre-multiboot.o
1371 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 multiboot/' > $@
1374 und-multiboot.lst
: pre-multiboot.o
1375 echo
'multiboot' > $@
1376 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1378 multiboot_mod-loader_multiboot_loader_normal.o
: loader
/multiboot_loader_normal.c
$(loader
/multiboot_loader_normal.c_DEPENDENCIES
)
1379 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1380 -include multiboot_mod-loader_multiboot_loader_normal.d
1382 CLEANFILES
+= cmd-multiboot_mod-loader_multiboot_loader_normal.lst fs-multiboot_mod-loader_multiboot_loader_normal.lst partmap-multiboot_mod-loader_multiboot_loader_normal.lst
1383 COMMANDFILES
+= cmd-multiboot_mod-loader_multiboot_loader_normal.lst
1384 FSFILES
+= fs-multiboot_mod-loader_multiboot_loader_normal.lst
1385 PARTMAPFILES
+= partmap-multiboot_mod-loader_multiboot_loader_normal.lst
1387 cmd-multiboot_mod-loader_multiboot_loader_normal.lst
: loader
/multiboot_loader_normal.c
$(loader
/multiboot_loader_normal.c_DEPENDENCIES
) gencmdlist.sh
1388 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh multiboot
> $@ ||
(rm -f
$@
; exit
1)
1390 fs-multiboot_mod-loader_multiboot_loader_normal.lst
: loader
/multiboot_loader_normal.c
$(loader
/multiboot_loader_normal.c_DEPENDENCIES
) genfslist.sh
1391 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh multiboot
> $@ ||
(rm -f
$@
; exit
1)
1393 partmap-multiboot_mod-loader_multiboot_loader_normal.lst
: loader
/multiboot_loader_normal.c
$(loader
/multiboot_loader_normal.c_DEPENDENCIES
) genpartmaplist.sh
1394 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh multiboot
> $@ ||
(rm -f
$@
; exit
1)
1397 multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1398 multiboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1401 aout_mod_SOURCES
= loader
/aout.c
1402 CLEANFILES
+= aout.mod mod-aout.o mod-aout.c pre-aout.o aout_mod-loader_aout.o und-aout.lst
1403 ifneq ($(aout_mod_EXPORTS
),no
)
1404 CLEANFILES
+= def-aout.lst
1405 DEFSYMFILES
+= def-aout.lst
1407 MOSTLYCLEANFILES
+= aout_mod-loader_aout.d
1408 UNDSYMFILES
+= und-aout.lst
1410 aout.mod
: pre-aout.o mod-aout.o
$(TARGET_OBJ2ELF
)
1412 $(TARGET_CC
) $(aout_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-aout.o mod-aout.o
1413 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1414 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1416 pre-aout.o
: $(aout_mod_DEPENDENCIES
) aout_mod-loader_aout.o
1418 $(TARGET_CC
) $(aout_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ aout_mod-loader_aout.o
1420 mod-aout.o
: mod-aout.c
1421 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -c
-o
$@
$<
1423 mod-aout.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1424 sh
$(srcdir)/genmodsrc.sh
'aout' $< > $@ ||
(rm -f
$@
; exit
1)
1426 ifneq ($(aout_mod_EXPORTS
),no
)
1427 def-aout.lst
: pre-aout.o
1428 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 aout/' > $@
1431 und-aout.lst
: pre-aout.o
1433 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1435 aout_mod-loader_aout.o
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
)
1436 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -MD
-c
-o
$@
$<
1437 -include aout_mod-loader_aout.d
1439 CLEANFILES
+= cmd-aout_mod-loader_aout.lst fs-aout_mod-loader_aout.lst partmap-aout_mod-loader_aout.lst
1440 COMMANDFILES
+= cmd-aout_mod-loader_aout.lst
1441 FSFILES
+= fs-aout_mod-loader_aout.lst
1442 PARTMAPFILES
+= partmap-aout_mod-loader_aout.lst
1444 cmd-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) gencmdlist.sh
1445 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
1447 fs-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genfslist.sh
1448 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
1450 partmap-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genpartmaplist.sh
1451 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
1454 aout_mod_CFLAGS
= $(COMMON_CFLAGS
)
1455 aout_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1458 play_mod_SOURCES
= commands
/i386
/pc/play.c
1459 CLEANFILES
+= play.mod mod-play.o mod-play.c pre-play.o play_mod-commands_i386_pc_play.o und-play.lst
1460 ifneq ($(play_mod_EXPORTS
),no
)
1461 CLEANFILES
+= def-play.lst
1462 DEFSYMFILES
+= def-play.lst
1464 MOSTLYCLEANFILES
+= play_mod-commands_i386_pc_play.d
1465 UNDSYMFILES
+= und-play.lst
1467 play.mod
: pre-play.o mod-play.o
$(TARGET_OBJ2ELF
)
1469 $(TARGET_CC
) $(play_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-play.o mod-play.o
1470 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1471 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1473 pre-play.o
: $(play_mod_DEPENDENCIES
) play_mod-commands_i386_pc_play.o
1475 $(TARGET_CC
) $(play_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ play_mod-commands_i386_pc_play.o
1477 mod-play.o
: mod-play.c
1478 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(play_mod_CFLAGS
) -c
-o
$@
$<
1480 mod-play.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1481 sh
$(srcdir)/genmodsrc.sh
'play' $< > $@ ||
(rm -f
$@
; exit
1)
1483 ifneq ($(play_mod_EXPORTS
),no
)
1484 def-play.lst
: pre-play.o
1485 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 play/' > $@
1488 und-play.lst
: pre-play.o
1490 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1492 play_mod-commands_i386_pc_play.o
: commands
/i386
/pc/play.c
$(commands
/i386
/pc/play.c_DEPENDENCIES
)
1493 $(TARGET_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(play_mod_CFLAGS
) -MD
-c
-o
$@
$<
1494 -include play_mod-commands_i386_pc_play.d
1496 CLEANFILES
+= cmd-play_mod-commands_i386_pc_play.lst fs-play_mod-commands_i386_pc_play.lst partmap-play_mod-commands_i386_pc_play.lst
1497 COMMANDFILES
+= cmd-play_mod-commands_i386_pc_play.lst
1498 FSFILES
+= fs-play_mod-commands_i386_pc_play.lst
1499 PARTMAPFILES
+= partmap-play_mod-commands_i386_pc_play.lst
1501 cmd-play_mod-commands_i386_pc_play.lst
: commands
/i386
/pc/play.c
$(commands
/i386
/pc/play.c_DEPENDENCIES
) gencmdlist.sh
1502 set
-e
; $(TARGET_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(play_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh play
> $@ ||
(rm -f
$@
; exit
1)
1504 fs-play_mod-commands_i386_pc_play.lst
: commands
/i386
/pc/play.c
$(commands
/i386
/pc/play.c_DEPENDENCIES
) genfslist.sh
1505 set
-e
; $(TARGET_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(play_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh play
> $@ ||
(rm -f
$@
; exit
1)
1507 partmap-play_mod-commands_i386_pc_play.lst
: commands
/i386
/pc/play.c
$(commands
/i386
/pc/play.c_DEPENDENCIES
) genpartmaplist.sh
1508 set
-e
; $(TARGET_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(play_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh play
> $@ ||
(rm -f
$@
; exit
1)
1511 play_mod_CFLAGS
= $(COMMON_CFLAGS
)
1512 play_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1515 ata_mod_SOURCES
= disk
/ata.c
1516 CLEANFILES
+= ata.mod mod-ata.o mod-ata.c pre-ata.o ata_mod-disk_ata.o und-ata.lst
1517 ifneq ($(ata_mod_EXPORTS
),no
)
1518 CLEANFILES
+= def-ata.lst
1519 DEFSYMFILES
+= def-ata.lst
1521 MOSTLYCLEANFILES
+= ata_mod-disk_ata.d
1522 UNDSYMFILES
+= und-ata.lst
1524 ata.mod
: pre-ata.o mod-ata.o
$(TARGET_OBJ2ELF
)
1526 $(TARGET_CC
) $(ata_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-ata.o mod-ata.o
1527 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1528 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1530 pre-ata.o
: $(ata_mod_DEPENDENCIES
) ata_mod-disk_ata.o
1532 $(TARGET_CC
) $(ata_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ ata_mod-disk_ata.o
1534 mod-ata.o
: mod-ata.c
1535 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ata_mod_CFLAGS
) -c
-o
$@
$<
1537 mod-ata.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1538 sh
$(srcdir)/genmodsrc.sh
'ata' $< > $@ ||
(rm -f
$@
; exit
1)
1540 ifneq ($(ata_mod_EXPORTS
),no
)
1541 def-ata.lst
: pre-ata.o
1542 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ata/' > $@
1545 und-ata.lst
: pre-ata.o
1547 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1549 ata_mod-disk_ata.o
: disk
/ata.c
$(disk
/ata.c_DEPENDENCIES
)
1550 $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ata_mod_CFLAGS
) -MD
-c
-o
$@
$<
1551 -include ata_mod-disk_ata.d
1553 CLEANFILES
+= cmd-ata_mod-disk_ata.lst fs-ata_mod-disk_ata.lst partmap-ata_mod-disk_ata.lst
1554 COMMANDFILES
+= cmd-ata_mod-disk_ata.lst
1555 FSFILES
+= fs-ata_mod-disk_ata.lst
1556 PARTMAPFILES
+= partmap-ata_mod-disk_ata.lst
1558 cmd-ata_mod-disk_ata.lst
: disk
/ata.c
$(disk
/ata.c_DEPENDENCIES
) gencmdlist.sh
1559 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ata_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ata
> $@ ||
(rm -f
$@
; exit
1)
1561 fs-ata_mod-disk_ata.lst
: disk
/ata.c
$(disk
/ata.c_DEPENDENCIES
) genfslist.sh
1562 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ata_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ata
> $@ ||
(rm -f
$@
; exit
1)
1564 partmap-ata_mod-disk_ata.lst
: disk
/ata.c
$(disk
/ata.c_DEPENDENCIES
) genpartmaplist.sh
1565 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ata_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh ata
> $@ ||
(rm -f
$@
; exit
1)
1568 ata_mod_CFLAGS
= $(COMMON_CFLAGS
)
1569 ata_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1572 memdisk_mod_SOURCES
= disk
/memdisk.c
1573 CLEANFILES
+= memdisk.mod mod-memdisk.o mod-memdisk.c pre-memdisk.o memdisk_mod-disk_memdisk.o und-memdisk.lst
1574 ifneq ($(memdisk_mod_EXPORTS
),no
)
1575 CLEANFILES
+= def-memdisk.lst
1576 DEFSYMFILES
+= def-memdisk.lst
1578 MOSTLYCLEANFILES
+= memdisk_mod-disk_memdisk.d
1579 UNDSYMFILES
+= und-memdisk.lst
1581 memdisk.mod
: pre-memdisk.o mod-memdisk.o
$(TARGET_OBJ2ELF
)
1583 $(TARGET_CC
) $(memdisk_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-memdisk.o mod-memdisk.o
1584 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1585 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1587 pre-memdisk.o
: $(memdisk_mod_DEPENDENCIES
) memdisk_mod-disk_memdisk.o
1589 $(TARGET_CC
) $(memdisk_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ memdisk_mod-disk_memdisk.o
1591 mod-memdisk.o
: mod-memdisk.c
1592 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -c
-o
$@
$<
1594 mod-memdisk.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1595 sh
$(srcdir)/genmodsrc.sh
'memdisk' $< > $@ ||
(rm -f
$@
; exit
1)
1597 ifneq ($(memdisk_mod_EXPORTS
),no
)
1598 def-memdisk.lst
: pre-memdisk.o
1599 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 memdisk/' > $@
1602 und-memdisk.lst
: pre-memdisk.o
1604 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1606 memdisk_mod-disk_memdisk.o
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
)
1607 $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -MD
-c
-o
$@
$<
1608 -include memdisk_mod-disk_memdisk.d
1610 CLEANFILES
+= cmd-memdisk_mod-disk_memdisk.lst fs-memdisk_mod-disk_memdisk.lst partmap-memdisk_mod-disk_memdisk.lst
1611 COMMANDFILES
+= cmd-memdisk_mod-disk_memdisk.lst
1612 FSFILES
+= fs-memdisk_mod-disk_memdisk.lst
1613 PARTMAPFILES
+= partmap-memdisk_mod-disk_memdisk.lst
1615 cmd-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) gencmdlist.sh
1616 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1618 fs-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genfslist.sh
1619 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1621 partmap-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genpartmaplist.sh
1622 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1625 memdisk_mod_CFLAGS
= $(COMMON_CFLAGS
)
1626 memdisk_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1629 pci_mod_SOURCES
= bus
/pci.c
1630 CLEANFILES
+= pci.mod mod-pci.o mod-pci.c pre-pci.o pci_mod-bus_pci.o und-pci.lst
1631 ifneq ($(pci_mod_EXPORTS
),no
)
1632 CLEANFILES
+= def-pci.lst
1633 DEFSYMFILES
+= def-pci.lst
1635 MOSTLYCLEANFILES
+= pci_mod-bus_pci.d
1636 UNDSYMFILES
+= und-pci.lst
1638 pci.mod
: pre-pci.o mod-pci.o
$(TARGET_OBJ2ELF
)
1640 $(TARGET_CC
) $(pci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-pci.o mod-pci.o
1641 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1642 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1644 pre-pci.o
: $(pci_mod_DEPENDENCIES
) pci_mod-bus_pci.o
1646 $(TARGET_CC
) $(pci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pci_mod-bus_pci.o
1648 mod-pci.o
: mod-pci.c
1649 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -c
-o
$@
$<
1651 mod-pci.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1652 sh
$(srcdir)/genmodsrc.sh
'pci' $< > $@ ||
(rm -f
$@
; exit
1)
1654 ifneq ($(pci_mod_EXPORTS
),no
)
1655 def-pci.lst
: pre-pci.o
1656 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 pci/' > $@
1659 und-pci.lst
: pre-pci.o
1661 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1663 pci_mod-bus_pci.o
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
)
1664 $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -MD
-c
-o
$@
$<
1665 -include pci_mod-bus_pci.d
1667 CLEANFILES
+= cmd-pci_mod-bus_pci.lst fs-pci_mod-bus_pci.lst partmap-pci_mod-bus_pci.lst
1668 COMMANDFILES
+= cmd-pci_mod-bus_pci.lst
1669 FSFILES
+= fs-pci_mod-bus_pci.lst
1670 PARTMAPFILES
+= partmap-pci_mod-bus_pci.lst
1672 cmd-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) gencmdlist.sh
1673 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1675 fs-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genfslist.sh
1676 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1678 partmap-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genpartmaplist.sh
1679 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1682 pci_mod_CFLAGS
= $(COMMON_CFLAGS
)
1683 pci_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1686 lspci_mod_SOURCES
= commands
/lspci.c
1687 CLEANFILES
+= lspci.mod mod-lspci.o mod-lspci.c pre-lspci.o lspci_mod-commands_lspci.o und-lspci.lst
1688 ifneq ($(lspci_mod_EXPORTS
),no
)
1689 CLEANFILES
+= def-lspci.lst
1690 DEFSYMFILES
+= def-lspci.lst
1692 MOSTLYCLEANFILES
+= lspci_mod-commands_lspci.d
1693 UNDSYMFILES
+= und-lspci.lst
1695 lspci.mod
: pre-lspci.o mod-lspci.o
$(TARGET_OBJ2ELF
)
1697 $(TARGET_CC
) $(lspci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-lspci.o mod-lspci.o
1698 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1699 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1701 pre-lspci.o
: $(lspci_mod_DEPENDENCIES
) lspci_mod-commands_lspci.o
1703 $(TARGET_CC
) $(lspci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ lspci_mod-commands_lspci.o
1705 mod-lspci.o
: mod-lspci.c
1706 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -c
-o
$@
$<
1708 mod-lspci.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1709 sh
$(srcdir)/genmodsrc.sh
'lspci' $< > $@ ||
(rm -f
$@
; exit
1)
1711 ifneq ($(lspci_mod_EXPORTS
),no
)
1712 def-lspci.lst
: pre-lspci.o
1713 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 lspci/' > $@
1716 und-lspci.lst
: pre-lspci.o
1718 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1720 lspci_mod-commands_lspci.o
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
)
1721 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -MD
-c
-o
$@
$<
1722 -include lspci_mod-commands_lspci.d
1724 CLEANFILES
+= cmd-lspci_mod-commands_lspci.lst fs-lspci_mod-commands_lspci.lst partmap-lspci_mod-commands_lspci.lst
1725 COMMANDFILES
+= cmd-lspci_mod-commands_lspci.lst
1726 FSFILES
+= fs-lspci_mod-commands_lspci.lst
1727 PARTMAPFILES
+= partmap-lspci_mod-commands_lspci.lst
1729 cmd-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) gencmdlist.sh
1730 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1732 fs-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genfslist.sh
1733 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1735 partmap-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genpartmaplist.sh
1736 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1739 lspci_mod_CFLAGS
= $(COMMON_CFLAGS
)
1740 lspci_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1743 datetime_mod_SOURCES
= lib
/datetime.c lib
/i386
/datetime.c
1744 CLEANFILES
+= datetime.mod mod-datetime.o mod-datetime.c pre-datetime.o datetime_mod-lib_datetime.o datetime_mod-lib_i386_datetime.o und-datetime.lst
1745 ifneq ($(datetime_mod_EXPORTS
),no
)
1746 CLEANFILES
+= def-datetime.lst
1747 DEFSYMFILES
+= def-datetime.lst
1749 MOSTLYCLEANFILES
+= datetime_mod-lib_datetime.d datetime_mod-lib_i386_datetime.d
1750 UNDSYMFILES
+= und-datetime.lst
1752 datetime.mod
: pre-datetime.o mod-datetime.o
$(TARGET_OBJ2ELF
)
1754 $(TARGET_CC
) $(datetime_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-datetime.o mod-datetime.o
1755 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1756 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1758 pre-datetime.o
: $(datetime_mod_DEPENDENCIES
) datetime_mod-lib_datetime.o datetime_mod-lib_i386_datetime.o
1760 $(TARGET_CC
) $(datetime_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ datetime_mod-lib_datetime.o datetime_mod-lib_i386_datetime.o
1762 mod-datetime.o
: mod-datetime.c
1763 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -c
-o
$@
$<
1765 mod-datetime.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1766 sh
$(srcdir)/genmodsrc.sh
'datetime' $< > $@ ||
(rm -f
$@
; exit
1)
1768 ifneq ($(datetime_mod_EXPORTS
),no
)
1769 def-datetime.lst
: pre-datetime.o
1770 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 datetime/' > $@
1773 und-datetime.lst
: pre-datetime.o
1774 echo
'datetime' > $@
1775 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1777 datetime_mod-lib_datetime.o
: lib
/datetime.c
$(lib
/datetime.c_DEPENDENCIES
)
1778 $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -MD
-c
-o
$@
$<
1779 -include datetime_mod-lib_datetime.d
1781 CLEANFILES
+= cmd-datetime_mod-lib_datetime.lst fs-datetime_mod-lib_datetime.lst partmap-datetime_mod-lib_datetime.lst
1782 COMMANDFILES
+= cmd-datetime_mod-lib_datetime.lst
1783 FSFILES
+= fs-datetime_mod-lib_datetime.lst
1784 PARTMAPFILES
+= partmap-datetime_mod-lib_datetime.lst
1786 cmd-datetime_mod-lib_datetime.lst
: lib
/datetime.c
$(lib
/datetime.c_DEPENDENCIES
) gencmdlist.sh
1787 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1789 fs-datetime_mod-lib_datetime.lst
: lib
/datetime.c
$(lib
/datetime.c_DEPENDENCIES
) genfslist.sh
1790 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1792 partmap-datetime_mod-lib_datetime.lst
: lib
/datetime.c
$(lib
/datetime.c_DEPENDENCIES
) genpartmaplist.sh
1793 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1796 datetime_mod-lib_i386_datetime.o
: lib
/i386
/datetime.c
$(lib
/i386
/datetime.c_DEPENDENCIES
)
1797 $(TARGET_CC
) -Ilib
/i386
-I
$(srcdir)/lib
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -MD
-c
-o
$@
$<
1798 -include datetime_mod-lib_i386_datetime.d
1800 CLEANFILES
+= cmd-datetime_mod-lib_i386_datetime.lst fs-datetime_mod-lib_i386_datetime.lst partmap-datetime_mod-lib_i386_datetime.lst
1801 COMMANDFILES
+= cmd-datetime_mod-lib_i386_datetime.lst
1802 FSFILES
+= fs-datetime_mod-lib_i386_datetime.lst
1803 PARTMAPFILES
+= partmap-datetime_mod-lib_i386_datetime.lst
1805 cmd-datetime_mod-lib_i386_datetime.lst
: lib
/i386
/datetime.c
$(lib
/i386
/datetime.c_DEPENDENCIES
) gencmdlist.sh
1806 set
-e
; $(TARGET_CC
) -Ilib
/i386
-I
$(srcdir)/lib
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1808 fs-datetime_mod-lib_i386_datetime.lst
: lib
/i386
/datetime.c
$(lib
/i386
/datetime.c_DEPENDENCIES
) genfslist.sh
1809 set
-e
; $(TARGET_CC
) -Ilib
/i386
-I
$(srcdir)/lib
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1811 partmap-datetime_mod-lib_i386_datetime.lst
: lib
/i386
/datetime.c
$(lib
/i386
/datetime.c_DEPENDENCIES
) genpartmaplist.sh
1812 set
-e
; $(TARGET_CC
) -Ilib
/i386
-I
$(srcdir)/lib
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1815 datetime_mod_CFLAGS
= $(COMMON_CFLAGS
)
1816 datetime_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1819 date_mod_SOURCES
= commands
/date.c
1820 CLEANFILES
+= date.mod mod-date.o mod-date.c pre-date.o date_mod-commands_date.o und-date.lst
1821 ifneq ($(date_mod_EXPORTS
),no
)
1822 CLEANFILES
+= def-date.lst
1823 DEFSYMFILES
+= def-date.lst
1825 MOSTLYCLEANFILES
+= date_mod-commands_date.d
1826 UNDSYMFILES
+= und-date.lst
1828 date.mod
: pre-date.o mod-date.o
$(TARGET_OBJ2ELF
)
1830 $(TARGET_CC
) $(date_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-date.o mod-date.o
1831 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1832 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1834 pre-date.o
: $(date_mod_DEPENDENCIES
) date_mod-commands_date.o
1836 $(TARGET_CC
) $(date_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ date_mod-commands_date.o
1838 mod-date.o
: mod-date.c
1839 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -c
-o
$@
$<
1841 mod-date.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1842 sh
$(srcdir)/genmodsrc.sh
'date' $< > $@ ||
(rm -f
$@
; exit
1)
1844 ifneq ($(date_mod_EXPORTS
),no
)
1845 def-date.lst
: pre-date.o
1846 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 date/' > $@
1849 und-date.lst
: pre-date.o
1851 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1853 date_mod-commands_date.o
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
)
1854 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -MD
-c
-o
$@
$<
1855 -include date_mod-commands_date.d
1857 CLEANFILES
+= cmd-date_mod-commands_date.lst fs-date_mod-commands_date.lst partmap-date_mod-commands_date.lst
1858 COMMANDFILES
+= cmd-date_mod-commands_date.lst
1859 FSFILES
+= fs-date_mod-commands_date.lst
1860 PARTMAPFILES
+= partmap-date_mod-commands_date.lst
1862 cmd-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) gencmdlist.sh
1863 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1865 fs-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genfslist.sh
1866 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1868 partmap-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genpartmaplist.sh
1869 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1872 date_mod_CFLAGS
= $(COMMON_CFLAGS
)
1873 date_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1876 datehook_mod_SOURCES
= hook
/datehook.c
1877 CLEANFILES
+= datehook.mod mod-datehook.o mod-datehook.c pre-datehook.o datehook_mod-hook_datehook.o und-datehook.lst
1878 ifneq ($(datehook_mod_EXPORTS
),no
)
1879 CLEANFILES
+= def-datehook.lst
1880 DEFSYMFILES
+= def-datehook.lst
1882 MOSTLYCLEANFILES
+= datehook_mod-hook_datehook.d
1883 UNDSYMFILES
+= und-datehook.lst
1885 datehook.mod
: pre-datehook.o mod-datehook.o
$(TARGET_OBJ2ELF
)
1887 $(TARGET_CC
) $(datehook_mod_LDFLAGS
) $(TARGET_LDFLAGS
) $(MODULE_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-datehook.o mod-datehook.o
1888 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1889 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1891 pre-datehook.o
: $(datehook_mod_DEPENDENCIES
) datehook_mod-hook_datehook.o
1893 $(TARGET_CC
) $(datehook_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ datehook_mod-hook_datehook.o
1895 mod-datehook.o
: mod-datehook.c
1896 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -c
-o
$@
$<
1898 mod-datehook.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1899 sh
$(srcdir)/genmodsrc.sh
'datehook' $< > $@ ||
(rm -f
$@
; exit
1)
1901 ifneq ($(datehook_mod_EXPORTS
),no
)
1902 def-datehook.lst
: pre-datehook.o
1903 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 datehook/' > $@
1906 und-datehook.lst
: pre-datehook.o
1907 echo
'datehook' > $@
1908 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1910 datehook_mod-hook_datehook.o
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
)
1911 $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -MD
-c
-o
$@
$<
1912 -include datehook_mod-hook_datehook.d
1914 CLEANFILES
+= cmd-datehook_mod-hook_datehook.lst fs-datehook_mod-hook_datehook.lst partmap-datehook_mod-hook_datehook.lst
1915 COMMANDFILES
+= cmd-datehook_mod-hook_datehook.lst
1916 FSFILES
+= fs-datehook_mod-hook_datehook.lst
1917 PARTMAPFILES
+= partmap-datehook_mod-hook_datehook.lst
1919 cmd-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) gencmdlist.sh
1920 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1922 fs-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genfslist.sh
1923 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1925 partmap-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genpartmaplist.sh
1926 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1929 datehook_mod_CFLAGS
= $(COMMON_CFLAGS
)
1930 datehook_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1932 include $(srcdir)/conf
/i386.mk
1933 include $(srcdir)/conf
/common.mk