3 COMMON_ASFLAGS
= -m32
-nostdinc
-fno-builtin
4 COMMON_CFLAGS
= -ffreestanding
-mrtd
-mregparm
=3
5 COMMON_LDFLAGS
= -nostdlib
-static
-lgcc
8 pkglib_PROGRAMS
= kernel.elf
11 kernel_elf_SOURCES
= kern
/i386
/ieee1275
/startup.S kern
/i386
/ieee1275
/init.c \
12 kern
/powerpc
/ieee1275
/init.c \
13 kern
/powerpc
/ieee1275
/cmain.c kern
/powerpc
/ieee1275
/openfw.c \
14 kern
/main.c kern
/device.c \
15 kern
/disk.c kern
/dl.c kern
/file.c kern
/fs.c kern
/err.c \
16 kern
/misc.c kern
/mm.c kern
/loader.c kern
/rescue.c kern
/term.c \
17 kern
/i386
/dl.c kern
/parser.c kern
/partition.c \
19 kern
/ieee1275
/ieee1275.c \
20 term
/ieee1275
/ofconsole.c term
/i386
/pc/at_keyboard.c \
21 disk
/ieee1275
/ofdisk.c \
23 CLEANFILES
+= kernel.elf kernel_elf-kern_i386_ieee1275_startup.o kernel_elf-kern_i386_ieee1275_init.o kernel_elf-kern_powerpc_ieee1275_init.o kernel_elf-kern_powerpc_ieee1275_cmain.o kernel_elf-kern_powerpc_ieee1275_openfw.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_i386_dl.o kernel_elf-kern_parser.o kernel_elf-kern_partition.o kernel_elf-kern_env.o kernel_elf-kern_ieee1275_ieee1275.o kernel_elf-term_ieee1275_ofconsole.o kernel_elf-term_i386_pc_at_keyboard.o kernel_elf-disk_ieee1275_ofdisk.o kernel_elf-symlist.o
24 MOSTLYCLEANFILES
+= kernel_elf-kern_i386_ieee1275_startup.d kernel_elf-kern_i386_ieee1275_init.d kernel_elf-kern_powerpc_ieee1275_init.d kernel_elf-kern_powerpc_ieee1275_cmain.d kernel_elf-kern_powerpc_ieee1275_openfw.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_i386_dl.d kernel_elf-kern_parser.d kernel_elf-kern_partition.d kernel_elf-kern_env.d kernel_elf-kern_ieee1275_ieee1275.d kernel_elf-term_ieee1275_ofconsole.d kernel_elf-term_i386_pc_at_keyboard.d kernel_elf-disk_ieee1275_ofdisk.d kernel_elf-symlist.d
26 kernel.elf
: $(kernel_elf_DEPENDENCIES
) kernel_elf-kern_i386_ieee1275_startup.o kernel_elf-kern_i386_ieee1275_init.o kernel_elf-kern_powerpc_ieee1275_init.o kernel_elf-kern_powerpc_ieee1275_cmain.o kernel_elf-kern_powerpc_ieee1275_openfw.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_i386_dl.o kernel_elf-kern_parser.o kernel_elf-kern_partition.o kernel_elf-kern_env.o kernel_elf-kern_ieee1275_ieee1275.o kernel_elf-term_ieee1275_ofconsole.o kernel_elf-term_i386_pc_at_keyboard.o kernel_elf-disk_ieee1275_ofdisk.o kernel_elf-symlist.o
27 $(TARGET_CC
) -o
$@ kernel_elf-kern_i386_ieee1275_startup.o kernel_elf-kern_i386_ieee1275_init.o kernel_elf-kern_powerpc_ieee1275_init.o kernel_elf-kern_powerpc_ieee1275_cmain.o kernel_elf-kern_powerpc_ieee1275_openfw.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_i386_dl.o kernel_elf-kern_parser.o kernel_elf-kern_partition.o kernel_elf-kern_env.o kernel_elf-kern_ieee1275_ieee1275.o kernel_elf-term_ieee1275_ofconsole.o kernel_elf-term_i386_pc_at_keyboard.o kernel_elf-disk_ieee1275_ofdisk.o kernel_elf-symlist.o
$(TARGET_LDFLAGS
) $(kernel_elf_LDFLAGS
)
29 kernel_elf-kern_i386_ieee1275_startup.o
: kern
/i386
/ieee1275
/startup.S
30 $(TARGET_CC
) -Ikern
/i386
/ieee1275
-I
$(srcdir)/kern
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
31 -include kernel_elf-kern_i386_ieee1275_startup.d
33 kernel_elf-kern_i386_ieee1275_init.o
: kern
/i386
/ieee1275
/init.c
34 $(TARGET_CC
) -Ikern
/i386
/ieee1275
-I
$(srcdir)/kern
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
35 -include kernel_elf-kern_i386_ieee1275_init.d
37 kernel_elf-kern_powerpc_ieee1275_init.o
: kern
/powerpc
/ieee1275
/init.c
38 $(TARGET_CC
) -Ikern
/powerpc
/ieee1275
-I
$(srcdir)/kern
/powerpc
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
39 -include kernel_elf-kern_powerpc_ieee1275_init.d
41 kernel_elf-kern_powerpc_ieee1275_cmain.o
: kern
/powerpc
/ieee1275
/cmain.c
42 $(TARGET_CC
) -Ikern
/powerpc
/ieee1275
-I
$(srcdir)/kern
/powerpc
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
43 -include kernel_elf-kern_powerpc_ieee1275_cmain.d
45 kernel_elf-kern_powerpc_ieee1275_openfw.o
: kern
/powerpc
/ieee1275
/openfw.c
46 $(TARGET_CC
) -Ikern
/powerpc
/ieee1275
-I
$(srcdir)/kern
/powerpc
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
47 -include kernel_elf-kern_powerpc_ieee1275_openfw.d
49 kernel_elf-kern_main.o
: kern
/main.c
50 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
51 -include kernel_elf-kern_main.d
53 kernel_elf-kern_device.o
: kern
/device.c
54 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
55 -include kernel_elf-kern_device.d
57 kernel_elf-kern_disk.o
: kern
/disk.c
58 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
59 -include kernel_elf-kern_disk.d
61 kernel_elf-kern_dl.o
: kern
/dl.c
62 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
63 -include kernel_elf-kern_dl.d
65 kernel_elf-kern_file.o
: kern
/file.c
66 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
67 -include kernel_elf-kern_file.d
69 kernel_elf-kern_fs.o
: kern
/fs.c
70 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
71 -include kernel_elf-kern_fs.d
73 kernel_elf-kern_err.o
: kern
/err.c
74 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
75 -include kernel_elf-kern_err.d
77 kernel_elf-kern_misc.o
: kern
/misc.c
78 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
79 -include kernel_elf-kern_misc.d
81 kernel_elf-kern_mm.o
: kern
/mm.c
82 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
83 -include kernel_elf-kern_mm.d
85 kernel_elf-kern_loader.o
: kern
/loader.c
86 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
87 -include kernel_elf-kern_loader.d
89 kernel_elf-kern_rescue.o
: kern
/rescue.c
90 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
91 -include kernel_elf-kern_rescue.d
93 kernel_elf-kern_term.o
: kern
/term.c
94 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
95 -include kernel_elf-kern_term.d
97 kernel_elf-kern_i386_dl.o
: kern
/i386
/dl.c
98 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
99 -include kernel_elf-kern_i386_dl.d
101 kernel_elf-kern_parser.o
: kern
/parser.c
102 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
103 -include kernel_elf-kern_parser.d
105 kernel_elf-kern_partition.o
: kern
/partition.c
106 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
107 -include kernel_elf-kern_partition.d
109 kernel_elf-kern_env.o
: kern
/env.c
110 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
111 -include kernel_elf-kern_env.d
113 kernel_elf-kern_ieee1275_ieee1275.o
: kern
/ieee1275
/ieee1275.c
114 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
115 -include kernel_elf-kern_ieee1275_ieee1275.d
117 kernel_elf-term_ieee1275_ofconsole.o
: term
/ieee1275
/ofconsole.c
118 $(TARGET_CC
) -Iterm
/ieee1275
-I
$(srcdir)/term
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
119 -include kernel_elf-term_ieee1275_ofconsole.d
121 kernel_elf-term_i386_pc_at_keyboard.o
: term
/i386
/pc/at_keyboard.c
122 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
123 -include kernel_elf-term_i386_pc_at_keyboard.d
125 kernel_elf-disk_ieee1275_ofdisk.o
: disk
/ieee1275
/ofdisk.c
126 $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
127 -include kernel_elf-disk_ieee1275_ofdisk.d
129 kernel_elf-symlist.o
: symlist.c
130 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
131 -include kernel_elf-symlist.d
133 kernel_elf_HEADERS
= arg.h cache.h device.h disk.h dl.h elf.h elfload.h \
134 env.h err.h file.h fs.h kernel.h loader.h misc.h mm.h net.h parser.h \
135 partition.h pc_partition.h rescue.h symbol.h term.h time.h types.h \
136 ieee1275
/ieee1275.h machine
/kernel.h machine
/loader.h machine
/memory.h
137 kernel_elf_CFLAGS
= $(COMMON_CFLAGS
)
138 kernel_elf_LDFLAGS
= $(COMMON_LDFLAGS
) -Wl
,-N
,-S
,-Ttext
,0x10000,-Bstatic
140 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
141 DEFSYMFILES
+= kernel_syms.lst
143 symlist.c
: $(addprefix include/grub
/,$(kernel_elf_HEADERS
)) config.h gensymlist.sh
144 /bin
/sh gensymlist.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
146 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_elf_HEADERS
)) config.h genkernsyms.sh
147 /bin
/sh genkernsyms.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
150 bin_UTILITIES
= grub-mkimage
151 sbin_UTILITIES
= grub-mkdevicemap
152 ifeq ($(enable_grub_emu
), yes
)
153 sbin_UTILITIES
+= grub-emu
157 grub_mkimage_SOURCES
= util
/elf
/grub-mkimage.c util
/misc.c \
159 CLEANFILES
+= grub-mkimage grub_mkimage-util_elf_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
160 MOSTLYCLEANFILES
+= grub_mkimage-util_elf_grub_mkimage.d grub_mkimage-util_misc.d grub_mkimage-util_resolve.d
162 grub-mkimage
: $(grub_mkimage_DEPENDENCIES
) grub_mkimage-util_elf_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
163 $(CC
) -o
$@ grub_mkimage-util_elf_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
$(LDFLAGS
) $(grub_mkimage_LDFLAGS
)
165 grub_mkimage-util_elf_grub_mkimage.o
: util
/elf
/grub-mkimage.c
$(util
/elf
/grub-mkimage.c_DEPENDENCIES
)
166 $(CC
) -Iutil
/elf
-I
$(srcdir)/util
/elf
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -MD
-c
-o
$@
$<
167 -include grub_mkimage-util_elf_grub_mkimage.d
169 grub_mkimage-util_misc.o
: util
/misc.c
$(util
/misc.c_DEPENDENCIES
)
170 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -MD
-c
-o
$@
$<
171 -include grub_mkimage-util_misc.d
173 grub_mkimage-util_resolve.o
: util
/resolve.c
$(util
/resolve.c_DEPENDENCIES
)
174 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -MD
-c
-o
$@
$<
175 -include grub_mkimage-util_resolve.d
177 grub_mkimage_LDFLAGS
= $(LIBLZO
)
179 # For grub-mkdevicemap.
180 grub_mkdevicemap_SOURCES
= util
/grub-mkdevicemap.c util
/misc.c \
181 util
/i386
/get_disk_name.c
182 CLEANFILES
+= grub-mkdevicemap grub_mkdevicemap-util_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o grub_mkdevicemap-util_i386_get_disk_name.o
183 MOSTLYCLEANFILES
+= grub_mkdevicemap-util_grub_mkdevicemap.d grub_mkdevicemap-util_misc.d grub_mkdevicemap-util_i386_get_disk_name.d
185 grub-mkdevicemap
: $(grub_mkdevicemap_DEPENDENCIES
) grub_mkdevicemap-util_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o grub_mkdevicemap-util_i386_get_disk_name.o
186 $(CC
) -o
$@ grub_mkdevicemap-util_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o grub_mkdevicemap-util_i386_get_disk_name.o
$(LDFLAGS
) $(grub_mkdevicemap_LDFLAGS
)
188 grub_mkdevicemap-util_grub_mkdevicemap.o
: util
/grub-mkdevicemap.c
$(util
/grub-mkdevicemap.c_DEPENDENCIES
)
189 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -MD
-c
-o
$@
$<
190 -include grub_mkdevicemap-util_grub_mkdevicemap.d
192 grub_mkdevicemap-util_misc.o
: util
/misc.c
$(util
/misc.c_DEPENDENCIES
)
193 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -MD
-c
-o
$@
$<
194 -include grub_mkdevicemap-util_misc.d
196 grub_mkdevicemap-util_i386_get_disk_name.o
: util
/i386
/get_disk_name.c
$(util
/i386
/get_disk_name.c_DEPENDENCIES
)
197 $(CC
) -Iutil
/i386
-I
$(srcdir)/util
/i386
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -MD
-c
-o
$@
$<
198 -include grub_mkdevicemap-util_i386_get_disk_name.d
202 util
/grub-emu.c_DEPENDENCIES
= grub_emu_init.h
203 normal
/execute.c_DEPENDENCIES
= grub_script.tab.h
204 grub-emu_DEPENDENCIES
= grub_script.tab.c
205 grub_emu_SOURCES
= commands
/boot.c commands
/cat.c commands
/cmp.c \
206 commands
/configfile.c commands
/echo.c commands
/help.c \
207 commands
/terminal.c commands
/ls.c commands
/test.c \
208 commands
/search.c commands
/blocklist.c commands
/hexdump.c \
209 commands
/ieee1275
/halt.c commands
/ieee1275
/reboot.c \
210 commands
/i386
/cpuid.c \
211 disk
/host.c disk
/loopback.c disk
/raid.c disk
/lvm.c \
213 fs
/affs.c fs
/cpio.c fs
/ext2.c fs
/fat.c fs
/hfs.c \
214 fs
/hfsplus.c fs
/iso9660.c fs
/jfs.c fs
/minix.c \
215 fs
/ntfs.c fs
/ntfscomp.c fs
/reiserfs.c fs
/sfs.c \
220 kern
/device.c kern
/disk.c kern
/dl.c kern
/elf.c kern
/env.c \
222 normal
/execute.c kern
/file.c kern
/fs.c normal
/lexer.c \
223 kern
/loader.c kern
/main.c kern
/misc.c kern
/parser.c \
224 grub_script.tab.c kern
/partition.c kern
/rescue.c kern
/term.c \
225 normal
/arg.c normal
/cmdline.c normal
/command.c normal
/function.c\
226 normal
/completion.c normal
/main.c \
227 normal
/menu.c normal
/menu_entry.c normal
/misc.c normal
/script.c \
229 partmap
/amiga.c partmap
/apple.c partmap
/pc.c partmap
/sun.c \
230 partmap
/acorn.c partmap
/gpt.c \
231 util
/console.c util
/hostfs.c util
/grub-emu.c util
/misc.c \
232 util
/biosdisk.c util
/getroot.c \
233 util
/i386
/pc/misc.c grub_emu_init.c
234 CLEANFILES
+= grub-emu 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-commands_ieee1275_halt.o grub_emu-commands_ieee1275_reboot.o grub_emu-commands_i386_cpuid.o grub_emu-disk_host.o grub_emu-disk_loopback.o grub_emu-disk_raid.o grub_emu-disk_lvm.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_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_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_biosdisk.o grub_emu-util_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-grub_emu_init.o
235 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-commands_ieee1275_halt.d grub_emu-commands_ieee1275_reboot.d grub_emu-commands_i386_cpuid.d grub_emu-disk_host.d grub_emu-disk_loopback.d grub_emu-disk_raid.d grub_emu-disk_lvm.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_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_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_biosdisk.d grub_emu-util_getroot.d grub_emu-util_i386_pc_misc.d grub_emu-grub_emu_init.d
237 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-commands_ieee1275_halt.o grub_emu-commands_ieee1275_reboot.o grub_emu-commands_i386_cpuid.o grub_emu-disk_host.o grub_emu-disk_loopback.o grub_emu-disk_raid.o grub_emu-disk_lvm.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_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_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_biosdisk.o grub_emu-util_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-grub_emu_init.o
238 $(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-commands_ieee1275_halt.o grub_emu-commands_ieee1275_reboot.o grub_emu-commands_i386_cpuid.o grub_emu-disk_host.o grub_emu-disk_loopback.o grub_emu-disk_raid.o grub_emu-disk_lvm.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_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_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_biosdisk.o grub_emu-util_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-grub_emu_init.o
$(LDFLAGS
) $(grub_emu_LDFLAGS
)
240 grub_emu-commands_boot.o
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
)
241 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
242 -include grub_emu-commands_boot.d
244 grub_emu-commands_cat.o
: commands
/cat.c
$(commands
/cat.c_DEPENDENCIES
)
245 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
246 -include grub_emu-commands_cat.d
248 grub_emu-commands_cmp.o
: commands
/cmp.c
$(commands
/cmp.c_DEPENDENCIES
)
249 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
250 -include grub_emu-commands_cmp.d
252 grub_emu-commands_configfile.o
: commands
/configfile.c
$(commands
/configfile.c_DEPENDENCIES
)
253 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
254 -include grub_emu-commands_configfile.d
256 grub_emu-commands_echo.o
: commands
/echo.c
$(commands
/echo.c_DEPENDENCIES
)
257 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
258 -include grub_emu-commands_echo.d
260 grub_emu-commands_help.o
: commands
/help.c
$(commands
/help.c_DEPENDENCIES
)
261 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
262 -include grub_emu-commands_help.d
264 grub_emu-commands_terminal.o
: commands
/terminal.c
$(commands
/terminal.c_DEPENDENCIES
)
265 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
266 -include grub_emu-commands_terminal.d
268 grub_emu-commands_ls.o
: commands
/ls.c
$(commands
/ls.c_DEPENDENCIES
)
269 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
270 -include grub_emu-commands_ls.d
272 grub_emu-commands_test.o
: commands
/test.c
$(commands
/test.c_DEPENDENCIES
)
273 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
274 -include grub_emu-commands_test.d
276 grub_emu-commands_search.o
: commands
/search.c
$(commands
/search.c_DEPENDENCIES
)
277 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
278 -include grub_emu-commands_search.d
280 grub_emu-commands_blocklist.o
: commands
/blocklist.c
$(commands
/blocklist.c_DEPENDENCIES
)
281 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
282 -include grub_emu-commands_blocklist.d
284 grub_emu-commands_hexdump.o
: commands
/hexdump.c
$(commands
/hexdump.c_DEPENDENCIES
)
285 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
286 -include grub_emu-commands_hexdump.d
288 grub_emu-commands_ieee1275_halt.o
: commands
/ieee1275
/halt.c
$(commands
/ieee1275
/halt.c_DEPENDENCIES
)
289 $(CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
290 -include grub_emu-commands_ieee1275_halt.d
292 grub_emu-commands_ieee1275_reboot.o
: commands
/ieee1275
/reboot.c
$(commands
/ieee1275
/reboot.c_DEPENDENCIES
)
293 $(CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
294 -include grub_emu-commands_ieee1275_reboot.d
296 grub_emu-commands_i386_cpuid.o
: commands
/i386
/cpuid.c
$(commands
/i386
/cpuid.c_DEPENDENCIES
)
297 $(CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
298 -include grub_emu-commands_i386_cpuid.d
300 grub_emu-disk_host.o
: disk
/host.c
$(disk
/host.c_DEPENDENCIES
)
301 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
302 -include grub_emu-disk_host.d
304 grub_emu-disk_loopback.o
: disk
/loopback.c
$(disk
/loopback.c_DEPENDENCIES
)
305 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
306 -include grub_emu-disk_loopback.d
308 grub_emu-disk_raid.o
: disk
/raid.c
$(disk
/raid.c_DEPENDENCIES
)
309 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
310 -include grub_emu-disk_raid.d
312 grub_emu-disk_lvm.o
: disk
/lvm.c
$(disk
/lvm.c_DEPENDENCIES
)
313 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
314 -include grub_emu-disk_lvm.d
316 grub_emu-fs_affs.o
: fs
/affs.c
$(fs
/affs.c_DEPENDENCIES
)
317 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
318 -include grub_emu-fs_affs.d
320 grub_emu-fs_cpio.o
: fs
/cpio.c
$(fs
/cpio.c_DEPENDENCIES
)
321 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
322 -include grub_emu-fs_cpio.d
324 grub_emu-fs_ext2.o
: fs
/ext2.c
$(fs
/ext2.c_DEPENDENCIES
)
325 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
326 -include grub_emu-fs_ext2.d
328 grub_emu-fs_fat.o
: fs
/fat.c
$(fs
/fat.c_DEPENDENCIES
)
329 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
330 -include grub_emu-fs_fat.d
332 grub_emu-fs_hfs.o
: fs
/hfs.c
$(fs
/hfs.c_DEPENDENCIES
)
333 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
334 -include grub_emu-fs_hfs.d
336 grub_emu-fs_hfsplus.o
: fs
/hfsplus.c
$(fs
/hfsplus.c_DEPENDENCIES
)
337 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
338 -include grub_emu-fs_hfsplus.d
340 grub_emu-fs_iso9660.o
: fs
/iso9660.c
$(fs
/iso9660.c_DEPENDENCIES
)
341 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
342 -include grub_emu-fs_iso9660.d
344 grub_emu-fs_jfs.o
: fs
/jfs.c
$(fs
/jfs.c_DEPENDENCIES
)
345 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
346 -include grub_emu-fs_jfs.d
348 grub_emu-fs_minix.o
: fs
/minix.c
$(fs
/minix.c_DEPENDENCIES
)
349 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
350 -include grub_emu-fs_minix.d
352 grub_emu-fs_ntfs.o
: fs
/ntfs.c
$(fs
/ntfs.c_DEPENDENCIES
)
353 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
354 -include grub_emu-fs_ntfs.d
356 grub_emu-fs_ntfscomp.o
: fs
/ntfscomp.c
$(fs
/ntfscomp.c_DEPENDENCIES
)
357 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
358 -include grub_emu-fs_ntfscomp.d
360 grub_emu-fs_reiserfs.o
: fs
/reiserfs.c
$(fs
/reiserfs.c_DEPENDENCIES
)
361 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
362 -include grub_emu-fs_reiserfs.d
364 grub_emu-fs_sfs.o
: fs
/sfs.c
$(fs
/sfs.c_DEPENDENCIES
)
365 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
366 -include grub_emu-fs_sfs.d
368 grub_emu-fs_ufs.o
: fs
/ufs.c
$(fs
/ufs.c_DEPENDENCIES
)
369 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
370 -include grub_emu-fs_ufs.d
372 grub_emu-fs_xfs.o
: fs
/xfs.c
$(fs
/xfs.c_DEPENDENCIES
)
373 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
374 -include grub_emu-fs_xfs.d
376 grub_emu-fs_fshelp.o
: fs
/fshelp.c
$(fs
/fshelp.c_DEPENDENCIES
)
377 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
378 -include grub_emu-fs_fshelp.d
380 grub_emu-io_gzio.o
: io
/gzio.c
$(io
/gzio.c_DEPENDENCIES
)
381 $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
382 -include grub_emu-io_gzio.d
384 grub_emu-kern_device.o
: kern
/device.c
$(kern
/device.c_DEPENDENCIES
)
385 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
386 -include grub_emu-kern_device.d
388 grub_emu-kern_disk.o
: kern
/disk.c
$(kern
/disk.c_DEPENDENCIES
)
389 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
390 -include grub_emu-kern_disk.d
392 grub_emu-kern_dl.o
: kern
/dl.c
$(kern
/dl.c_DEPENDENCIES
)
393 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
394 -include grub_emu-kern_dl.d
396 grub_emu-kern_elf.o
: kern
/elf.c
$(kern
/elf.c_DEPENDENCIES
)
397 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
398 -include grub_emu-kern_elf.d
400 grub_emu-kern_env.o
: kern
/env.c
$(kern
/env.c_DEPENDENCIES
)
401 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
402 -include grub_emu-kern_env.d
404 grub_emu-kern_err.o
: kern
/err.c
$(kern
/err.c_DEPENDENCIES
)
405 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
406 -include grub_emu-kern_err.d
408 grub_emu-normal_execute.o
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
)
409 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
410 -include grub_emu-normal_execute.d
412 grub_emu-kern_file.o
: kern
/file.c
$(kern
/file.c_DEPENDENCIES
)
413 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
414 -include grub_emu-kern_file.d
416 grub_emu-kern_fs.o
: kern
/fs.c
$(kern
/fs.c_DEPENDENCIES
)
417 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
418 -include grub_emu-kern_fs.d
420 grub_emu-normal_lexer.o
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
)
421 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
422 -include grub_emu-normal_lexer.d
424 grub_emu-kern_loader.o
: kern
/loader.c
$(kern
/loader.c_DEPENDENCIES
)
425 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
426 -include grub_emu-kern_loader.d
428 grub_emu-kern_main.o
: kern
/main.c
$(kern
/main.c_DEPENDENCIES
)
429 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
430 -include grub_emu-kern_main.d
432 grub_emu-kern_misc.o
: kern
/misc.c
$(kern
/misc.c_DEPENDENCIES
)
433 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
434 -include grub_emu-kern_misc.d
436 grub_emu-kern_parser.o
: kern
/parser.c
$(kern
/parser.c_DEPENDENCIES
)
437 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
438 -include grub_emu-kern_parser.d
440 grub_emu-grub_script_tab.o
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
)
441 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
442 -include grub_emu-grub_script_tab.d
444 grub_emu-kern_partition.o
: kern
/partition.c
$(kern
/partition.c_DEPENDENCIES
)
445 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
446 -include grub_emu-kern_partition.d
448 grub_emu-kern_rescue.o
: kern
/rescue.c
$(kern
/rescue.c_DEPENDENCIES
)
449 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
450 -include grub_emu-kern_rescue.d
452 grub_emu-kern_term.o
: kern
/term.c
$(kern
/term.c_DEPENDENCIES
)
453 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
454 -include grub_emu-kern_term.d
456 grub_emu-normal_arg.o
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
)
457 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
458 -include grub_emu-normal_arg.d
460 grub_emu-normal_cmdline.o
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
)
461 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
462 -include grub_emu-normal_cmdline.d
464 grub_emu-normal_command.o
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
)
465 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
466 -include grub_emu-normal_command.d
468 grub_emu-normal_function.o
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
)
469 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
470 -include grub_emu-normal_function.d
472 grub_emu-normal_completion.o
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
)
473 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
474 -include grub_emu-normal_completion.d
476 grub_emu-normal_main.o
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
)
477 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
478 -include grub_emu-normal_main.d
480 grub_emu-normal_menu.o
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
)
481 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
482 -include grub_emu-normal_menu.d
484 grub_emu-normal_menu_entry.o
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
)
485 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
486 -include grub_emu-normal_menu_entry.d
488 grub_emu-normal_misc.o
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
)
489 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
490 -include grub_emu-normal_misc.d
492 grub_emu-normal_script.o
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
)
493 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
494 -include grub_emu-normal_script.d
496 grub_emu-normal_color.o
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
)
497 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
498 -include grub_emu-normal_color.d
500 grub_emu-partmap_amiga.o
: partmap
/amiga.c
$(partmap
/amiga.c_DEPENDENCIES
)
501 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
502 -include grub_emu-partmap_amiga.d
504 grub_emu-partmap_apple.o
: partmap
/apple.c
$(partmap
/apple.c_DEPENDENCIES
)
505 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
506 -include grub_emu-partmap_apple.d
508 grub_emu-partmap_pc.o
: partmap
/pc.c
$(partmap
/pc.c_DEPENDENCIES
)
509 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
510 -include grub_emu-partmap_pc.d
512 grub_emu-partmap_sun.o
: partmap
/sun.c
$(partmap
/sun.c_DEPENDENCIES
)
513 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
514 -include grub_emu-partmap_sun.d
516 grub_emu-partmap_acorn.o
: partmap
/acorn.c
$(partmap
/acorn.c_DEPENDENCIES
)
517 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
518 -include grub_emu-partmap_acorn.d
520 grub_emu-partmap_gpt.o
: partmap
/gpt.c
$(partmap
/gpt.c_DEPENDENCIES
)
521 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
522 -include grub_emu-partmap_gpt.d
524 grub_emu-util_console.o
: util
/console.c
$(util
/console.c_DEPENDENCIES
)
525 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
526 -include grub_emu-util_console.d
528 grub_emu-util_hostfs.o
: util
/hostfs.c
$(util
/hostfs.c_DEPENDENCIES
)
529 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
530 -include grub_emu-util_hostfs.d
532 grub_emu-util_grub_emu.o
: util
/grub-emu.c
$(util
/grub-emu.c_DEPENDENCIES
)
533 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
534 -include grub_emu-util_grub_emu.d
536 grub_emu-util_misc.o
: util
/misc.c
$(util
/misc.c_DEPENDENCIES
)
537 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
538 -include grub_emu-util_misc.d
540 grub_emu-util_biosdisk.o
: util
/biosdisk.c
$(util
/biosdisk.c_DEPENDENCIES
)
541 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
542 -include grub_emu-util_biosdisk.d
544 grub_emu-util_getroot.o
: util
/getroot.c
$(util
/getroot.c_DEPENDENCIES
)
545 $(CC
) -Iutil
-I
$(srcdir)/util
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
546 -include grub_emu-util_getroot.d
548 grub_emu-util_i386_pc_misc.o
: util
/i386
/pc/misc.c
$(util
/i386
/pc/misc.c_DEPENDENCIES
)
549 $(CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
550 -include grub_emu-util_i386_pc_misc.d
552 grub_emu-grub_emu_init.o
: grub_emu_init.c
$(grub_emu_init.c_DEPENDENCIES
)
553 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -MD
-c
-o
$@
$<
554 -include grub_emu-grub_emu_init.d
557 grub_emu_LDFLAGS
= $(LIBCURSES
)
560 pkglib_MODULES
= normal.mod halt.mod reboot.mod suspend.mod cpuid.mod \
561 multiboot.mod _multiboot.mod serial.mod
564 normal_mod_DEPENDENCIES
= grub_script.tab.c grub_script.tab.h
565 normal_mod_SOURCES
= normal
/arg.c normal
/cmdline.c normal
/command.c \
566 normal
/completion.c normal
/execute.c \
567 normal
/function.c normal
/lexer.c normal
/main.c normal
/menu.c \
568 normal
/menu_entry.c normal
/misc.c grub_script.tab.c \
569 normal
/script.c normal
/i386
/setjmp.S normal
/color.c
570 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
571 ifneq ($(normal_mod_EXPORTS
),no
)
572 CLEANFILES
+= def-normal.lst
573 DEFSYMFILES
+= def-normal.lst
575 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
576 UNDSYMFILES
+= und-normal.lst
578 normal.mod
: pre-normal.o mod-normal.o
580 $(TARGET_CC
) $(normal_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
581 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
583 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
585 $(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
587 mod-normal.o
: mod-normal.c
588 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
590 mod-normal.c
: moddep.lst genmodsrc.sh
591 sh
$(srcdir)/genmodsrc.sh
'normal' $< > $@ ||
(rm -f
$@
; exit
1)
593 ifneq ($(normal_mod_EXPORTS
),no
)
594 def-normal.lst
: pre-normal.o
595 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 normal/' > $@
598 und-normal.lst
: pre-normal.o
600 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
602 normal_mod-normal_arg.o
: normal
/arg.c
603 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
604 -include normal_mod-normal_arg.d
606 CLEANFILES
+= cmd-normal_mod-normal_arg.lst fs-normal_mod-normal_arg.lst
607 COMMANDFILES
+= cmd-normal_mod-normal_arg.lst
608 FSFILES
+= fs-normal_mod-normal_arg.lst
610 cmd-normal_mod-normal_arg.lst
: normal
/arg.c gencmdlist.sh
611 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)
613 fs-normal_mod-normal_arg.lst
: normal
/arg.c genfslist.sh
614 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)
617 normal_mod-normal_cmdline.o
: normal
/cmdline.c
618 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
619 -include normal_mod-normal_cmdline.d
621 CLEANFILES
+= cmd-normal_mod-normal_cmdline.lst fs-normal_mod-normal_cmdline.lst
622 COMMANDFILES
+= cmd-normal_mod-normal_cmdline.lst
623 FSFILES
+= fs-normal_mod-normal_cmdline.lst
625 cmd-normal_mod-normal_cmdline.lst
: normal
/cmdline.c gencmdlist.sh
626 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)
628 fs-normal_mod-normal_cmdline.lst
: normal
/cmdline.c genfslist.sh
629 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)
632 normal_mod-normal_command.o
: normal
/command.c
633 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
634 -include normal_mod-normal_command.d
636 CLEANFILES
+= cmd-normal_mod-normal_command.lst fs-normal_mod-normal_command.lst
637 COMMANDFILES
+= cmd-normal_mod-normal_command.lst
638 FSFILES
+= fs-normal_mod-normal_command.lst
640 cmd-normal_mod-normal_command.lst
: normal
/command.c gencmdlist.sh
641 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)
643 fs-normal_mod-normal_command.lst
: normal
/command.c genfslist.sh
644 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)
647 normal_mod-normal_completion.o
: normal
/completion.c
648 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
649 -include normal_mod-normal_completion.d
651 CLEANFILES
+= cmd-normal_mod-normal_completion.lst fs-normal_mod-normal_completion.lst
652 COMMANDFILES
+= cmd-normal_mod-normal_completion.lst
653 FSFILES
+= fs-normal_mod-normal_completion.lst
655 cmd-normal_mod-normal_completion.lst
: normal
/completion.c gencmdlist.sh
656 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)
658 fs-normal_mod-normal_completion.lst
: normal
/completion.c genfslist.sh
659 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)
662 normal_mod-normal_execute.o
: normal
/execute.c
663 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
664 -include normal_mod-normal_execute.d
666 CLEANFILES
+= cmd-normal_mod-normal_execute.lst fs-normal_mod-normal_execute.lst
667 COMMANDFILES
+= cmd-normal_mod-normal_execute.lst
668 FSFILES
+= fs-normal_mod-normal_execute.lst
670 cmd-normal_mod-normal_execute.lst
: normal
/execute.c gencmdlist.sh
671 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)
673 fs-normal_mod-normal_execute.lst
: normal
/execute.c genfslist.sh
674 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)
677 normal_mod-normal_function.o
: normal
/function.c
678 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
679 -include normal_mod-normal_function.d
681 CLEANFILES
+= cmd-normal_mod-normal_function.lst fs-normal_mod-normal_function.lst
682 COMMANDFILES
+= cmd-normal_mod-normal_function.lst
683 FSFILES
+= fs-normal_mod-normal_function.lst
685 cmd-normal_mod-normal_function.lst
: normal
/function.c gencmdlist.sh
686 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)
688 fs-normal_mod-normal_function.lst
: normal
/function.c genfslist.sh
689 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)
692 normal_mod-normal_lexer.o
: normal
/lexer.c
693 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
694 -include normal_mod-normal_lexer.d
696 CLEANFILES
+= cmd-normal_mod-normal_lexer.lst fs-normal_mod-normal_lexer.lst
697 COMMANDFILES
+= cmd-normal_mod-normal_lexer.lst
698 FSFILES
+= fs-normal_mod-normal_lexer.lst
700 cmd-normal_mod-normal_lexer.lst
: normal
/lexer.c gencmdlist.sh
701 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)
703 fs-normal_mod-normal_lexer.lst
: normal
/lexer.c genfslist.sh
704 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)
707 normal_mod-normal_main.o
: normal
/main.c
708 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
709 -include normal_mod-normal_main.d
711 CLEANFILES
+= cmd-normal_mod-normal_main.lst fs-normal_mod-normal_main.lst
712 COMMANDFILES
+= cmd-normal_mod-normal_main.lst
713 FSFILES
+= fs-normal_mod-normal_main.lst
715 cmd-normal_mod-normal_main.lst
: normal
/main.c gencmdlist.sh
716 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)
718 fs-normal_mod-normal_main.lst
: normal
/main.c genfslist.sh
719 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)
722 normal_mod-normal_menu.o
: normal
/menu.c
723 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
724 -include normal_mod-normal_menu.d
726 CLEANFILES
+= cmd-normal_mod-normal_menu.lst fs-normal_mod-normal_menu.lst
727 COMMANDFILES
+= cmd-normal_mod-normal_menu.lst
728 FSFILES
+= fs-normal_mod-normal_menu.lst
730 cmd-normal_mod-normal_menu.lst
: normal
/menu.c gencmdlist.sh
731 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)
733 fs-normal_mod-normal_menu.lst
: normal
/menu.c genfslist.sh
734 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)
737 normal_mod-normal_menu_entry.o
: normal
/menu_entry.c
738 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
739 -include normal_mod-normal_menu_entry.d
741 CLEANFILES
+= cmd-normal_mod-normal_menu_entry.lst fs-normal_mod-normal_menu_entry.lst
742 COMMANDFILES
+= cmd-normal_mod-normal_menu_entry.lst
743 FSFILES
+= fs-normal_mod-normal_menu_entry.lst
745 cmd-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c gencmdlist.sh
746 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)
748 fs-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c genfslist.sh
749 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)
752 normal_mod-normal_misc.o
: normal
/misc.c
753 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
754 -include normal_mod-normal_misc.d
756 CLEANFILES
+= cmd-normal_mod-normal_misc.lst fs-normal_mod-normal_misc.lst
757 COMMANDFILES
+= cmd-normal_mod-normal_misc.lst
758 FSFILES
+= fs-normal_mod-normal_misc.lst
760 cmd-normal_mod-normal_misc.lst
: normal
/misc.c gencmdlist.sh
761 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)
763 fs-normal_mod-normal_misc.lst
: normal
/misc.c genfslist.sh
764 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)
767 normal_mod-grub_script_tab.o
: grub_script.tab.c
768 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
769 -include normal_mod-grub_script_tab.d
771 CLEANFILES
+= cmd-normal_mod-grub_script_tab.lst fs-normal_mod-grub_script_tab.lst
772 COMMANDFILES
+= cmd-normal_mod-grub_script_tab.lst
773 FSFILES
+= fs-normal_mod-grub_script_tab.lst
775 cmd-normal_mod-grub_script_tab.lst
: grub_script.tab.c gencmdlist.sh
776 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
778 fs-normal_mod-grub_script_tab.lst
: grub_script.tab.c genfslist.sh
779 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
782 normal_mod-normal_script.o
: normal
/script.c
783 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
784 -include normal_mod-normal_script.d
786 CLEANFILES
+= cmd-normal_mod-normal_script.lst fs-normal_mod-normal_script.lst
787 COMMANDFILES
+= cmd-normal_mod-normal_script.lst
788 FSFILES
+= fs-normal_mod-normal_script.lst
790 cmd-normal_mod-normal_script.lst
: normal
/script.c gencmdlist.sh
791 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)
793 fs-normal_mod-normal_script.lst
: normal
/script.c genfslist.sh
794 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)
797 normal_mod-normal_i386_setjmp.o
: normal
/i386
/setjmp.S
798 $(TARGET_CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -MD
-c
-o
$@
$<
799 -include normal_mod-normal_i386_setjmp.d
801 CLEANFILES
+= cmd-normal_mod-normal_i386_setjmp.lst fs-normal_mod-normal_i386_setjmp.lst
802 COMMANDFILES
+= cmd-normal_mod-normal_i386_setjmp.lst
803 FSFILES
+= fs-normal_mod-normal_i386_setjmp.lst
805 cmd-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S gencmdlist.sh
806 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)
808 fs-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S genfslist.sh
809 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)
812 normal_mod-normal_color.o
: normal
/color.c
813 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
814 -include normal_mod-normal_color.d
816 CLEANFILES
+= cmd-normal_mod-normal_color.lst fs-normal_mod-normal_color.lst
817 COMMANDFILES
+= cmd-normal_mod-normal_color.lst
818 FSFILES
+= fs-normal_mod-normal_color.lst
820 cmd-normal_mod-normal_color.lst
: normal
/color.c gencmdlist.sh
821 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)
823 fs-normal_mod-normal_color.lst
: normal
/color.c genfslist.sh
824 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)
827 normal_mod_CFLAGS
= $(COMMON_CFLAGS
)
828 normal_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
829 normal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
831 # For _multiboot.mod.
832 _multiboot_mod_SOURCES
= loader
/powerpc
/ieee1275
/multiboot2.c \
833 loader
/multiboot2.c \
834 loader
/multiboot_loader.c
835 CLEANFILES
+= _multiboot.mod mod-_multiboot.o mod-_multiboot.c pre-_multiboot.o _multiboot_mod-loader_powerpc_ieee1275_multiboot2.o _multiboot_mod-loader_multiboot2.o _multiboot_mod-loader_multiboot_loader.o und-_multiboot.lst
836 ifneq ($(_multiboot_mod_EXPORTS
),no
)
837 CLEANFILES
+= def-_multiboot.lst
838 DEFSYMFILES
+= def-_multiboot.lst
840 MOSTLYCLEANFILES
+= _multiboot_mod-loader_powerpc_ieee1275_multiboot2.d _multiboot_mod-loader_multiboot2.d _multiboot_mod-loader_multiboot_loader.d
841 UNDSYMFILES
+= und-_multiboot.lst
843 _multiboot.mod
: pre-_multiboot.o mod-_multiboot.o
845 $(TARGET_CC
) $(_multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
846 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
848 pre-_multiboot.o
: $(_multiboot_mod_DEPENDENCIES
) _multiboot_mod-loader_powerpc_ieee1275_multiboot2.o _multiboot_mod-loader_multiboot2.o _multiboot_mod-loader_multiboot_loader.o
850 $(TARGET_CC
) $(_multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ _multiboot_mod-loader_powerpc_ieee1275_multiboot2.o _multiboot_mod-loader_multiboot2.o _multiboot_mod-loader_multiboot_loader.o
852 mod-_multiboot.o
: mod-_multiboot.c
853 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -c
-o
$@
$<
855 mod-_multiboot.c
: moddep.lst genmodsrc.sh
856 sh
$(srcdir)/genmodsrc.sh
'_multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
858 ifneq ($(_multiboot_mod_EXPORTS
),no
)
859 def-_multiboot.lst
: pre-_multiboot.o
860 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _multiboot/' > $@
863 und-_multiboot.lst
: pre-_multiboot.o
864 echo
'_multiboot' > $@
865 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
867 _multiboot_mod-loader_powerpc_ieee1275_multiboot2.o
: loader
/powerpc
/ieee1275
/multiboot2.c
868 $(TARGET_CC
) -Iloader
/powerpc
/ieee1275
-I
$(srcdir)/loader
/powerpc
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
869 -include _multiboot_mod-loader_powerpc_ieee1275_multiboot2.d
871 CLEANFILES
+= cmd-_multiboot_mod-loader_powerpc_ieee1275_multiboot2.lst fs-_multiboot_mod-loader_powerpc_ieee1275_multiboot2.lst
872 COMMANDFILES
+= cmd-_multiboot_mod-loader_powerpc_ieee1275_multiboot2.lst
873 FSFILES
+= fs-_multiboot_mod-loader_powerpc_ieee1275_multiboot2.lst
875 cmd-_multiboot_mod-loader_powerpc_ieee1275_multiboot2.lst
: loader
/powerpc
/ieee1275
/multiboot2.c gencmdlist.sh
876 set
-e
; $(TARGET_CC
) -Iloader
/powerpc
/ieee1275
-I
$(srcdir)/loader
/powerpc
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
878 fs-_multiboot_mod-loader_powerpc_ieee1275_multiboot2.lst
: loader
/powerpc
/ieee1275
/multiboot2.c genfslist.sh
879 set
-e
; $(TARGET_CC
) -Iloader
/powerpc
/ieee1275
-I
$(srcdir)/loader
/powerpc
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
882 _multiboot_mod-loader_multiboot2.o
: loader
/multiboot2.c
883 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
884 -include _multiboot_mod-loader_multiboot2.d
886 CLEANFILES
+= cmd-_multiboot_mod-loader_multiboot2.lst fs-_multiboot_mod-loader_multiboot2.lst
887 COMMANDFILES
+= cmd-_multiboot_mod-loader_multiboot2.lst
888 FSFILES
+= fs-_multiboot_mod-loader_multiboot2.lst
890 cmd-_multiboot_mod-loader_multiboot2.lst
: loader
/multiboot2.c gencmdlist.sh
891 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)
893 fs-_multiboot_mod-loader_multiboot2.lst
: loader
/multiboot2.c genfslist.sh
894 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)
897 _multiboot_mod-loader_multiboot_loader.o
: loader
/multiboot_loader.c
898 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(_multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
899 -include _multiboot_mod-loader_multiboot_loader.d
901 CLEANFILES
+= cmd-_multiboot_mod-loader_multiboot_loader.lst fs-_multiboot_mod-loader_multiboot_loader.lst
902 COMMANDFILES
+= cmd-_multiboot_mod-loader_multiboot_loader.lst
903 FSFILES
+= fs-_multiboot_mod-loader_multiboot_loader.lst
905 cmd-_multiboot_mod-loader_multiboot_loader.lst
: loader
/multiboot_loader.c gencmdlist.sh
906 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)
908 fs-_multiboot_mod-loader_multiboot_loader.lst
: loader
/multiboot_loader.c genfslist.sh
909 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)
912 _multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
913 _multiboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
916 multiboot_mod_SOURCES
= loader
/multiboot_loader_normal.c
917 CLEANFILES
+= multiboot.mod mod-multiboot.o mod-multiboot.c pre-multiboot.o multiboot_mod-loader_multiboot_loader_normal.o und-multiboot.lst
918 ifneq ($(multiboot_mod_EXPORTS
),no
)
919 CLEANFILES
+= def-multiboot.lst
920 DEFSYMFILES
+= def-multiboot.lst
922 MOSTLYCLEANFILES
+= multiboot_mod-loader_multiboot_loader_normal.d
923 UNDSYMFILES
+= und-multiboot.lst
925 multiboot.mod
: pre-multiboot.o mod-multiboot.o
927 $(TARGET_CC
) $(multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
928 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
930 pre-multiboot.o
: $(multiboot_mod_DEPENDENCIES
) multiboot_mod-loader_multiboot_loader_normal.o
932 $(TARGET_CC
) $(multiboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ multiboot_mod-loader_multiboot_loader_normal.o
934 mod-multiboot.o
: mod-multiboot.c
935 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -c
-o
$@
$<
937 mod-multiboot.c
: moddep.lst genmodsrc.sh
938 sh
$(srcdir)/genmodsrc.sh
'multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
940 ifneq ($(multiboot_mod_EXPORTS
),no
)
941 def-multiboot.lst
: pre-multiboot.o
942 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 multiboot/' > $@
945 und-multiboot.lst
: pre-multiboot.o
946 echo
'multiboot' > $@
947 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
949 multiboot_mod-loader_multiboot_loader_normal.o
: loader
/multiboot_loader_normal.c
950 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(multiboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
951 -include multiboot_mod-loader_multiboot_loader_normal.d
953 CLEANFILES
+= cmd-multiboot_mod-loader_multiboot_loader_normal.lst fs-multiboot_mod-loader_multiboot_loader_normal.lst
954 COMMANDFILES
+= cmd-multiboot_mod-loader_multiboot_loader_normal.lst
955 FSFILES
+= fs-multiboot_mod-loader_multiboot_loader_normal.lst
957 cmd-multiboot_mod-loader_multiboot_loader_normal.lst
: loader
/multiboot_loader_normal.c gencmdlist.sh
958 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)
960 fs-multiboot_mod-loader_multiboot_loader_normal.lst
: loader
/multiboot_loader_normal.c genfslist.sh
961 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)
964 multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
965 multiboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
968 suspend_mod_SOURCES
= commands
/ieee1275
/suspend.c
969 CLEANFILES
+= suspend.mod mod-suspend.o mod-suspend.c pre-suspend.o suspend_mod-commands_ieee1275_suspend.o und-suspend.lst
970 ifneq ($(suspend_mod_EXPORTS
),no
)
971 CLEANFILES
+= def-suspend.lst
972 DEFSYMFILES
+= def-suspend.lst
974 MOSTLYCLEANFILES
+= suspend_mod-commands_ieee1275_suspend.d
975 UNDSYMFILES
+= und-suspend.lst
977 suspend.mod
: pre-suspend.o mod-suspend.o
979 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
980 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
982 pre-suspend.o
: $(suspend_mod_DEPENDENCIES
) suspend_mod-commands_ieee1275_suspend.o
984 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ suspend_mod-commands_ieee1275_suspend.o
986 mod-suspend.o
: mod-suspend.c
987 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -c
-o
$@
$<
989 mod-suspend.c
: moddep.lst genmodsrc.sh
990 sh
$(srcdir)/genmodsrc.sh
'suspend' $< > $@ ||
(rm -f
$@
; exit
1)
992 ifneq ($(suspend_mod_EXPORTS
),no
)
993 def-suspend.lst
: pre-suspend.o
994 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 suspend/' > $@
997 und-suspend.lst
: pre-suspend.o
999 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1001 suspend_mod-commands_ieee1275_suspend.o
: commands
/ieee1275
/suspend.c
1002 $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -MD
-c
-o
$@
$<
1003 -include suspend_mod-commands_ieee1275_suspend.d
1005 CLEANFILES
+= cmd-suspend_mod-commands_ieee1275_suspend.lst fs-suspend_mod-commands_ieee1275_suspend.lst
1006 COMMANDFILES
+= cmd-suspend_mod-commands_ieee1275_suspend.lst
1007 FSFILES
+= fs-suspend_mod-commands_ieee1275_suspend.lst
1009 cmd-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c gencmdlist.sh
1010 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
1012 fs-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c genfslist.sh
1013 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
1016 suspend_mod_CFLAGS
= $(COMMON_CFLAGS
)
1017 suspend_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1020 reboot_mod_SOURCES
= commands
/ieee1275
/reboot.c
1021 CLEANFILES
+= reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-commands_ieee1275_reboot.o und-reboot.lst
1022 ifneq ($(reboot_mod_EXPORTS
),no
)
1023 CLEANFILES
+= def-reboot.lst
1024 DEFSYMFILES
+= def-reboot.lst
1026 MOSTLYCLEANFILES
+= reboot_mod-commands_ieee1275_reboot.d
1027 UNDSYMFILES
+= und-reboot.lst
1029 reboot.mod
: pre-reboot.o mod-reboot.o
1031 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
1032 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1034 pre-reboot.o
: $(reboot_mod_DEPENDENCIES
) reboot_mod-commands_ieee1275_reboot.o
1036 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ reboot_mod-commands_ieee1275_reboot.o
1038 mod-reboot.o
: mod-reboot.c
1039 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
1041 mod-reboot.c
: moddep.lst genmodsrc.sh
1042 sh
$(srcdir)/genmodsrc.sh
'reboot' $< > $@ ||
(rm -f
$@
; exit
1)
1044 ifneq ($(reboot_mod_EXPORTS
),no
)
1045 def-reboot.lst
: pre-reboot.o
1046 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
1049 und-reboot.lst
: pre-reboot.o
1051 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1053 reboot_mod-commands_ieee1275_reboot.o
: commands
/ieee1275
/reboot.c
1054 $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1055 -include reboot_mod-commands_ieee1275_reboot.d
1057 CLEANFILES
+= cmd-reboot_mod-commands_ieee1275_reboot.lst fs-reboot_mod-commands_ieee1275_reboot.lst
1058 COMMANDFILES
+= cmd-reboot_mod-commands_ieee1275_reboot.lst
1059 FSFILES
+= fs-reboot_mod-commands_ieee1275_reboot.lst
1061 cmd-reboot_mod-commands_ieee1275_reboot.lst
: commands
/ieee1275
/reboot.c gencmdlist.sh
1062 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1064 fs-reboot_mod-commands_ieee1275_reboot.lst
: commands
/ieee1275
/reboot.c genfslist.sh
1065 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
1068 reboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1069 reboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1072 halt_mod_SOURCES
= commands
/ieee1275
/halt.c
1073 CLEANFILES
+= halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_ieee1275_halt.o und-halt.lst
1074 ifneq ($(halt_mod_EXPORTS
),no
)
1075 CLEANFILES
+= def-halt.lst
1076 DEFSYMFILES
+= def-halt.lst
1078 MOSTLYCLEANFILES
+= halt_mod-commands_ieee1275_halt.d
1079 UNDSYMFILES
+= und-halt.lst
1081 halt.mod
: pre-halt.o mod-halt.o
1083 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
1084 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1086 pre-halt.o
: $(halt_mod_DEPENDENCIES
) halt_mod-commands_ieee1275_halt.o
1088 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ halt_mod-commands_ieee1275_halt.o
1090 mod-halt.o
: mod-halt.c
1091 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
1093 mod-halt.c
: moddep.lst genmodsrc.sh
1094 sh
$(srcdir)/genmodsrc.sh
'halt' $< > $@ ||
(rm -f
$@
; exit
1)
1096 ifneq ($(halt_mod_EXPORTS
),no
)
1097 def-halt.lst
: pre-halt.o
1098 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 halt/' > $@
1101 und-halt.lst
: pre-halt.o
1103 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1105 halt_mod-commands_ieee1275_halt.o
: commands
/ieee1275
/halt.c
1106 $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -MD
-c
-o
$@
$<
1107 -include halt_mod-commands_ieee1275_halt.d
1109 CLEANFILES
+= cmd-halt_mod-commands_ieee1275_halt.lst fs-halt_mod-commands_ieee1275_halt.lst
1110 COMMANDFILES
+= cmd-halt_mod-commands_ieee1275_halt.lst
1111 FSFILES
+= fs-halt_mod-commands_ieee1275_halt.lst
1113 cmd-halt_mod-commands_ieee1275_halt.lst
: commands
/ieee1275
/halt.c gencmdlist.sh
1114 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1116 fs-halt_mod-commands_ieee1275_halt.lst
: commands
/ieee1275
/halt.c genfslist.sh
1117 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
1120 halt_mod_CFLAGS
= $(COMMON_CFLAGS
)
1121 halt_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1124 cpuid_mod_SOURCES
= commands
/i386
/cpuid.c
1125 CLEANFILES
+= cpuid.mod mod-cpuid.o mod-cpuid.c pre-cpuid.o cpuid_mod-commands_i386_cpuid.o und-cpuid.lst
1126 ifneq ($(cpuid_mod_EXPORTS
),no
)
1127 CLEANFILES
+= def-cpuid.lst
1128 DEFSYMFILES
+= def-cpuid.lst
1130 MOSTLYCLEANFILES
+= cpuid_mod-commands_i386_cpuid.d
1131 UNDSYMFILES
+= und-cpuid.lst
1133 cpuid.mod
: pre-cpuid.o mod-cpuid.o
1135 $(TARGET_CC
) $(cpuid_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
1136 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1138 pre-cpuid.o
: $(cpuid_mod_DEPENDENCIES
) cpuid_mod-commands_i386_cpuid.o
1140 $(TARGET_CC
) $(cpuid_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ cpuid_mod-commands_i386_cpuid.o
1142 mod-cpuid.o
: mod-cpuid.c
1143 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -c
-o
$@
$<
1145 mod-cpuid.c
: moddep.lst genmodsrc.sh
1146 sh
$(srcdir)/genmodsrc.sh
'cpuid' $< > $@ ||
(rm -f
$@
; exit
1)
1148 ifneq ($(cpuid_mod_EXPORTS
),no
)
1149 def-cpuid.lst
: pre-cpuid.o
1150 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cpuid/' > $@
1153 und-cpuid.lst
: pre-cpuid.o
1155 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1157 cpuid_mod-commands_i386_cpuid.o
: commands
/i386
/cpuid.c
1158 $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -MD
-c
-o
$@
$<
1159 -include cpuid_mod-commands_i386_cpuid.d
1161 CLEANFILES
+= cmd-cpuid_mod-commands_i386_cpuid.lst fs-cpuid_mod-commands_i386_cpuid.lst
1162 COMMANDFILES
+= cmd-cpuid_mod-commands_i386_cpuid.lst
1163 FSFILES
+= fs-cpuid_mod-commands_i386_cpuid.lst
1165 cmd-cpuid_mod-commands_i386_cpuid.lst
: commands
/i386
/cpuid.c gencmdlist.sh
1166 set
-e
; $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cpuid
> $@ ||
(rm -f
$@
; exit
1)
1168 fs-cpuid_mod-commands_i386_cpuid.lst
: commands
/i386
/cpuid.c genfslist.sh
1169 set
-e
; $(TARGET_CC
) -Icommands
/i386
-I
$(srcdir)/commands
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cpuid_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cpuid
> $@ ||
(rm -f
$@
; exit
1)
1172 cpuid_mod_CFLAGS
= $(COMMON_CFLAGS
)
1173 cpuid_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1176 serial_mod_SOURCES
= term
/i386
/pc/serial.c
1177 CLEANFILES
+= serial.mod mod-serial.o mod-serial.c pre-serial.o serial_mod-term_i386_pc_serial.o und-serial.lst
1178 ifneq ($(serial_mod_EXPORTS
),no
)
1179 CLEANFILES
+= def-serial.lst
1180 DEFSYMFILES
+= def-serial.lst
1182 MOSTLYCLEANFILES
+= serial_mod-term_i386_pc_serial.d
1183 UNDSYMFILES
+= und-serial.lst
1185 serial.mod
: pre-serial.o mod-serial.o
1187 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
1188 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1190 pre-serial.o
: $(serial_mod_DEPENDENCIES
) serial_mod-term_i386_pc_serial.o
1192 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ serial_mod-term_i386_pc_serial.o
1194 mod-serial.o
: mod-serial.c
1195 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -c
-o
$@
$<
1197 mod-serial.c
: moddep.lst genmodsrc.sh
1198 sh
$(srcdir)/genmodsrc.sh
'serial' $< > $@ ||
(rm -f
$@
; exit
1)
1200 ifneq ($(serial_mod_EXPORTS
),no
)
1201 def-serial.lst
: pre-serial.o
1202 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 serial/' > $@
1205 und-serial.lst
: pre-serial.o
1207 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1209 serial_mod-term_i386_pc_serial.o
: term
/i386
/pc/serial.c
1210 $(TARGET_CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -MD
-c
-o
$@
$<
1211 -include serial_mod-term_i386_pc_serial.d
1213 CLEANFILES
+= cmd-serial_mod-term_i386_pc_serial.lst fs-serial_mod-term_i386_pc_serial.lst
1214 COMMANDFILES
+= cmd-serial_mod-term_i386_pc_serial.lst
1215 FSFILES
+= fs-serial_mod-term_i386_pc_serial.lst
1217 cmd-serial_mod-term_i386_pc_serial.lst
: term
/i386
/pc/serial.c gencmdlist.sh
1218 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)
1220 fs-serial_mod-term_i386_pc_serial.lst
: term
/i386
/pc/serial.c genfslist.sh
1221 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)
1224 serial_mod_CFLAGS
= $(COMMON_CFLAGS
)
1225 serial_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1227 include $(srcdir)/conf
/common.mk