2 # Generated by genmk.rb, please don't edit!
5 COMMON_ASFLAGS
= -nostdinc
6 COMMON_CFLAGS
= -ggdb
-ffreestanding
-m64
-mno-app-regs
7 COMMON_LDFLAGS
= -melf64_sparc
-nostdlib
9 # Used by various components. These rules need to precede them.
10 normal
/lexer.c_DEPENDENCIES
= grub_script.tab.h
14 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
15 DEFSYMFILES
+= kernel_syms.lst
17 kernel_elf_HEADERS
= arg.h boot.h cache.h device.h disk.h dl.h elf.h elfload.h \
18 env.h err.h file.h fs.h kernel.h misc.h mm.h net.h parser.h rescue.h \
19 symbol.h term.h time.h types.h sparc64
/libgcc.h loader.h partition.h \
20 pc_partition.h ieee1275
/ieee1275.h machine
/kernel.h
22 symlist.c
: $(addprefix include/grub
/,$(kernel_elf_HEADERS
)) config.h gensymlist.sh
23 /bin
/sh gensymlist.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
26 grub_script.tab.c grub_script.tab.h
: normal
/parser.y
27 $(YACC
) -d
-p grub_script_yy
-b grub_script
$(srcdir)/normal
/parser.y
29 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_elf_HEADERS
)) config.h genkernsyms.sh
30 /bin
/sh genkernsyms.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
33 pkglib_PROGRAMS
= kernel.elf
36 #bin_UTILITIES = grub-mkimage
37 #ifeq ($(enable_grub_emu), yes)
38 #bin_UTILITIES += grub-emu
42 grub_mkimage_SOURCES
= util
/sparc64
/ieee1275
/grub-mkimage.c util
/misc.c \
46 #grub_emu_SOURCES = commands/boot.c commands/cat.c commands/cmp.c \
47 # commands/configfile.c commands/default.c commands/help.c \
48 # commands/search.c commands/terminal.c commands/ls.c \
49 # commands/timeout.c commands/test.c \
50 # commands/halt.c commands/reboot.c \
52 # fs/affs.c fs/fat.c fs/ext2.c fs/fshelp.c fs/hfs.c fs/iso9660.c \
53 # fs/jfs.c fs/minix.c fs/sfs.c fs/ufs.c fs/xfs.c \
56 # kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c \
57 # kern/file.c kern/fs.c kern/loader.c kern/main.c kern/misc.c \
58 # kern/parser.c kern/partition.c kern/rescue.c kern/term.c \
59 # kern/list.c kern/handler.c \
60 # normal/arg.c normal/cmdline.c normal/command.c normal/datetime.c \
61 # normal/completion.c normal/context.c normal/execute.c \
62 # normal/function.c normal/lexer.c \
63 # normal/main.c normal/menu.c normal/menu_entry.c \
64 # normal/menu_text.c \
65 # normal/menu_viewer.c normal/misc.c \
66 # partmap/amiga.c partmap/apple.c partmap/pc.c partmap/sun.c \
68 # util/console.c util/grub-emu.c util/misc.c \
69 # util/hostdisk.c util/getroot.c \
70 # commands/parttool.c parttool/pcpart.c \
71 # util/sparc64/ieee1275/misc.c
73 grub_emu_LDFLAGS
= $(LIBCURSES
)
75 kernel_elf_SOURCES
= kern
/sparc64
/ieee1275
/init.c kern
/ieee1275
/ieee1275.c \
76 kern
/main.c kern
/device.c kern
/disk.c kern
/dl.c kern
/file.c \
77 kern
/fs.c kern
/err.c kern
/misc.c kern
/mm.c kern
/loader.c \
78 kern
/rescue.c kern
/term.c term
/ieee1275
/ofconsole.c \
79 kern
/sparc64
/ieee1275
/openfw.c disk
/ieee1275
/ofdisk.c \
80 kern
/partition.c kern
/env.c kern
/sparc64
/dl.c symlist.c \
81 kern
/generic
/millisleep.c kern
/generic
/get_time_ms.c \
82 kern
/sparc64
/cache.S kern
/parser.c
83 CLEANFILES
+= kernel.elf kernel_elf-kern_sparc64_ieee1275_init.o kernel_elf-kern_ieee1275_ieee1275.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-term_ieee1275_ofconsole.o kernel_elf-kern_sparc64_ieee1275_openfw.o kernel_elf-disk_ieee1275_ofdisk.o kernel_elf-kern_partition.o kernel_elf-kern_env.o kernel_elf-kern_sparc64_dl.o kernel_elf-symlist.o kernel_elf-kern_generic_millisleep.o kernel_elf-kern_generic_get_time_ms.o kernel_elf-kern_sparc64_cache.o kernel_elf-kern_parser.o
84 MOSTLYCLEANFILES
+= kernel_elf-kern_sparc64_ieee1275_init.d kernel_elf-kern_ieee1275_ieee1275.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-term_ieee1275_ofconsole.d kernel_elf-kern_sparc64_ieee1275_openfw.d kernel_elf-disk_ieee1275_ofdisk.d kernel_elf-kern_partition.d kernel_elf-kern_env.d kernel_elf-kern_sparc64_dl.d kernel_elf-symlist.d kernel_elf-kern_generic_millisleep.d kernel_elf-kern_generic_get_time_ms.d kernel_elf-kern_sparc64_cache.d kernel_elf-kern_parser.d
86 kernel.elf
: $(kernel_elf_DEPENDENCIES
) kernel_elf-kern_sparc64_ieee1275_init.o kernel_elf-kern_ieee1275_ieee1275.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-term_ieee1275_ofconsole.o kernel_elf-kern_sparc64_ieee1275_openfw.o kernel_elf-disk_ieee1275_ofdisk.o kernel_elf-kern_partition.o kernel_elf-kern_env.o kernel_elf-kern_sparc64_dl.o kernel_elf-symlist.o kernel_elf-kern_generic_millisleep.o kernel_elf-kern_generic_get_time_ms.o kernel_elf-kern_sparc64_cache.o kernel_elf-kern_parser.o
87 $(TARGET_CC
) -o
$@ kernel_elf-kern_sparc64_ieee1275_init.o kernel_elf-kern_ieee1275_ieee1275.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-term_ieee1275_ofconsole.o kernel_elf-kern_sparc64_ieee1275_openfw.o kernel_elf-disk_ieee1275_ofdisk.o kernel_elf-kern_partition.o kernel_elf-kern_env.o kernel_elf-kern_sparc64_dl.o kernel_elf-symlist.o kernel_elf-kern_generic_millisleep.o kernel_elf-kern_generic_get_time_ms.o kernel_elf-kern_sparc64_cache.o kernel_elf-kern_parser.o
$(TARGET_LDFLAGS
) $(kernel_elf_LDFLAGS
)
89 kernel_elf-kern_sparc64_ieee1275_init.o
: kern
/sparc64
/ieee1275
/init.c
$(kern
/sparc64
/ieee1275
/init.c_DEPENDENCIES
)
90 $(TARGET_CC
) -Ikern
/sparc64
/ieee1275
-I
$(srcdir)/kern
/sparc64
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
91 -include kernel_elf-kern_sparc64_ieee1275_init.d
93 kernel_elf-kern_ieee1275_ieee1275.o
: kern
/ieee1275
/ieee1275.c
$(kern
/ieee1275
/ieee1275.c_DEPENDENCIES
)
94 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
95 -include kernel_elf-kern_ieee1275_ieee1275.d
97 kernel_elf-kern_main.o
: kern
/main.c
$(kern
/main.c_DEPENDENCIES
)
98 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
99 -include kernel_elf-kern_main.d
101 kernel_elf-kern_device.o
: kern
/device.c
$(kern
/device.c_DEPENDENCIES
)
102 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
103 -include kernel_elf-kern_device.d
105 kernel_elf-kern_disk.o
: kern
/disk.c
$(kern
/disk.c_DEPENDENCIES
)
106 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
107 -include kernel_elf-kern_disk.d
109 kernel_elf-kern_dl.o
: kern
/dl.c
$(kern
/dl.c_DEPENDENCIES
)
110 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
111 -include kernel_elf-kern_dl.d
113 kernel_elf-kern_file.o
: kern
/file.c
$(kern
/file.c_DEPENDENCIES
)
114 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
115 -include kernel_elf-kern_file.d
117 kernel_elf-kern_fs.o
: kern
/fs.c
$(kern
/fs.c_DEPENDENCIES
)
118 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
119 -include kernel_elf-kern_fs.d
121 kernel_elf-kern_err.o
: kern
/err.c
$(kern
/err.c_DEPENDENCIES
)
122 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
123 -include kernel_elf-kern_err.d
125 kernel_elf-kern_misc.o
: kern
/misc.c
$(kern
/misc.c_DEPENDENCIES
)
126 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
127 -include kernel_elf-kern_misc.d
129 kernel_elf-kern_mm.o
: kern
/mm.c
$(kern
/mm.c_DEPENDENCIES
)
130 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
131 -include kernel_elf-kern_mm.d
133 kernel_elf-kern_loader.o
: kern
/loader.c
$(kern
/loader.c_DEPENDENCIES
)
134 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
135 -include kernel_elf-kern_loader.d
137 kernel_elf-kern_rescue.o
: kern
/rescue.c
$(kern
/rescue.c_DEPENDENCIES
)
138 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
139 -include kernel_elf-kern_rescue.d
141 kernel_elf-kern_term.o
: kern
/term.c
$(kern
/term.c_DEPENDENCIES
)
142 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
143 -include kernel_elf-kern_term.d
145 kernel_elf-term_ieee1275_ofconsole.o
: term
/ieee1275
/ofconsole.c
$(term
/ieee1275
/ofconsole.c_DEPENDENCIES
)
146 $(TARGET_CC
) -Iterm
/ieee1275
-I
$(srcdir)/term
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
147 -include kernel_elf-term_ieee1275_ofconsole.d
149 kernel_elf-kern_sparc64_ieee1275_openfw.o
: kern
/sparc64
/ieee1275
/openfw.c
$(kern
/sparc64
/ieee1275
/openfw.c_DEPENDENCIES
)
150 $(TARGET_CC
) -Ikern
/sparc64
/ieee1275
-I
$(srcdir)/kern
/sparc64
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
151 -include kernel_elf-kern_sparc64_ieee1275_openfw.d
153 kernel_elf-disk_ieee1275_ofdisk.o
: disk
/ieee1275
/ofdisk.c
$(disk
/ieee1275
/ofdisk.c_DEPENDENCIES
)
154 $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
155 -include kernel_elf-disk_ieee1275_ofdisk.d
157 kernel_elf-kern_partition.o
: kern
/partition.c
$(kern
/partition.c_DEPENDENCIES
)
158 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
159 -include kernel_elf-kern_partition.d
161 kernel_elf-kern_env.o
: kern
/env.c
$(kern
/env.c_DEPENDENCIES
)
162 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
163 -include kernel_elf-kern_env.d
165 kernel_elf-kern_sparc64_dl.o
: kern
/sparc64
/dl.c
$(kern
/sparc64
/dl.c_DEPENDENCIES
)
166 $(TARGET_CC
) -Ikern
/sparc64
-I
$(srcdir)/kern
/sparc64
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
167 -include kernel_elf-kern_sparc64_dl.d
169 kernel_elf-symlist.o
: symlist.c
$(symlist.c_DEPENDENCIES
)
170 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
171 -include kernel_elf-symlist.d
173 kernel_elf-kern_generic_millisleep.o
: kern
/generic
/millisleep.c
$(kern
/generic
/millisleep.c_DEPENDENCIES
)
174 $(TARGET_CC
) -Ikern
/generic
-I
$(srcdir)/kern
/generic
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
175 -include kernel_elf-kern_generic_millisleep.d
177 kernel_elf-kern_generic_get_time_ms.o
: kern
/generic
/get_time_ms.c
$(kern
/generic
/get_time_ms.c_DEPENDENCIES
)
178 $(TARGET_CC
) -Ikern
/generic
-I
$(srcdir)/kern
/generic
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
179 -include kernel_elf-kern_generic_get_time_ms.d
181 kernel_elf-kern_sparc64_cache.o
: kern
/sparc64
/cache.S
$(kern
/sparc64
/cache.S_DEPENDENCIES
)
182 $(TARGET_CC
) -Ikern
/sparc64
-I
$(srcdir)/kern
/sparc64
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
183 -include kernel_elf-kern_sparc64_cache.d
185 kernel_elf-kern_parser.o
: kern
/parser.c
$(kern
/parser.c_DEPENDENCIES
)
186 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_elf_CFLAGS
) -MD
-c
-o
$@
$<
187 -include kernel_elf-kern_parser.d
189 kernel_elf_HEADERS
= grub
/sparc64
/ieee1275
/ieee1275.h
190 kernel_elf_CFLAGS
= $(COMMON_CFLAGS
)
191 kernel_elf_ASFLAGS
= $(COMMON_ASFLAGS
)
192 kernel_elf_LDFLAGS
= -mno-app-regs
-nostdlib
-Wl
,-N
,-Ttext
,0x200000,-Bstatic
,-melf64_sparc
-static-libgcc
-lgcc
195 #_linux.mod linux.mod
196 pkglib_MODULES
= fat.mod ufs.mod ext2.mod minix.mod \
197 hfs.mod jfs.mod normal.mod hello.mod font.mod ls.mod \
198 boot.mod cmp.mod cat.mod terminal.mod fshelp.mod amiga.mod apple.mod \
199 pc.mod suspend.mod loopback.mod help.mod reboot.mod halt.mod sun.mod \
200 configfile.mod search.mod gzio.mod xfs.mod \
201 affs.mod sfs.mod acorn.mod
204 fshelp_mod_SOURCES
= fs
/fshelp.c
205 CLEANFILES
+= fshelp.mod mod-fshelp.o mod-fshelp.c pre-fshelp.o fshelp_mod-fs_fshelp.o und-fshelp.lst
206 ifneq ($(fshelp_mod_EXPORTS
),no
)
207 CLEANFILES
+= def-fshelp.lst
208 DEFSYMFILES
+= def-fshelp.lst
210 MOSTLYCLEANFILES
+= fshelp_mod-fs_fshelp.d
211 UNDSYMFILES
+= und-fshelp.lst
213 fshelp.mod
: pre-fshelp.o mod-fshelp.o
$(TARGET_OBJ2ELF
)
215 $(TARGET_CC
) $(fshelp_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-fshelp.o mod-fshelp.o
216 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
217 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
219 pre-fshelp.o
: $(fshelp_mod_DEPENDENCIES
) fshelp_mod-fs_fshelp.o
221 $(TARGET_CC
) $(fshelp_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ fshelp_mod-fs_fshelp.o
223 mod-fshelp.o
: mod-fshelp.c
224 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
226 mod-fshelp.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
227 sh
$(srcdir)/genmodsrc.sh
'fshelp' $< > $@ ||
(rm -f
$@
; exit
1)
229 ifneq ($(fshelp_mod_EXPORTS
),no
)
230 def-fshelp.lst
: pre-fshelp.o
231 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fshelp/' > $@
234 und-fshelp.lst
: pre-fshelp.o
236 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
238 fshelp_mod-fs_fshelp.o
: fs
/fshelp.c
$(fs
/fshelp.c_DEPENDENCIES
)
239 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fshelp_mod_CFLAGS
) -MD
-c
-o
$@
$<
240 -include fshelp_mod-fs_fshelp.d
242 CLEANFILES
+= cmd-fshelp_mod-fs_fshelp.lst fs-fshelp_mod-fs_fshelp.lst partmap-fshelp_mod-fs_fshelp.lst
243 COMMANDFILES
+= cmd-fshelp_mod-fs_fshelp.lst
244 FSFILES
+= fs-fshelp_mod-fs_fshelp.lst
245 PARTMAPFILES
+= partmap-fshelp_mod-fs_fshelp.lst
247 cmd-fshelp_mod-fs_fshelp.lst
: fs
/fshelp.c
$(fs
/fshelp.c_DEPENDENCIES
) gencmdlist.sh
248 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
250 fs-fshelp_mod-fs_fshelp.lst
: fs
/fshelp.c
$(fs
/fshelp.c_DEPENDENCIES
) genfslist.sh
251 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
253 partmap-fshelp_mod-fs_fshelp.lst
: fs
/fshelp.c
$(fs
/fshelp.c_DEPENDENCIES
) genpartmaplist.sh
254 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
257 fshelp_mod_CFLAGS
= $(COMMON_CFLAGS
)
258 fshelp_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
261 fat_mod_SOURCES
= fs
/fat.c
262 CLEANFILES
+= fat.mod mod-fat.o mod-fat.c pre-fat.o fat_mod-fs_fat.o und-fat.lst
263 ifneq ($(fat_mod_EXPORTS
),no
)
264 CLEANFILES
+= def-fat.lst
265 DEFSYMFILES
+= def-fat.lst
267 MOSTLYCLEANFILES
+= fat_mod-fs_fat.d
268 UNDSYMFILES
+= und-fat.lst
270 fat.mod
: pre-fat.o mod-fat.o
$(TARGET_OBJ2ELF
)
272 $(TARGET_CC
) $(fat_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-fat.o mod-fat.o
273 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
274 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
276 pre-fat.o
: $(fat_mod_DEPENDENCIES
) fat_mod-fs_fat.o
278 $(TARGET_CC
) $(fat_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ fat_mod-fs_fat.o
281 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
283 mod-fat.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
284 sh
$(srcdir)/genmodsrc.sh
'fat' $< > $@ ||
(rm -f
$@
; exit
1)
286 ifneq ($(fat_mod_EXPORTS
),no
)
287 def-fat.lst
: pre-fat.o
288 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fat/' > $@
291 und-fat.lst
: pre-fat.o
293 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
295 fat_mod-fs_fat.o
: fs
/fat.c
$(fs
/fat.c_DEPENDENCIES
)
296 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fat_mod_CFLAGS
) -MD
-c
-o
$@
$<
297 -include fat_mod-fs_fat.d
299 CLEANFILES
+= cmd-fat_mod-fs_fat.lst fs-fat_mod-fs_fat.lst partmap-fat_mod-fs_fat.lst
300 COMMANDFILES
+= cmd-fat_mod-fs_fat.lst
301 FSFILES
+= fs-fat_mod-fs_fat.lst
302 PARTMAPFILES
+= partmap-fat_mod-fs_fat.lst
304 cmd-fat_mod-fs_fat.lst
: fs
/fat.c
$(fs
/fat.c_DEPENDENCIES
) gencmdlist.sh
305 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
307 fs-fat_mod-fs_fat.lst
: fs
/fat.c
$(fs
/fat.c_DEPENDENCIES
) genfslist.sh
308 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
310 partmap-fat_mod-fs_fat.lst
: fs
/fat.c
$(fs
/fat.c_DEPENDENCIES
) genpartmaplist.sh
311 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
314 fat_mod_CFLAGS
= $(COMMON_CFLAGS
)
315 fat_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
318 ext2_mod_SOURCES
= fs
/ext2.c
319 CLEANFILES
+= ext2.mod mod-ext2.o mod-ext2.c pre-ext2.o ext2_mod-fs_ext2.o und-ext2.lst
320 ifneq ($(ext2_mod_EXPORTS
),no
)
321 CLEANFILES
+= def-ext2.lst
322 DEFSYMFILES
+= def-ext2.lst
324 MOSTLYCLEANFILES
+= ext2_mod-fs_ext2.d
325 UNDSYMFILES
+= und-ext2.lst
327 ext2.mod
: pre-ext2.o mod-ext2.o
$(TARGET_OBJ2ELF
)
329 $(TARGET_CC
) $(ext2_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-ext2.o mod-ext2.o
330 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
331 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
333 pre-ext2.o
: $(ext2_mod_DEPENDENCIES
) ext2_mod-fs_ext2.o
335 $(TARGET_CC
) $(ext2_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ ext2_mod-fs_ext2.o
337 mod-ext2.o
: mod-ext2.c
338 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
340 mod-ext2.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
341 sh
$(srcdir)/genmodsrc.sh
'ext2' $< > $@ ||
(rm -f
$@
; exit
1)
343 ifneq ($(ext2_mod_EXPORTS
),no
)
344 def-ext2.lst
: pre-ext2.o
345 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ext2/' > $@
348 und-ext2.lst
: pre-ext2.o
350 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
352 ext2_mod-fs_ext2.o
: fs
/ext2.c
$(fs
/ext2.c_DEPENDENCIES
)
353 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ext2_mod_CFLAGS
) -MD
-c
-o
$@
$<
354 -include ext2_mod-fs_ext2.d
356 CLEANFILES
+= cmd-ext2_mod-fs_ext2.lst fs-ext2_mod-fs_ext2.lst partmap-ext2_mod-fs_ext2.lst
357 COMMANDFILES
+= cmd-ext2_mod-fs_ext2.lst
358 FSFILES
+= fs-ext2_mod-fs_ext2.lst
359 PARTMAPFILES
+= partmap-ext2_mod-fs_ext2.lst
361 cmd-ext2_mod-fs_ext2.lst
: fs
/ext2.c
$(fs
/ext2.c_DEPENDENCIES
) gencmdlist.sh
362 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
364 fs-ext2_mod-fs_ext2.lst
: fs
/ext2.c
$(fs
/ext2.c_DEPENDENCIES
) genfslist.sh
365 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
367 partmap-ext2_mod-fs_ext2.lst
: fs
/ext2.c
$(fs
/ext2.c_DEPENDENCIES
) genpartmaplist.sh
368 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
371 ext2_mod_CFLAGS
= $(COMMON_CFLAGS
)
372 ext2_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
375 ufs_mod_SOURCES
= fs
/ufs.c
376 CLEANFILES
+= ufs.mod mod-ufs.o mod-ufs.c pre-ufs.o ufs_mod-fs_ufs.o und-ufs.lst
377 ifneq ($(ufs_mod_EXPORTS
),no
)
378 CLEANFILES
+= def-ufs.lst
379 DEFSYMFILES
+= def-ufs.lst
381 MOSTLYCLEANFILES
+= ufs_mod-fs_ufs.d
382 UNDSYMFILES
+= und-ufs.lst
384 ufs.mod
: pre-ufs.o mod-ufs.o
$(TARGET_OBJ2ELF
)
386 $(TARGET_CC
) $(ufs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-ufs.o mod-ufs.o
387 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
388 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
390 pre-ufs.o
: $(ufs_mod_DEPENDENCIES
) ufs_mod-fs_ufs.o
392 $(TARGET_CC
) $(ufs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ ufs_mod-fs_ufs.o
395 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
397 mod-ufs.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
398 sh
$(srcdir)/genmodsrc.sh
'ufs' $< > $@ ||
(rm -f
$@
; exit
1)
400 ifneq ($(ufs_mod_EXPORTS
),no
)
401 def-ufs.lst
: pre-ufs.o
402 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ufs/' > $@
405 und-ufs.lst
: pre-ufs.o
407 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
409 ufs_mod-fs_ufs.o
: fs
/ufs.c
$(fs
/ufs.c_DEPENDENCIES
)
410 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ufs_mod_CFLAGS
) -MD
-c
-o
$@
$<
411 -include ufs_mod-fs_ufs.d
413 CLEANFILES
+= cmd-ufs_mod-fs_ufs.lst fs-ufs_mod-fs_ufs.lst partmap-ufs_mod-fs_ufs.lst
414 COMMANDFILES
+= cmd-ufs_mod-fs_ufs.lst
415 FSFILES
+= fs-ufs_mod-fs_ufs.lst
416 PARTMAPFILES
+= partmap-ufs_mod-fs_ufs.lst
418 cmd-ufs_mod-fs_ufs.lst
: fs
/ufs.c
$(fs
/ufs.c_DEPENDENCIES
) gencmdlist.sh
419 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
421 fs-ufs_mod-fs_ufs.lst
: fs
/ufs.c
$(fs
/ufs.c_DEPENDENCIES
) genfslist.sh
422 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
424 partmap-ufs_mod-fs_ufs.lst
: fs
/ufs.c
$(fs
/ufs.c_DEPENDENCIES
) genpartmaplist.sh
425 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
428 ufs_mod_CFLAGS
= $(COMMON_CFLAGS
)
429 ufs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
432 minix_mod_SOURCES
= fs
/minix.c
433 CLEANFILES
+= minix.mod mod-minix.o mod-minix.c pre-minix.o minix_mod-fs_minix.o und-minix.lst
434 ifneq ($(minix_mod_EXPORTS
),no
)
435 CLEANFILES
+= def-minix.lst
436 DEFSYMFILES
+= def-minix.lst
438 MOSTLYCLEANFILES
+= minix_mod-fs_minix.d
439 UNDSYMFILES
+= und-minix.lst
441 minix.mod
: pre-minix.o mod-minix.o
$(TARGET_OBJ2ELF
)
443 $(TARGET_CC
) $(minix_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-minix.o mod-minix.o
444 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
445 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
447 pre-minix.o
: $(minix_mod_DEPENDENCIES
) minix_mod-fs_minix.o
449 $(TARGET_CC
) $(minix_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ minix_mod-fs_minix.o
451 mod-minix.o
: mod-minix.c
452 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
454 mod-minix.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
455 sh
$(srcdir)/genmodsrc.sh
'minix' $< > $@ ||
(rm -f
$@
; exit
1)
457 ifneq ($(minix_mod_EXPORTS
),no
)
458 def-minix.lst
: pre-minix.o
459 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 minix/' > $@
462 und-minix.lst
: pre-minix.o
464 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
466 minix_mod-fs_minix.o
: fs
/minix.c
$(fs
/minix.c_DEPENDENCIES
)
467 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(minix_mod_CFLAGS
) -MD
-c
-o
$@
$<
468 -include minix_mod-fs_minix.d
470 CLEANFILES
+= cmd-minix_mod-fs_minix.lst fs-minix_mod-fs_minix.lst partmap-minix_mod-fs_minix.lst
471 COMMANDFILES
+= cmd-minix_mod-fs_minix.lst
472 FSFILES
+= fs-minix_mod-fs_minix.lst
473 PARTMAPFILES
+= partmap-minix_mod-fs_minix.lst
475 cmd-minix_mod-fs_minix.lst
: fs
/minix.c
$(fs
/minix.c_DEPENDENCIES
) gencmdlist.sh
476 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
478 fs-minix_mod-fs_minix.lst
: fs
/minix.c
$(fs
/minix.c_DEPENDENCIES
) genfslist.sh
479 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
481 partmap-minix_mod-fs_minix.lst
: fs
/minix.c
$(fs
/minix.c_DEPENDENCIES
) genpartmaplist.sh
482 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
485 minix_mod_CFLAGS
= $(COMMON_CFLAGS
)
486 minix_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
489 hfs_mod_SOURCES
= fs
/hfs.c
490 CLEANFILES
+= hfs.mod mod-hfs.o mod-hfs.c pre-hfs.o hfs_mod-fs_hfs.o und-hfs.lst
491 ifneq ($(hfs_mod_EXPORTS
),no
)
492 CLEANFILES
+= def-hfs.lst
493 DEFSYMFILES
+= def-hfs.lst
495 MOSTLYCLEANFILES
+= hfs_mod-fs_hfs.d
496 UNDSYMFILES
+= und-hfs.lst
498 hfs.mod
: pre-hfs.o mod-hfs.o
$(TARGET_OBJ2ELF
)
500 $(TARGET_CC
) $(hfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-hfs.o mod-hfs.o
501 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
502 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
504 pre-hfs.o
: $(hfs_mod_DEPENDENCIES
) hfs_mod-fs_hfs.o
506 $(TARGET_CC
) $(hfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ hfs_mod-fs_hfs.o
509 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
511 mod-hfs.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
512 sh
$(srcdir)/genmodsrc.sh
'hfs' $< > $@ ||
(rm -f
$@
; exit
1)
514 ifneq ($(hfs_mod_EXPORTS
),no
)
515 def-hfs.lst
: pre-hfs.o
516 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hfs/' > $@
519 und-hfs.lst
: pre-hfs.o
521 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
523 hfs_mod-fs_hfs.o
: fs
/hfs.c
$(fs
/hfs.c_DEPENDENCIES
)
524 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hfs_mod_CFLAGS
) -MD
-c
-o
$@
$<
525 -include hfs_mod-fs_hfs.d
527 CLEANFILES
+= cmd-hfs_mod-fs_hfs.lst fs-hfs_mod-fs_hfs.lst partmap-hfs_mod-fs_hfs.lst
528 COMMANDFILES
+= cmd-hfs_mod-fs_hfs.lst
529 FSFILES
+= fs-hfs_mod-fs_hfs.lst
530 PARTMAPFILES
+= partmap-hfs_mod-fs_hfs.lst
532 cmd-hfs_mod-fs_hfs.lst
: fs
/hfs.c
$(fs
/hfs.c_DEPENDENCIES
) gencmdlist.sh
533 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
535 fs-hfs_mod-fs_hfs.lst
: fs
/hfs.c
$(fs
/hfs.c_DEPENDENCIES
) genfslist.sh
536 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
538 partmap-hfs_mod-fs_hfs.lst
: fs
/hfs.c
$(fs
/hfs.c_DEPENDENCIES
) genpartmaplist.sh
539 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
542 hfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
543 hfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
546 jfs_mod_SOURCES
= fs
/jfs.c
547 CLEANFILES
+= jfs.mod mod-jfs.o mod-jfs.c pre-jfs.o jfs_mod-fs_jfs.o und-jfs.lst
548 ifneq ($(jfs_mod_EXPORTS
),no
)
549 CLEANFILES
+= def-jfs.lst
550 DEFSYMFILES
+= def-jfs.lst
552 MOSTLYCLEANFILES
+= jfs_mod-fs_jfs.d
553 UNDSYMFILES
+= und-jfs.lst
555 jfs.mod
: pre-jfs.o mod-jfs.o
$(TARGET_OBJ2ELF
)
557 $(TARGET_CC
) $(jfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-jfs.o mod-jfs.o
558 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
559 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
561 pre-jfs.o
: $(jfs_mod_DEPENDENCIES
) jfs_mod-fs_jfs.o
563 $(TARGET_CC
) $(jfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ jfs_mod-fs_jfs.o
566 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
568 mod-jfs.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
569 sh
$(srcdir)/genmodsrc.sh
'jfs' $< > $@ ||
(rm -f
$@
; exit
1)
571 ifneq ($(jfs_mod_EXPORTS
),no
)
572 def-jfs.lst
: pre-jfs.o
573 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 jfs/' > $@
576 und-jfs.lst
: pre-jfs.o
578 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
580 jfs_mod-fs_jfs.o
: fs
/jfs.c
$(fs
/jfs.c_DEPENDENCIES
)
581 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(jfs_mod_CFLAGS
) -MD
-c
-o
$@
$<
582 -include jfs_mod-fs_jfs.d
584 CLEANFILES
+= cmd-jfs_mod-fs_jfs.lst fs-jfs_mod-fs_jfs.lst partmap-jfs_mod-fs_jfs.lst
585 COMMANDFILES
+= cmd-jfs_mod-fs_jfs.lst
586 FSFILES
+= fs-jfs_mod-fs_jfs.lst
587 PARTMAPFILES
+= partmap-jfs_mod-fs_jfs.lst
589 cmd-jfs_mod-fs_jfs.lst
: fs
/jfs.c
$(fs
/jfs.c_DEPENDENCIES
) gencmdlist.sh
590 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
592 fs-jfs_mod-fs_jfs.lst
: fs
/jfs.c
$(fs
/jfs.c_DEPENDENCIES
) genfslist.sh
593 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
595 partmap-jfs_mod-fs_jfs.lst
: fs
/jfs.c
$(fs
/jfs.c_DEPENDENCIES
) genpartmaplist.sh
596 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
599 jfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
600 jfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
603 iso9660_mod_SOURCES
= fs
/iso9660.c
604 iso9660_mod_CFLAGS
= $(COMMON_CFLAGS
)
605 iso9660_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
608 xfs_mod_SOURCES
= fs
/xfs.c
609 CLEANFILES
+= xfs.mod mod-xfs.o mod-xfs.c pre-xfs.o xfs_mod-fs_xfs.o und-xfs.lst
610 ifneq ($(xfs_mod_EXPORTS
),no
)
611 CLEANFILES
+= def-xfs.lst
612 DEFSYMFILES
+= def-xfs.lst
614 MOSTLYCLEANFILES
+= xfs_mod-fs_xfs.d
615 UNDSYMFILES
+= und-xfs.lst
617 xfs.mod
: pre-xfs.o mod-xfs.o
$(TARGET_OBJ2ELF
)
619 $(TARGET_CC
) $(xfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-xfs.o mod-xfs.o
620 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
621 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
623 pre-xfs.o
: $(xfs_mod_DEPENDENCIES
) xfs_mod-fs_xfs.o
625 $(TARGET_CC
) $(xfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ xfs_mod-fs_xfs.o
628 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(xfs_mod_CFLAGS
) -c
-o
$@
$<
630 mod-xfs.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
631 sh
$(srcdir)/genmodsrc.sh
'xfs' $< > $@ ||
(rm -f
$@
; exit
1)
633 ifneq ($(xfs_mod_EXPORTS
),no
)
634 def-xfs.lst
: pre-xfs.o
635 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 xfs/' > $@
638 und-xfs.lst
: pre-xfs.o
640 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
642 xfs_mod-fs_xfs.o
: fs
/xfs.c
$(fs
/xfs.c_DEPENDENCIES
)
643 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(xfs_mod_CFLAGS
) -MD
-c
-o
$@
$<
644 -include xfs_mod-fs_xfs.d
646 CLEANFILES
+= cmd-xfs_mod-fs_xfs.lst fs-xfs_mod-fs_xfs.lst partmap-xfs_mod-fs_xfs.lst
647 COMMANDFILES
+= cmd-xfs_mod-fs_xfs.lst
648 FSFILES
+= fs-xfs_mod-fs_xfs.lst
649 PARTMAPFILES
+= partmap-xfs_mod-fs_xfs.lst
651 cmd-xfs_mod-fs_xfs.lst
: fs
/xfs.c
$(fs
/xfs.c_DEPENDENCIES
) gencmdlist.sh
652 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
654 fs-xfs_mod-fs_xfs.lst
: fs
/xfs.c
$(fs
/xfs.c_DEPENDENCIES
) genfslist.sh
655 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
657 partmap-xfs_mod-fs_xfs.lst
: fs
/xfs.c
$(fs
/xfs.c_DEPENDENCIES
) genpartmaplist.sh
658 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
661 xfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
662 xfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
665 affs_mod_SOURCES
= fs
/affs.c
666 CLEANFILES
+= affs.mod mod-affs.o mod-affs.c pre-affs.o affs_mod-fs_affs.o und-affs.lst
667 ifneq ($(affs_mod_EXPORTS
),no
)
668 CLEANFILES
+= def-affs.lst
669 DEFSYMFILES
+= def-affs.lst
671 MOSTLYCLEANFILES
+= affs_mod-fs_affs.d
672 UNDSYMFILES
+= und-affs.lst
674 affs.mod
: pre-affs.o mod-affs.o
$(TARGET_OBJ2ELF
)
676 $(TARGET_CC
) $(affs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-affs.o mod-affs.o
677 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
678 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
680 pre-affs.o
: $(affs_mod_DEPENDENCIES
) affs_mod-fs_affs.o
682 $(TARGET_CC
) $(affs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ affs_mod-fs_affs.o
684 mod-affs.o
: mod-affs.c
685 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(affs_mod_CFLAGS
) -c
-o
$@
$<
687 mod-affs.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
688 sh
$(srcdir)/genmodsrc.sh
'affs' $< > $@ ||
(rm -f
$@
; exit
1)
690 ifneq ($(affs_mod_EXPORTS
),no
)
691 def-affs.lst
: pre-affs.o
692 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 affs/' > $@
695 und-affs.lst
: pre-affs.o
697 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
699 affs_mod-fs_affs.o
: fs
/affs.c
$(fs
/affs.c_DEPENDENCIES
)
700 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(affs_mod_CFLAGS
) -MD
-c
-o
$@
$<
701 -include affs_mod-fs_affs.d
703 CLEANFILES
+= cmd-affs_mod-fs_affs.lst fs-affs_mod-fs_affs.lst partmap-affs_mod-fs_affs.lst
704 COMMANDFILES
+= cmd-affs_mod-fs_affs.lst
705 FSFILES
+= fs-affs_mod-fs_affs.lst
706 PARTMAPFILES
+= partmap-affs_mod-fs_affs.lst
708 cmd-affs_mod-fs_affs.lst
: fs
/affs.c
$(fs
/affs.c_DEPENDENCIES
) gencmdlist.sh
709 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
711 fs-affs_mod-fs_affs.lst
: fs
/affs.c
$(fs
/affs.c_DEPENDENCIES
) genfslist.sh
712 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
714 partmap-affs_mod-fs_affs.lst
: fs
/affs.c
$(fs
/affs.c_DEPENDENCIES
) genpartmaplist.sh
715 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
718 affs_mod_CFLAGS
= $(COMMON_CFLAGS
)
719 affs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
722 sfs_mod_SOURCES
= fs
/sfs.c
723 CLEANFILES
+= sfs.mod mod-sfs.o mod-sfs.c pre-sfs.o sfs_mod-fs_sfs.o und-sfs.lst
724 ifneq ($(sfs_mod_EXPORTS
),no
)
725 CLEANFILES
+= def-sfs.lst
726 DEFSYMFILES
+= def-sfs.lst
728 MOSTLYCLEANFILES
+= sfs_mod-fs_sfs.d
729 UNDSYMFILES
+= und-sfs.lst
731 sfs.mod
: pre-sfs.o mod-sfs.o
$(TARGET_OBJ2ELF
)
733 $(TARGET_CC
) $(sfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-sfs.o mod-sfs.o
734 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
735 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
737 pre-sfs.o
: $(sfs_mod_DEPENDENCIES
) sfs_mod-fs_sfs.o
739 $(TARGET_CC
) $(sfs_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ sfs_mod-fs_sfs.o
742 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sfs_mod_CFLAGS
) -c
-o
$@
$<
744 mod-sfs.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
745 sh
$(srcdir)/genmodsrc.sh
'sfs' $< > $@ ||
(rm -f
$@
; exit
1)
747 ifneq ($(sfs_mod_EXPORTS
),no
)
748 def-sfs.lst
: pre-sfs.o
749 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sfs/' > $@
752 und-sfs.lst
: pre-sfs.o
754 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
756 sfs_mod-fs_sfs.o
: fs
/sfs.c
$(fs
/sfs.c_DEPENDENCIES
)
757 $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sfs_mod_CFLAGS
) -MD
-c
-o
$@
$<
758 -include sfs_mod-fs_sfs.d
760 CLEANFILES
+= cmd-sfs_mod-fs_sfs.lst fs-sfs_mod-fs_sfs.lst partmap-sfs_mod-fs_sfs.lst
761 COMMANDFILES
+= cmd-sfs_mod-fs_sfs.lst
762 FSFILES
+= fs-sfs_mod-fs_sfs.lst
763 PARTMAPFILES
+= partmap-sfs_mod-fs_sfs.lst
765 cmd-sfs_mod-fs_sfs.lst
: fs
/sfs.c
$(fs
/sfs.c_DEPENDENCIES
) gencmdlist.sh
766 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
768 fs-sfs_mod-fs_sfs.lst
: fs
/sfs.c
$(fs
/sfs.c_DEPENDENCIES
) genfslist.sh
769 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
771 partmap-sfs_mod-fs_sfs.lst
: fs
/sfs.c
$(fs
/sfs.c_DEPENDENCIES
) genpartmaplist.sh
772 set
-e
; $(TARGET_CC
) -Ifs
-I
$(srcdir)/fs
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
775 sfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
776 sfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
779 #_linux_mod_SOURCES = loader/sparc64/ieee1275/linux.c
780 #_linux_mod_CFLAGS = $(COMMON_CFLAGS)
781 #_linux_mod_LDFLAGS = $(COMMON_LDFLAGS)
784 #linux_mod_SOURCES = loader/sparc64/ieee1275/linux_normal.c
785 #linux_mod_CFLAGS = $(COMMON_CFLAGS)
786 #linux_mod_LDFLAGS = $(COMMON_LDFLAGS)
789 # Only arch dependant part of normal.mod will be here. Common part for
790 # all architecures of normal.mod is at start and should be kept at sync
791 # with other makefiles.
793 # Please put arch dependant part of normal.mod at the end of list to
794 # keep it simpler to update to different architectures.
796 normal_mod_SOURCES
= normal
/arg.c normal
/cmdline.c normal
/command.c \
797 normal
/datetime.c normal
/completion.c normal
/execute.c \
798 normal
/function.c normal
/lexer.c normal
/main.c normal
/menu.c \
801 normal
/menu_viewer.c normal
/menu_entry.c \
802 normal
/misc.c grub_script.tab.c \
804 normal
/sparc64
/setjmp.S
805 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_datetime.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_text.o normal_mod-normal_color.o normal_mod-normal_menu_viewer.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_sparc64_setjmp.o und-normal.lst
806 ifneq ($(normal_mod_EXPORTS
),no
)
807 CLEANFILES
+= def-normal.lst
808 DEFSYMFILES
+= def-normal.lst
810 MOSTLYCLEANFILES
+= normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_datetime.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_text.d normal_mod-normal_color.d normal_mod-normal_menu_viewer.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_sparc64_setjmp.d
811 UNDSYMFILES
+= und-normal.lst
813 normal.mod
: pre-normal.o mod-normal.o
$(TARGET_OBJ2ELF
)
815 $(TARGET_CC
) $(normal_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-normal.o mod-normal.o
816 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
817 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
819 pre-normal.o
: $(normal_mod_DEPENDENCIES
) normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_datetime.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_text.o normal_mod-normal_color.o normal_mod-normal_menu_viewer.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_sparc64_setjmp.o
821 $(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_datetime.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_text.o normal_mod-normal_color.o normal_mod-normal_menu_viewer.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_sparc64_setjmp.o
823 mod-normal.o
: mod-normal.c
824 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
826 mod-normal.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
827 sh
$(srcdir)/genmodsrc.sh
'normal' $< > $@ ||
(rm -f
$@
; exit
1)
829 ifneq ($(normal_mod_EXPORTS
),no
)
830 def-normal.lst
: pre-normal.o
831 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 normal/' > $@
834 und-normal.lst
: pre-normal.o
836 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
838 normal_mod-normal_arg.o
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
)
839 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
840 -include normal_mod-normal_arg.d
842 CLEANFILES
+= cmd-normal_mod-normal_arg.lst fs-normal_mod-normal_arg.lst partmap-normal_mod-normal_arg.lst
843 COMMANDFILES
+= cmd-normal_mod-normal_arg.lst
844 FSFILES
+= fs-normal_mod-normal_arg.lst
845 PARTMAPFILES
+= partmap-normal_mod-normal_arg.lst
847 cmd-normal_mod-normal_arg.lst
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
) gencmdlist.sh
848 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)
850 fs-normal_mod-normal_arg.lst
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
) genfslist.sh
851 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)
853 partmap-normal_mod-normal_arg.lst
: normal
/arg.c
$(normal
/arg.c_DEPENDENCIES
) genpartmaplist.sh
854 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)
857 normal_mod-normal_cmdline.o
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
)
858 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
859 -include normal_mod-normal_cmdline.d
861 CLEANFILES
+= cmd-normal_mod-normal_cmdline.lst fs-normal_mod-normal_cmdline.lst partmap-normal_mod-normal_cmdline.lst
862 COMMANDFILES
+= cmd-normal_mod-normal_cmdline.lst
863 FSFILES
+= fs-normal_mod-normal_cmdline.lst
864 PARTMAPFILES
+= partmap-normal_mod-normal_cmdline.lst
866 cmd-normal_mod-normal_cmdline.lst
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
) gencmdlist.sh
867 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)
869 fs-normal_mod-normal_cmdline.lst
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
) genfslist.sh
870 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)
872 partmap-normal_mod-normal_cmdline.lst
: normal
/cmdline.c
$(normal
/cmdline.c_DEPENDENCIES
) genpartmaplist.sh
873 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)
876 normal_mod-normal_command.o
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
)
877 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
878 -include normal_mod-normal_command.d
880 CLEANFILES
+= cmd-normal_mod-normal_command.lst fs-normal_mod-normal_command.lst partmap-normal_mod-normal_command.lst
881 COMMANDFILES
+= cmd-normal_mod-normal_command.lst
882 FSFILES
+= fs-normal_mod-normal_command.lst
883 PARTMAPFILES
+= partmap-normal_mod-normal_command.lst
885 cmd-normal_mod-normal_command.lst
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
) gencmdlist.sh
886 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)
888 fs-normal_mod-normal_command.lst
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
) genfslist.sh
889 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)
891 partmap-normal_mod-normal_command.lst
: normal
/command.c
$(normal
/command.c_DEPENDENCIES
) genpartmaplist.sh
892 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)
895 normal_mod-normal_datetime.o
: normal
/datetime.c
$(normal
/datetime.c_DEPENDENCIES
)
896 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
897 -include normal_mod-normal_datetime.d
899 CLEANFILES
+= cmd-normal_mod-normal_datetime.lst fs-normal_mod-normal_datetime.lst partmap-normal_mod-normal_datetime.lst
900 COMMANDFILES
+= cmd-normal_mod-normal_datetime.lst
901 FSFILES
+= fs-normal_mod-normal_datetime.lst
902 PARTMAPFILES
+= partmap-normal_mod-normal_datetime.lst
904 cmd-normal_mod-normal_datetime.lst
: normal
/datetime.c
$(normal
/datetime.c_DEPENDENCIES
) gencmdlist.sh
905 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)
907 fs-normal_mod-normal_datetime.lst
: normal
/datetime.c
$(normal
/datetime.c_DEPENDENCIES
) genfslist.sh
908 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)
910 partmap-normal_mod-normal_datetime.lst
: normal
/datetime.c
$(normal
/datetime.c_DEPENDENCIES
) genpartmaplist.sh
911 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)
914 normal_mod-normal_completion.o
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
)
915 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
916 -include normal_mod-normal_completion.d
918 CLEANFILES
+= cmd-normal_mod-normal_completion.lst fs-normal_mod-normal_completion.lst partmap-normal_mod-normal_completion.lst
919 COMMANDFILES
+= cmd-normal_mod-normal_completion.lst
920 FSFILES
+= fs-normal_mod-normal_completion.lst
921 PARTMAPFILES
+= partmap-normal_mod-normal_completion.lst
923 cmd-normal_mod-normal_completion.lst
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
) gencmdlist.sh
924 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)
926 fs-normal_mod-normal_completion.lst
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
) genfslist.sh
927 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)
929 partmap-normal_mod-normal_completion.lst
: normal
/completion.c
$(normal
/completion.c_DEPENDENCIES
) genpartmaplist.sh
930 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)
933 normal_mod-normal_execute.o
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
)
934 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
935 -include normal_mod-normal_execute.d
937 CLEANFILES
+= cmd-normal_mod-normal_execute.lst fs-normal_mod-normal_execute.lst partmap-normal_mod-normal_execute.lst
938 COMMANDFILES
+= cmd-normal_mod-normal_execute.lst
939 FSFILES
+= fs-normal_mod-normal_execute.lst
940 PARTMAPFILES
+= partmap-normal_mod-normal_execute.lst
942 cmd-normal_mod-normal_execute.lst
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
) gencmdlist.sh
943 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)
945 fs-normal_mod-normal_execute.lst
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
) genfslist.sh
946 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)
948 partmap-normal_mod-normal_execute.lst
: normal
/execute.c
$(normal
/execute.c_DEPENDENCIES
) genpartmaplist.sh
949 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)
952 normal_mod-normal_function.o
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
)
953 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
954 -include normal_mod-normal_function.d
956 CLEANFILES
+= cmd-normal_mod-normal_function.lst fs-normal_mod-normal_function.lst partmap-normal_mod-normal_function.lst
957 COMMANDFILES
+= cmd-normal_mod-normal_function.lst
958 FSFILES
+= fs-normal_mod-normal_function.lst
959 PARTMAPFILES
+= partmap-normal_mod-normal_function.lst
961 cmd-normal_mod-normal_function.lst
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
) gencmdlist.sh
962 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)
964 fs-normal_mod-normal_function.lst
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
) genfslist.sh
965 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)
967 partmap-normal_mod-normal_function.lst
: normal
/function.c
$(normal
/function.c_DEPENDENCIES
) genpartmaplist.sh
968 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)
971 normal_mod-normal_lexer.o
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
)
972 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
973 -include normal_mod-normal_lexer.d
975 CLEANFILES
+= cmd-normal_mod-normal_lexer.lst fs-normal_mod-normal_lexer.lst partmap-normal_mod-normal_lexer.lst
976 COMMANDFILES
+= cmd-normal_mod-normal_lexer.lst
977 FSFILES
+= fs-normal_mod-normal_lexer.lst
978 PARTMAPFILES
+= partmap-normal_mod-normal_lexer.lst
980 cmd-normal_mod-normal_lexer.lst
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
) gencmdlist.sh
981 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)
983 fs-normal_mod-normal_lexer.lst
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
) genfslist.sh
984 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)
986 partmap-normal_mod-normal_lexer.lst
: normal
/lexer.c
$(normal
/lexer.c_DEPENDENCIES
) genpartmaplist.sh
987 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)
990 normal_mod-normal_main.o
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
)
991 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
992 -include normal_mod-normal_main.d
994 CLEANFILES
+= cmd-normal_mod-normal_main.lst fs-normal_mod-normal_main.lst partmap-normal_mod-normal_main.lst
995 COMMANDFILES
+= cmd-normal_mod-normal_main.lst
996 FSFILES
+= fs-normal_mod-normal_main.lst
997 PARTMAPFILES
+= partmap-normal_mod-normal_main.lst
999 cmd-normal_mod-normal_main.lst
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
) gencmdlist.sh
1000 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)
1002 fs-normal_mod-normal_main.lst
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
) genfslist.sh
1003 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)
1005 partmap-normal_mod-normal_main.lst
: normal
/main.c
$(normal
/main.c_DEPENDENCIES
) genpartmaplist.sh
1006 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)
1009 normal_mod-normal_menu.o
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
)
1010 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1011 -include normal_mod-normal_menu.d
1013 CLEANFILES
+= cmd-normal_mod-normal_menu.lst fs-normal_mod-normal_menu.lst partmap-normal_mod-normal_menu.lst
1014 COMMANDFILES
+= cmd-normal_mod-normal_menu.lst
1015 FSFILES
+= fs-normal_mod-normal_menu.lst
1016 PARTMAPFILES
+= partmap-normal_mod-normal_menu.lst
1018 cmd-normal_mod-normal_menu.lst
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
) gencmdlist.sh
1019 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)
1021 fs-normal_mod-normal_menu.lst
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
) genfslist.sh
1022 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)
1024 partmap-normal_mod-normal_menu.lst
: normal
/menu.c
$(normal
/menu.c_DEPENDENCIES
) genpartmaplist.sh
1025 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)
1028 normal_mod-normal_menu_text.o
: normal
/menu_text.c
$(normal
/menu_text.c_DEPENDENCIES
)
1029 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1030 -include normal_mod-normal_menu_text.d
1032 CLEANFILES
+= cmd-normal_mod-normal_menu_text.lst fs-normal_mod-normal_menu_text.lst partmap-normal_mod-normal_menu_text.lst
1033 COMMANDFILES
+= cmd-normal_mod-normal_menu_text.lst
1034 FSFILES
+= fs-normal_mod-normal_menu_text.lst
1035 PARTMAPFILES
+= partmap-normal_mod-normal_menu_text.lst
1037 cmd-normal_mod-normal_menu_text.lst
: normal
/menu_text.c
$(normal
/menu_text.c_DEPENDENCIES
) gencmdlist.sh
1038 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)
1040 fs-normal_mod-normal_menu_text.lst
: normal
/menu_text.c
$(normal
/menu_text.c_DEPENDENCIES
) genfslist.sh
1041 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)
1043 partmap-normal_mod-normal_menu_text.lst
: normal
/menu_text.c
$(normal
/menu_text.c_DEPENDENCIES
) genpartmaplist.sh
1044 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)
1047 normal_mod-normal_color.o
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
)
1048 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1049 -include normal_mod-normal_color.d
1051 CLEANFILES
+= cmd-normal_mod-normal_color.lst fs-normal_mod-normal_color.lst partmap-normal_mod-normal_color.lst
1052 COMMANDFILES
+= cmd-normal_mod-normal_color.lst
1053 FSFILES
+= fs-normal_mod-normal_color.lst
1054 PARTMAPFILES
+= partmap-normal_mod-normal_color.lst
1056 cmd-normal_mod-normal_color.lst
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
) gencmdlist.sh
1057 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)
1059 fs-normal_mod-normal_color.lst
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
) genfslist.sh
1060 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)
1062 partmap-normal_mod-normal_color.lst
: normal
/color.c
$(normal
/color.c_DEPENDENCIES
) genpartmaplist.sh
1063 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)
1066 normal_mod-normal_menu_viewer.o
: normal
/menu_viewer.c
$(normal
/menu_viewer.c_DEPENDENCIES
)
1067 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1068 -include normal_mod-normal_menu_viewer.d
1070 CLEANFILES
+= cmd-normal_mod-normal_menu_viewer.lst fs-normal_mod-normal_menu_viewer.lst partmap-normal_mod-normal_menu_viewer.lst
1071 COMMANDFILES
+= cmd-normal_mod-normal_menu_viewer.lst
1072 FSFILES
+= fs-normal_mod-normal_menu_viewer.lst
1073 PARTMAPFILES
+= partmap-normal_mod-normal_menu_viewer.lst
1075 cmd-normal_mod-normal_menu_viewer.lst
: normal
/menu_viewer.c
$(normal
/menu_viewer.c_DEPENDENCIES
) gencmdlist.sh
1076 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)
1078 fs-normal_mod-normal_menu_viewer.lst
: normal
/menu_viewer.c
$(normal
/menu_viewer.c_DEPENDENCIES
) genfslist.sh
1079 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)
1081 partmap-normal_mod-normal_menu_viewer.lst
: normal
/menu_viewer.c
$(normal
/menu_viewer.c_DEPENDENCIES
) genpartmaplist.sh
1082 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)
1085 normal_mod-normal_menu_entry.o
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
)
1086 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1087 -include normal_mod-normal_menu_entry.d
1089 CLEANFILES
+= cmd-normal_mod-normal_menu_entry.lst fs-normal_mod-normal_menu_entry.lst partmap-normal_mod-normal_menu_entry.lst
1090 COMMANDFILES
+= cmd-normal_mod-normal_menu_entry.lst
1091 FSFILES
+= fs-normal_mod-normal_menu_entry.lst
1092 PARTMAPFILES
+= partmap-normal_mod-normal_menu_entry.lst
1094 cmd-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
) gencmdlist.sh
1095 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)
1097 fs-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
) genfslist.sh
1098 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)
1100 partmap-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c
$(normal
/menu_entry.c_DEPENDENCIES
) genpartmaplist.sh
1101 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)
1104 normal_mod-normal_misc.o
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
)
1105 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1106 -include normal_mod-normal_misc.d
1108 CLEANFILES
+= cmd-normal_mod-normal_misc.lst fs-normal_mod-normal_misc.lst partmap-normal_mod-normal_misc.lst
1109 COMMANDFILES
+= cmd-normal_mod-normal_misc.lst
1110 FSFILES
+= fs-normal_mod-normal_misc.lst
1111 PARTMAPFILES
+= partmap-normal_mod-normal_misc.lst
1113 cmd-normal_mod-normal_misc.lst
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
) gencmdlist.sh
1114 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)
1116 fs-normal_mod-normal_misc.lst
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
) genfslist.sh
1117 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)
1119 partmap-normal_mod-normal_misc.lst
: normal
/misc.c
$(normal
/misc.c_DEPENDENCIES
) genpartmaplist.sh
1120 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)
1123 normal_mod-grub_script_tab.o
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
)
1124 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1125 -include normal_mod-grub_script_tab.d
1127 CLEANFILES
+= cmd-normal_mod-grub_script_tab.lst fs-normal_mod-grub_script_tab.lst partmap-normal_mod-grub_script_tab.lst
1128 COMMANDFILES
+= cmd-normal_mod-grub_script_tab.lst
1129 FSFILES
+= fs-normal_mod-grub_script_tab.lst
1130 PARTMAPFILES
+= partmap-normal_mod-grub_script_tab.lst
1132 cmd-normal_mod-grub_script_tab.lst
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
) gencmdlist.sh
1133 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1135 fs-normal_mod-grub_script_tab.lst
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
) genfslist.sh
1136 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1138 partmap-normal_mod-grub_script_tab.lst
: grub_script.tab.c
$(grub_script.tab.c_DEPENDENCIES
) genpartmaplist.sh
1139 set
-e
; $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1142 normal_mod-normal_script.o
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
)
1143 $(TARGET_CC
) -Inormal
-I
$(srcdir)/normal
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(normal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1144 -include normal_mod-normal_script.d
1146 CLEANFILES
+= cmd-normal_mod-normal_script.lst fs-normal_mod-normal_script.lst partmap-normal_mod-normal_script.lst
1147 COMMANDFILES
+= cmd-normal_mod-normal_script.lst
1148 FSFILES
+= fs-normal_mod-normal_script.lst
1149 PARTMAPFILES
+= partmap-normal_mod-normal_script.lst
1151 cmd-normal_mod-normal_script.lst
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
) gencmdlist.sh
1152 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)
1154 fs-normal_mod-normal_script.lst
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
) genfslist.sh
1155 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)
1157 partmap-normal_mod-normal_script.lst
: normal
/script.c
$(normal
/script.c_DEPENDENCIES
) genpartmaplist.sh
1158 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)
1161 normal_mod-normal_sparc64_setjmp.o
: normal
/sparc64
/setjmp.S
$(normal
/sparc64
/setjmp.S_DEPENDENCIES
)
1162 $(TARGET_CC
) -Inormal
/sparc64
-I
$(srcdir)/normal
/sparc64
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -MD
-c
-o
$@
$<
1163 -include normal_mod-normal_sparc64_setjmp.d
1165 CLEANFILES
+= cmd-normal_mod-normal_sparc64_setjmp.lst fs-normal_mod-normal_sparc64_setjmp.lst partmap-normal_mod-normal_sparc64_setjmp.lst
1166 COMMANDFILES
+= cmd-normal_mod-normal_sparc64_setjmp.lst
1167 FSFILES
+= fs-normal_mod-normal_sparc64_setjmp.lst
1168 PARTMAPFILES
+= partmap-normal_mod-normal_sparc64_setjmp.lst
1170 cmd-normal_mod-normal_sparc64_setjmp.lst
: normal
/sparc64
/setjmp.S
$(normal
/sparc64
/setjmp.S_DEPENDENCIES
) gencmdlist.sh
1171 set
-e
; $(TARGET_CC
) -Inormal
/sparc64
-I
$(srcdir)/normal
/sparc64
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1173 fs-normal_mod-normal_sparc64_setjmp.lst
: normal
/sparc64
/setjmp.S
$(normal
/sparc64
/setjmp.S_DEPENDENCIES
) genfslist.sh
1174 set
-e
; $(TARGET_CC
) -Inormal
/sparc64
-I
$(srcdir)/normal
/sparc64
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1176 partmap-normal_mod-normal_sparc64_setjmp.lst
: normal
/sparc64
/setjmp.S
$(normal
/sparc64
/setjmp.S_DEPENDENCIES
) genpartmaplist.sh
1177 set
-e
; $(TARGET_CC
) -Inormal
/sparc64
-I
$(srcdir)/normal
/sparc64
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
1180 normal_mod_CFLAGS
= $(COMMON_CFLAGS
)
1181 normal_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
1182 normal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1185 hello_mod_SOURCES
= hello
/hello.c
1186 CLEANFILES
+= hello.mod mod-hello.o mod-hello.c pre-hello.o hello_mod-hello_hello.o und-hello.lst
1187 ifneq ($(hello_mod_EXPORTS
),no
)
1188 CLEANFILES
+= def-hello.lst
1189 DEFSYMFILES
+= def-hello.lst
1191 MOSTLYCLEANFILES
+= hello_mod-hello_hello.d
1192 UNDSYMFILES
+= und-hello.lst
1194 hello.mod
: pre-hello.o mod-hello.o
$(TARGET_OBJ2ELF
)
1196 $(TARGET_CC
) $(hello_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-hello.o mod-hello.o
1197 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1198 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1200 pre-hello.o
: $(hello_mod_DEPENDENCIES
) hello_mod-hello_hello.o
1202 $(TARGET_CC
) $(hello_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ hello_mod-hello_hello.o
1204 mod-hello.o
: mod-hello.c
1205 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
1207 mod-hello.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1208 sh
$(srcdir)/genmodsrc.sh
'hello' $< > $@ ||
(rm -f
$@
; exit
1)
1210 ifneq ($(hello_mod_EXPORTS
),no
)
1211 def-hello.lst
: pre-hello.o
1212 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hello/' > $@
1215 und-hello.lst
: pre-hello.o
1217 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1219 hello_mod-hello_hello.o
: hello
/hello.c
$(hello
/hello.c_DEPENDENCIES
)
1220 $(TARGET_CC
) -Ihello
-I
$(srcdir)/hello
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hello_mod_CFLAGS
) -MD
-c
-o
$@
$<
1221 -include hello_mod-hello_hello.d
1223 CLEANFILES
+= cmd-hello_mod-hello_hello.lst fs-hello_mod-hello_hello.lst partmap-hello_mod-hello_hello.lst
1224 COMMANDFILES
+= cmd-hello_mod-hello_hello.lst
1225 FSFILES
+= fs-hello_mod-hello_hello.lst
1226 PARTMAPFILES
+= partmap-hello_mod-hello_hello.lst
1228 cmd-hello_mod-hello_hello.lst
: hello
/hello.c
$(hello
/hello.c_DEPENDENCIES
) gencmdlist.sh
1229 set
-e
; $(TARGET_CC
) -Ihello
-I
$(srcdir)/hello
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
1231 fs-hello_mod-hello_hello.lst
: hello
/hello.c
$(hello
/hello.c_DEPENDENCIES
) genfslist.sh
1232 set
-e
; $(TARGET_CC
) -Ihello
-I
$(srcdir)/hello
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
1234 partmap-hello_mod-hello_hello.lst
: hello
/hello.c
$(hello
/hello.c_DEPENDENCIES
) genpartmaplist.sh
1235 set
-e
; $(TARGET_CC
) -Ihello
-I
$(srcdir)/hello
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
1238 hello_mod_CFLAGS
= $(COMMON_CFLAGS
)
1239 hello_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1242 boot_mod_SOURCES
= commands
/boot.c
1243 CLEANFILES
+= boot.mod mod-boot.o mod-boot.c pre-boot.o boot_mod-commands_boot.o und-boot.lst
1244 ifneq ($(boot_mod_EXPORTS
),no
)
1245 CLEANFILES
+= def-boot.lst
1246 DEFSYMFILES
+= def-boot.lst
1248 MOSTLYCLEANFILES
+= boot_mod-commands_boot.d
1249 UNDSYMFILES
+= und-boot.lst
1251 boot.mod
: pre-boot.o mod-boot.o
$(TARGET_OBJ2ELF
)
1253 $(TARGET_CC
) $(boot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-boot.o mod-boot.o
1254 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1255 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1257 pre-boot.o
: $(boot_mod_DEPENDENCIES
) boot_mod-commands_boot.o
1259 $(TARGET_CC
) $(boot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ boot_mod-commands_boot.o
1261 mod-boot.o
: mod-boot.c
1262 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
1264 mod-boot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1265 sh
$(srcdir)/genmodsrc.sh
'boot' $< > $@ ||
(rm -f
$@
; exit
1)
1267 ifneq ($(boot_mod_EXPORTS
),no
)
1268 def-boot.lst
: pre-boot.o
1269 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 boot/' > $@
1272 und-boot.lst
: pre-boot.o
1274 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1276 boot_mod-commands_boot.o
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
)
1277 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -MD
-c
-o
$@
$<
1278 -include boot_mod-commands_boot.d
1280 CLEANFILES
+= cmd-boot_mod-commands_boot.lst fs-boot_mod-commands_boot.lst partmap-boot_mod-commands_boot.lst
1281 COMMANDFILES
+= cmd-boot_mod-commands_boot.lst
1282 FSFILES
+= fs-boot_mod-commands_boot.lst
1283 PARTMAPFILES
+= partmap-boot_mod-commands_boot.lst
1285 cmd-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) gencmdlist.sh
1286 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
1288 fs-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genfslist.sh
1289 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
1291 partmap-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genpartmaplist.sh
1292 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
1295 boot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1296 boot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1299 terminal_mod_SOURCES
= commands
/terminal.c
1300 CLEANFILES
+= terminal.mod mod-terminal.o mod-terminal.c pre-terminal.o terminal_mod-commands_terminal.o und-terminal.lst
1301 ifneq ($(terminal_mod_EXPORTS
),no
)
1302 CLEANFILES
+= def-terminal.lst
1303 DEFSYMFILES
+= def-terminal.lst
1305 MOSTLYCLEANFILES
+= terminal_mod-commands_terminal.d
1306 UNDSYMFILES
+= und-terminal.lst
1308 terminal.mod
: pre-terminal.o mod-terminal.o
$(TARGET_OBJ2ELF
)
1310 $(TARGET_CC
) $(terminal_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-terminal.o mod-terminal.o
1311 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1312 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1314 pre-terminal.o
: $(terminal_mod_DEPENDENCIES
) terminal_mod-commands_terminal.o
1316 $(TARGET_CC
) $(terminal_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ terminal_mod-commands_terminal.o
1318 mod-terminal.o
: mod-terminal.c
1319 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
1321 mod-terminal.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1322 sh
$(srcdir)/genmodsrc.sh
'terminal' $< > $@ ||
(rm -f
$@
; exit
1)
1324 ifneq ($(terminal_mod_EXPORTS
),no
)
1325 def-terminal.lst
: pre-terminal.o
1326 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 terminal/' > $@
1329 und-terminal.lst
: pre-terminal.o
1330 echo
'terminal' > $@
1331 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1333 terminal_mod-commands_terminal.o
: commands
/terminal.c
$(commands
/terminal.c_DEPENDENCIES
)
1334 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(terminal_mod_CFLAGS
) -MD
-c
-o
$@
$<
1335 -include terminal_mod-commands_terminal.d
1337 CLEANFILES
+= cmd-terminal_mod-commands_terminal.lst fs-terminal_mod-commands_terminal.lst partmap-terminal_mod-commands_terminal.lst
1338 COMMANDFILES
+= cmd-terminal_mod-commands_terminal.lst
1339 FSFILES
+= fs-terminal_mod-commands_terminal.lst
1340 PARTMAPFILES
+= partmap-terminal_mod-commands_terminal.lst
1342 cmd-terminal_mod-commands_terminal.lst
: commands
/terminal.c
$(commands
/terminal.c_DEPENDENCIES
) gencmdlist.sh
1343 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
1345 fs-terminal_mod-commands_terminal.lst
: commands
/terminal.c
$(commands
/terminal.c_DEPENDENCIES
) genfslist.sh
1346 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
1348 partmap-terminal_mod-commands_terminal.lst
: commands
/terminal.c
$(commands
/terminal.c_DEPENDENCIES
) genpartmaplist.sh
1349 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
1352 terminal_mod_CFLAGS
= $(COMMON_CFLAGS
)
1353 terminal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1356 ls_mod_SOURCES
= commands
/ls.c
1357 CLEANFILES
+= ls.mod mod-ls.o mod-ls.c pre-ls.o ls_mod-commands_ls.o und-ls.lst
1358 ifneq ($(ls_mod_EXPORTS
),no
)
1359 CLEANFILES
+= def-ls.lst
1360 DEFSYMFILES
+= def-ls.lst
1362 MOSTLYCLEANFILES
+= ls_mod-commands_ls.d
1363 UNDSYMFILES
+= und-ls.lst
1365 ls.mod
: pre-ls.o mod-ls.o
$(TARGET_OBJ2ELF
)
1367 $(TARGET_CC
) $(ls_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-ls.o mod-ls.o
1368 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1369 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1371 pre-ls.o
: $(ls_mod_DEPENDENCIES
) ls_mod-commands_ls.o
1373 $(TARGET_CC
) $(ls_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ ls_mod-commands_ls.o
1376 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
1378 mod-ls.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1379 sh
$(srcdir)/genmodsrc.sh
'ls' $< > $@ ||
(rm -f
$@
; exit
1)
1381 ifneq ($(ls_mod_EXPORTS
),no
)
1382 def-ls.lst
: pre-ls.o
1383 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ls/' > $@
1386 und-ls.lst
: pre-ls.o
1388 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1390 ls_mod-commands_ls.o
: commands
/ls.c
$(commands
/ls.c_DEPENDENCIES
)
1391 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ls_mod_CFLAGS
) -MD
-c
-o
$@
$<
1392 -include ls_mod-commands_ls.d
1394 CLEANFILES
+= cmd-ls_mod-commands_ls.lst fs-ls_mod-commands_ls.lst partmap-ls_mod-commands_ls.lst
1395 COMMANDFILES
+= cmd-ls_mod-commands_ls.lst
1396 FSFILES
+= fs-ls_mod-commands_ls.lst
1397 PARTMAPFILES
+= partmap-ls_mod-commands_ls.lst
1399 cmd-ls_mod-commands_ls.lst
: commands
/ls.c
$(commands
/ls.c_DEPENDENCIES
) gencmdlist.sh
1400 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
1402 fs-ls_mod-commands_ls.lst
: commands
/ls.c
$(commands
/ls.c_DEPENDENCIES
) genfslist.sh
1403 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
1405 partmap-ls_mod-commands_ls.lst
: commands
/ls.c
$(commands
/ls.c_DEPENDENCIES
) genpartmaplist.sh
1406 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
1409 ls_mod_CFLAGS
= $(COMMON_CFLAGS
)
1410 ls_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1413 cmp_mod_SOURCES
= commands
/cmp.c
1414 CLEANFILES
+= cmp.mod mod-cmp.o mod-cmp.c pre-cmp.o cmp_mod-commands_cmp.o und-cmp.lst
1415 ifneq ($(cmp_mod_EXPORTS
),no
)
1416 CLEANFILES
+= def-cmp.lst
1417 DEFSYMFILES
+= def-cmp.lst
1419 MOSTLYCLEANFILES
+= cmp_mod-commands_cmp.d
1420 UNDSYMFILES
+= und-cmp.lst
1422 cmp.mod
: pre-cmp.o mod-cmp.o
$(TARGET_OBJ2ELF
)
1424 $(TARGET_CC
) $(cmp_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-cmp.o mod-cmp.o
1425 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1426 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1428 pre-cmp.o
: $(cmp_mod_DEPENDENCIES
) cmp_mod-commands_cmp.o
1430 $(TARGET_CC
) $(cmp_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ cmp_mod-commands_cmp.o
1432 mod-cmp.o
: mod-cmp.c
1433 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
1435 mod-cmp.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1436 sh
$(srcdir)/genmodsrc.sh
'cmp' $< > $@ ||
(rm -f
$@
; exit
1)
1438 ifneq ($(cmp_mod_EXPORTS
),no
)
1439 def-cmp.lst
: pre-cmp.o
1440 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cmp/' > $@
1443 und-cmp.lst
: pre-cmp.o
1445 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1447 cmp_mod-commands_cmp.o
: commands
/cmp.c
$(commands
/cmp.c_DEPENDENCIES
)
1448 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cmp_mod_CFLAGS
) -MD
-c
-o
$@
$<
1449 -include cmp_mod-commands_cmp.d
1451 CLEANFILES
+= cmd-cmp_mod-commands_cmp.lst fs-cmp_mod-commands_cmp.lst partmap-cmp_mod-commands_cmp.lst
1452 COMMANDFILES
+= cmd-cmp_mod-commands_cmp.lst
1453 FSFILES
+= fs-cmp_mod-commands_cmp.lst
1454 PARTMAPFILES
+= partmap-cmp_mod-commands_cmp.lst
1456 cmd-cmp_mod-commands_cmp.lst
: commands
/cmp.c
$(commands
/cmp.c_DEPENDENCIES
) gencmdlist.sh
1457 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
1459 fs-cmp_mod-commands_cmp.lst
: commands
/cmp.c
$(commands
/cmp.c_DEPENDENCIES
) genfslist.sh
1460 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
1462 partmap-cmp_mod-commands_cmp.lst
: commands
/cmp.c
$(commands
/cmp.c_DEPENDENCIES
) genpartmaplist.sh
1463 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
1466 cmp_mod_CFLAGS
= $(COMMON_CFLAGS
)
1467 cmp_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1470 cat_mod_SOURCES
= commands
/cat.c
1471 CLEANFILES
+= cat.mod mod-cat.o mod-cat.c pre-cat.o cat_mod-commands_cat.o und-cat.lst
1472 ifneq ($(cat_mod_EXPORTS
),no
)
1473 CLEANFILES
+= def-cat.lst
1474 DEFSYMFILES
+= def-cat.lst
1476 MOSTLYCLEANFILES
+= cat_mod-commands_cat.d
1477 UNDSYMFILES
+= und-cat.lst
1479 cat.mod
: pre-cat.o mod-cat.o
$(TARGET_OBJ2ELF
)
1481 $(TARGET_CC
) $(cat_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-cat.o mod-cat.o
1482 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1483 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1485 pre-cat.o
: $(cat_mod_DEPENDENCIES
) cat_mod-commands_cat.o
1487 $(TARGET_CC
) $(cat_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ cat_mod-commands_cat.o
1489 mod-cat.o
: mod-cat.c
1490 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
1492 mod-cat.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1493 sh
$(srcdir)/genmodsrc.sh
'cat' $< > $@ ||
(rm -f
$@
; exit
1)
1495 ifneq ($(cat_mod_EXPORTS
),no
)
1496 def-cat.lst
: pre-cat.o
1497 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cat/' > $@
1500 und-cat.lst
: pre-cat.o
1502 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1504 cat_mod-commands_cat.o
: commands
/cat.c
$(commands
/cat.c_DEPENDENCIES
)
1505 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cat_mod_CFLAGS
) -MD
-c
-o
$@
$<
1506 -include cat_mod-commands_cat.d
1508 CLEANFILES
+= cmd-cat_mod-commands_cat.lst fs-cat_mod-commands_cat.lst partmap-cat_mod-commands_cat.lst
1509 COMMANDFILES
+= cmd-cat_mod-commands_cat.lst
1510 FSFILES
+= fs-cat_mod-commands_cat.lst
1511 PARTMAPFILES
+= partmap-cat_mod-commands_cat.lst
1513 cmd-cat_mod-commands_cat.lst
: commands
/cat.c
$(commands
/cat.c_DEPENDENCIES
) gencmdlist.sh
1514 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
1516 fs-cat_mod-commands_cat.lst
: commands
/cat.c
$(commands
/cat.c_DEPENDENCIES
) genfslist.sh
1517 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
1519 partmap-cat_mod-commands_cat.lst
: commands
/cat.c
$(commands
/cat.c_DEPENDENCIES
) genpartmaplist.sh
1520 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
1523 cat_mod_CFLAGS
= $(COMMON_CFLAGS
)
1524 cat_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1527 font_mod_SOURCES
= font
/manager.c
1528 CLEANFILES
+= font.mod mod-font.o mod-font.c pre-font.o font_mod-font_manager.o und-font.lst
1529 ifneq ($(font_mod_EXPORTS
),no
)
1530 CLEANFILES
+= def-font.lst
1531 DEFSYMFILES
+= def-font.lst
1533 MOSTLYCLEANFILES
+= font_mod-font_manager.d
1534 UNDSYMFILES
+= und-font.lst
1536 font.mod
: pre-font.o mod-font.o
$(TARGET_OBJ2ELF
)
1538 $(TARGET_CC
) $(font_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-font.o mod-font.o
1539 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1540 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1542 pre-font.o
: $(font_mod_DEPENDENCIES
) font_mod-font_manager.o
1544 $(TARGET_CC
) $(font_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ font_mod-font_manager.o
1546 mod-font.o
: mod-font.c
1547 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
1549 mod-font.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1550 sh
$(srcdir)/genmodsrc.sh
'font' $< > $@ ||
(rm -f
$@
; exit
1)
1552 ifneq ($(font_mod_EXPORTS
),no
)
1553 def-font.lst
: pre-font.o
1554 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 font/' > $@
1557 und-font.lst
: pre-font.o
1559 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1561 font_mod-font_manager.o
: font
/manager.c
$(font
/manager.c_DEPENDENCIES
)
1562 $(TARGET_CC
) -Ifont
-I
$(srcdir)/font
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(font_mod_CFLAGS
) -MD
-c
-o
$@
$<
1563 -include font_mod-font_manager.d
1565 CLEANFILES
+= cmd-font_mod-font_manager.lst fs-font_mod-font_manager.lst partmap-font_mod-font_manager.lst
1566 COMMANDFILES
+= cmd-font_mod-font_manager.lst
1567 FSFILES
+= fs-font_mod-font_manager.lst
1568 PARTMAPFILES
+= partmap-font_mod-font_manager.lst
1570 cmd-font_mod-font_manager.lst
: font
/manager.c
$(font
/manager.c_DEPENDENCIES
) gencmdlist.sh
1571 set
-e
; $(TARGET_CC
) -Ifont
-I
$(srcdir)/font
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh font
> $@ ||
(rm -f
$@
; exit
1)
1573 fs-font_mod-font_manager.lst
: font
/manager.c
$(font
/manager.c_DEPENDENCIES
) genfslist.sh
1574 set
-e
; $(TARGET_CC
) -Ifont
-I
$(srcdir)/font
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh font
> $@ ||
(rm -f
$@
; exit
1)
1576 partmap-font_mod-font_manager.lst
: font
/manager.c
$(font
/manager.c_DEPENDENCIES
) genpartmaplist.sh
1577 set
-e
; $(TARGET_CC
) -Ifont
-I
$(srcdir)/font
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh font
> $@ ||
(rm -f
$@
; exit
1)
1580 font_mod_CFLAGS
= $(COMMON_CFLAGS
)
1581 font_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1584 amiga_mod_SOURCES
= partmap
/amiga.c
1585 CLEANFILES
+= amiga.mod mod-amiga.o mod-amiga.c pre-amiga.o amiga_mod-partmap_amiga.o und-amiga.lst
1586 ifneq ($(amiga_mod_EXPORTS
),no
)
1587 CLEANFILES
+= def-amiga.lst
1588 DEFSYMFILES
+= def-amiga.lst
1590 MOSTLYCLEANFILES
+= amiga_mod-partmap_amiga.d
1591 UNDSYMFILES
+= und-amiga.lst
1593 amiga.mod
: pre-amiga.o mod-amiga.o
$(TARGET_OBJ2ELF
)
1595 $(TARGET_CC
) $(amiga_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-amiga.o mod-amiga.o
1596 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1597 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1599 pre-amiga.o
: $(amiga_mod_DEPENDENCIES
) amiga_mod-partmap_amiga.o
1601 $(TARGET_CC
) $(amiga_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ amiga_mod-partmap_amiga.o
1603 mod-amiga.o
: mod-amiga.c
1604 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
1606 mod-amiga.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1607 sh
$(srcdir)/genmodsrc.sh
'amiga' $< > $@ ||
(rm -f
$@
; exit
1)
1609 ifneq ($(amiga_mod_EXPORTS
),no
)
1610 def-amiga.lst
: pre-amiga.o
1611 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 amiga/' > $@
1614 und-amiga.lst
: pre-amiga.o
1616 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1618 amiga_mod-partmap_amiga.o
: partmap
/amiga.c
$(partmap
/amiga.c_DEPENDENCIES
)
1619 $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(amiga_mod_CFLAGS
) -MD
-c
-o
$@
$<
1620 -include amiga_mod-partmap_amiga.d
1622 CLEANFILES
+= cmd-amiga_mod-partmap_amiga.lst fs-amiga_mod-partmap_amiga.lst partmap-amiga_mod-partmap_amiga.lst
1623 COMMANDFILES
+= cmd-amiga_mod-partmap_amiga.lst
1624 FSFILES
+= fs-amiga_mod-partmap_amiga.lst
1625 PARTMAPFILES
+= partmap-amiga_mod-partmap_amiga.lst
1627 cmd-amiga_mod-partmap_amiga.lst
: partmap
/amiga.c
$(partmap
/amiga.c_DEPENDENCIES
) gencmdlist.sh
1628 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
1630 fs-amiga_mod-partmap_amiga.lst
: partmap
/amiga.c
$(partmap
/amiga.c_DEPENDENCIES
) genfslist.sh
1631 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
1633 partmap-amiga_mod-partmap_amiga.lst
: partmap
/amiga.c
$(partmap
/amiga.c_DEPENDENCIES
) genpartmaplist.sh
1634 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
1637 amiga_mod_CFLAGS
= $(COMMON_CFLAGS
)
1638 amiga_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1641 apple_mod_SOURCES
= partmap
/apple.c
1642 CLEANFILES
+= apple.mod mod-apple.o mod-apple.c pre-apple.o apple_mod-partmap_apple.o und-apple.lst
1643 ifneq ($(apple_mod_EXPORTS
),no
)
1644 CLEANFILES
+= def-apple.lst
1645 DEFSYMFILES
+= def-apple.lst
1647 MOSTLYCLEANFILES
+= apple_mod-partmap_apple.d
1648 UNDSYMFILES
+= und-apple.lst
1650 apple.mod
: pre-apple.o mod-apple.o
$(TARGET_OBJ2ELF
)
1652 $(TARGET_CC
) $(apple_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-apple.o mod-apple.o
1653 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1654 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1656 pre-apple.o
: $(apple_mod_DEPENDENCIES
) apple_mod-partmap_apple.o
1658 $(TARGET_CC
) $(apple_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ apple_mod-partmap_apple.o
1660 mod-apple.o
: mod-apple.c
1661 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
1663 mod-apple.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1664 sh
$(srcdir)/genmodsrc.sh
'apple' $< > $@ ||
(rm -f
$@
; exit
1)
1666 ifneq ($(apple_mod_EXPORTS
),no
)
1667 def-apple.lst
: pre-apple.o
1668 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 apple/' > $@
1671 und-apple.lst
: pre-apple.o
1673 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1675 apple_mod-partmap_apple.o
: partmap
/apple.c
$(partmap
/apple.c_DEPENDENCIES
)
1676 $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(apple_mod_CFLAGS
) -MD
-c
-o
$@
$<
1677 -include apple_mod-partmap_apple.d
1679 CLEANFILES
+= cmd-apple_mod-partmap_apple.lst fs-apple_mod-partmap_apple.lst partmap-apple_mod-partmap_apple.lst
1680 COMMANDFILES
+= cmd-apple_mod-partmap_apple.lst
1681 FSFILES
+= fs-apple_mod-partmap_apple.lst
1682 PARTMAPFILES
+= partmap-apple_mod-partmap_apple.lst
1684 cmd-apple_mod-partmap_apple.lst
: partmap
/apple.c
$(partmap
/apple.c_DEPENDENCIES
) gencmdlist.sh
1685 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
1687 fs-apple_mod-partmap_apple.lst
: partmap
/apple.c
$(partmap
/apple.c_DEPENDENCIES
) genfslist.sh
1688 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
1690 partmap-apple_mod-partmap_apple.lst
: partmap
/apple.c
$(partmap
/apple.c_DEPENDENCIES
) genpartmaplist.sh
1691 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
1694 apple_mod_CFLAGS
= $(COMMON_CFLAGS
)
1695 apple_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1698 pc_mod_SOURCES
= partmap
/pc.c
1699 CLEANFILES
+= pc.mod mod-pc.o mod-pc.c pre-pc.o pc_mod-partmap_pc.o und-pc.lst
1700 ifneq ($(pc_mod_EXPORTS
),no
)
1701 CLEANFILES
+= def-pc.lst
1702 DEFSYMFILES
+= def-pc.lst
1704 MOSTLYCLEANFILES
+= pc_mod-partmap_pc.d
1705 UNDSYMFILES
+= und-pc.lst
1707 pc.mod
: pre-pc.o mod-pc.o
$(TARGET_OBJ2ELF
)
1709 $(TARGET_CC
) $(pc_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-pc.o mod-pc.o
1710 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1711 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1713 pre-pc.o
: $(pc_mod_DEPENDENCIES
) pc_mod-partmap_pc.o
1715 $(TARGET_CC
) $(pc_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pc_mod-partmap_pc.o
1718 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
1720 mod-pc.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1721 sh
$(srcdir)/genmodsrc.sh
'pc' $< > $@ ||
(rm -f
$@
; exit
1)
1723 ifneq ($(pc_mod_EXPORTS
),no
)
1724 def-pc.lst
: pre-pc.o
1725 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 pc/' > $@
1728 und-pc.lst
: pre-pc.o
1730 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1732 pc_mod-partmap_pc.o
: partmap
/pc.c
$(partmap
/pc.c_DEPENDENCIES
)
1733 $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pc_mod_CFLAGS
) -MD
-c
-o
$@
$<
1734 -include pc_mod-partmap_pc.d
1736 CLEANFILES
+= cmd-pc_mod-partmap_pc.lst fs-pc_mod-partmap_pc.lst partmap-pc_mod-partmap_pc.lst
1737 COMMANDFILES
+= cmd-pc_mod-partmap_pc.lst
1738 FSFILES
+= fs-pc_mod-partmap_pc.lst
1739 PARTMAPFILES
+= partmap-pc_mod-partmap_pc.lst
1741 cmd-pc_mod-partmap_pc.lst
: partmap
/pc.c
$(partmap
/pc.c_DEPENDENCIES
) gencmdlist.sh
1742 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
1744 fs-pc_mod-partmap_pc.lst
: partmap
/pc.c
$(partmap
/pc.c_DEPENDENCIES
) genfslist.sh
1745 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
1747 partmap-pc_mod-partmap_pc.lst
: partmap
/pc.c
$(partmap
/pc.c_DEPENDENCIES
) genpartmaplist.sh
1748 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
1751 pc_mod_CFLAGS
= $(COMMON_CFLAGS
)
1752 pc_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1755 sun_mod_SOURCES
= partmap
/sun.c
1756 CLEANFILES
+= sun.mod mod-sun.o mod-sun.c pre-sun.o sun_mod-partmap_sun.o und-sun.lst
1757 ifneq ($(sun_mod_EXPORTS
),no
)
1758 CLEANFILES
+= def-sun.lst
1759 DEFSYMFILES
+= def-sun.lst
1761 MOSTLYCLEANFILES
+= sun_mod-partmap_sun.d
1762 UNDSYMFILES
+= und-sun.lst
1764 sun.mod
: pre-sun.o mod-sun.o
$(TARGET_OBJ2ELF
)
1766 $(TARGET_CC
) $(sun_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-sun.o mod-sun.o
1767 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1768 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1770 pre-sun.o
: $(sun_mod_DEPENDENCIES
) sun_mod-partmap_sun.o
1772 $(TARGET_CC
) $(sun_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ sun_mod-partmap_sun.o
1774 mod-sun.o
: mod-sun.c
1775 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
1777 mod-sun.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1778 sh
$(srcdir)/genmodsrc.sh
'sun' $< > $@ ||
(rm -f
$@
; exit
1)
1780 ifneq ($(sun_mod_EXPORTS
),no
)
1781 def-sun.lst
: pre-sun.o
1782 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sun/' > $@
1785 und-sun.lst
: pre-sun.o
1787 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1789 sun_mod-partmap_sun.o
: partmap
/sun.c
$(partmap
/sun.c_DEPENDENCIES
)
1790 $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sun_mod_CFLAGS
) -MD
-c
-o
$@
$<
1791 -include sun_mod-partmap_sun.d
1793 CLEANFILES
+= cmd-sun_mod-partmap_sun.lst fs-sun_mod-partmap_sun.lst partmap-sun_mod-partmap_sun.lst
1794 COMMANDFILES
+= cmd-sun_mod-partmap_sun.lst
1795 FSFILES
+= fs-sun_mod-partmap_sun.lst
1796 PARTMAPFILES
+= partmap-sun_mod-partmap_sun.lst
1798 cmd-sun_mod-partmap_sun.lst
: partmap
/sun.c
$(partmap
/sun.c_DEPENDENCIES
) gencmdlist.sh
1799 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
1801 fs-sun_mod-partmap_sun.lst
: partmap
/sun.c
$(partmap
/sun.c_DEPENDENCIES
) genfslist.sh
1802 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
1804 partmap-sun_mod-partmap_sun.lst
: partmap
/sun.c
$(partmap
/sun.c_DEPENDENCIES
) genpartmaplist.sh
1805 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
1808 sun_mod_CFLAGS
= $(COMMON_CFLAGS
)
1809 sun_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1812 acorn_mod_SOURCES
= partmap
/acorn.c
1813 CLEANFILES
+= acorn.mod mod-acorn.o mod-acorn.c pre-acorn.o acorn_mod-partmap_acorn.o und-acorn.lst
1814 ifneq ($(acorn_mod_EXPORTS
),no
)
1815 CLEANFILES
+= def-acorn.lst
1816 DEFSYMFILES
+= def-acorn.lst
1818 MOSTLYCLEANFILES
+= acorn_mod-partmap_acorn.d
1819 UNDSYMFILES
+= und-acorn.lst
1821 acorn.mod
: pre-acorn.o mod-acorn.o
$(TARGET_OBJ2ELF
)
1823 $(TARGET_CC
) $(acorn_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-acorn.o mod-acorn.o
1824 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1825 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1827 pre-acorn.o
: $(acorn_mod_DEPENDENCIES
) acorn_mod-partmap_acorn.o
1829 $(TARGET_CC
) $(acorn_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ acorn_mod-partmap_acorn.o
1831 mod-acorn.o
: mod-acorn.c
1832 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(acorn_mod_CFLAGS
) -c
-o
$@
$<
1834 mod-acorn.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1835 sh
$(srcdir)/genmodsrc.sh
'acorn' $< > $@ ||
(rm -f
$@
; exit
1)
1837 ifneq ($(acorn_mod_EXPORTS
),no
)
1838 def-acorn.lst
: pre-acorn.o
1839 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 acorn/' > $@
1842 und-acorn.lst
: pre-acorn.o
1844 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1846 acorn_mod-partmap_acorn.o
: partmap
/acorn.c
$(partmap
/acorn.c_DEPENDENCIES
)
1847 $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(acorn_mod_CFLAGS
) -MD
-c
-o
$@
$<
1848 -include acorn_mod-partmap_acorn.d
1850 CLEANFILES
+= cmd-acorn_mod-partmap_acorn.lst fs-acorn_mod-partmap_acorn.lst partmap-acorn_mod-partmap_acorn.lst
1851 COMMANDFILES
+= cmd-acorn_mod-partmap_acorn.lst
1852 FSFILES
+= fs-acorn_mod-partmap_acorn.lst
1853 PARTMAPFILES
+= partmap-acorn_mod-partmap_acorn.lst
1855 cmd-acorn_mod-partmap_acorn.lst
: partmap
/acorn.c
$(partmap
/acorn.c_DEPENDENCIES
) gencmdlist.sh
1856 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(acorn_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh acorn
> $@ ||
(rm -f
$@
; exit
1)
1858 fs-acorn_mod-partmap_acorn.lst
: partmap
/acorn.c
$(partmap
/acorn.c_DEPENDENCIES
) genfslist.sh
1859 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(acorn_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh acorn
> $@ ||
(rm -f
$@
; exit
1)
1861 partmap-acorn_mod-partmap_acorn.lst
: partmap
/acorn.c
$(partmap
/acorn.c_DEPENDENCIES
) genpartmaplist.sh
1862 set
-e
; $(TARGET_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(acorn_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh acorn
> $@ ||
(rm -f
$@
; exit
1)
1865 acorn_mod_CFLAGS
= $(COMMON_CFLAGS
)
1868 loopback_mod_SOURCES
= disk
/loopback.c
1869 CLEANFILES
+= loopback.mod mod-loopback.o mod-loopback.c pre-loopback.o loopback_mod-disk_loopback.o und-loopback.lst
1870 ifneq ($(loopback_mod_EXPORTS
),no
)
1871 CLEANFILES
+= def-loopback.lst
1872 DEFSYMFILES
+= def-loopback.lst
1874 MOSTLYCLEANFILES
+= loopback_mod-disk_loopback.d
1875 UNDSYMFILES
+= und-loopback.lst
1877 loopback.mod
: pre-loopback.o mod-loopback.o
$(TARGET_OBJ2ELF
)
1879 $(TARGET_CC
) $(loopback_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-loopback.o mod-loopback.o
1880 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1881 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1883 pre-loopback.o
: $(loopback_mod_DEPENDENCIES
) loopback_mod-disk_loopback.o
1885 $(TARGET_CC
) $(loopback_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ loopback_mod-disk_loopback.o
1887 mod-loopback.o
: mod-loopback.c
1888 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
1890 mod-loopback.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1891 sh
$(srcdir)/genmodsrc.sh
'loopback' $< > $@ ||
(rm -f
$@
; exit
1)
1893 ifneq ($(loopback_mod_EXPORTS
),no
)
1894 def-loopback.lst
: pre-loopback.o
1895 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 loopback/' > $@
1898 und-loopback.lst
: pre-loopback.o
1899 echo
'loopback' > $@
1900 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1902 loopback_mod-disk_loopback.o
: disk
/loopback.c
$(disk
/loopback.c_DEPENDENCIES
)
1903 $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(loopback_mod_CFLAGS
) -MD
-c
-o
$@
$<
1904 -include loopback_mod-disk_loopback.d
1906 CLEANFILES
+= cmd-loopback_mod-disk_loopback.lst fs-loopback_mod-disk_loopback.lst partmap-loopback_mod-disk_loopback.lst
1907 COMMANDFILES
+= cmd-loopback_mod-disk_loopback.lst
1908 FSFILES
+= fs-loopback_mod-disk_loopback.lst
1909 PARTMAPFILES
+= partmap-loopback_mod-disk_loopback.lst
1911 cmd-loopback_mod-disk_loopback.lst
: disk
/loopback.c
$(disk
/loopback.c_DEPENDENCIES
) gencmdlist.sh
1912 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
1914 fs-loopback_mod-disk_loopback.lst
: disk
/loopback.c
$(disk
/loopback.c_DEPENDENCIES
) genfslist.sh
1915 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
1917 partmap-loopback_mod-disk_loopback.lst
: disk
/loopback.c
$(disk
/loopback.c_DEPENDENCIES
) genpartmaplist.sh
1918 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
1921 loopback_mod_CFLAGS
= $(COMMON_CFLAGS
)
1922 loopback_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1925 suspend_mod_SOURCES
= commands
/ieee1275
/suspend.c
1926 CLEANFILES
+= suspend.mod mod-suspend.o mod-suspend.c pre-suspend.o suspend_mod-commands_ieee1275_suspend.o und-suspend.lst
1927 ifneq ($(suspend_mod_EXPORTS
),no
)
1928 CLEANFILES
+= def-suspend.lst
1929 DEFSYMFILES
+= def-suspend.lst
1931 MOSTLYCLEANFILES
+= suspend_mod-commands_ieee1275_suspend.d
1932 UNDSYMFILES
+= und-suspend.lst
1934 suspend.mod
: pre-suspend.o mod-suspend.o
$(TARGET_OBJ2ELF
)
1936 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-suspend.o mod-suspend.o
1937 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1938 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1940 pre-suspend.o
: $(suspend_mod_DEPENDENCIES
) suspend_mod-commands_ieee1275_suspend.o
1942 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ suspend_mod-commands_ieee1275_suspend.o
1944 mod-suspend.o
: mod-suspend.c
1945 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -c
-o
$@
$<
1947 mod-suspend.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1948 sh
$(srcdir)/genmodsrc.sh
'suspend' $< > $@ ||
(rm -f
$@
; exit
1)
1950 ifneq ($(suspend_mod_EXPORTS
),no
)
1951 def-suspend.lst
: pre-suspend.o
1952 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 suspend/' > $@
1955 und-suspend.lst
: pre-suspend.o
1957 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1959 suspend_mod-commands_ieee1275_suspend.o
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
)
1960 $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -MD
-c
-o
$@
$<
1961 -include suspend_mod-commands_ieee1275_suspend.d
1963 CLEANFILES
+= cmd-suspend_mod-commands_ieee1275_suspend.lst fs-suspend_mod-commands_ieee1275_suspend.lst partmap-suspend_mod-commands_ieee1275_suspend.lst
1964 COMMANDFILES
+= cmd-suspend_mod-commands_ieee1275_suspend.lst
1965 FSFILES
+= fs-suspend_mod-commands_ieee1275_suspend.lst
1966 PARTMAPFILES
+= partmap-suspend_mod-commands_ieee1275_suspend.lst
1968 cmd-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) gencmdlist.sh
1969 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)
1971 fs-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genfslist.sh
1972 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)
1974 partmap-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genpartmaplist.sh
1975 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
1978 suspend_mod_CFLAGS
= $(COMMON_CFLAGS
)
1979 suspend_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1982 reboot_mod_SOURCES
= commands
/reboot.c
1983 CLEANFILES
+= reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-commands_reboot.o und-reboot.lst
1984 ifneq ($(reboot_mod_EXPORTS
),no
)
1985 CLEANFILES
+= def-reboot.lst
1986 DEFSYMFILES
+= def-reboot.lst
1988 MOSTLYCLEANFILES
+= reboot_mod-commands_reboot.d
1989 UNDSYMFILES
+= und-reboot.lst
1991 reboot.mod
: pre-reboot.o mod-reboot.o
$(TARGET_OBJ2ELF
)
1993 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-reboot.o mod-reboot.o
1994 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1995 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1997 pre-reboot.o
: $(reboot_mod_DEPENDENCIES
) reboot_mod-commands_reboot.o
1999 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ reboot_mod-commands_reboot.o
2001 mod-reboot.o
: mod-reboot.c
2002 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
2004 mod-reboot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
2005 sh
$(srcdir)/genmodsrc.sh
'reboot' $< > $@ ||
(rm -f
$@
; exit
1)
2007 ifneq ($(reboot_mod_EXPORTS
),no
)
2008 def-reboot.lst
: pre-reboot.o
2009 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
2012 und-reboot.lst
: pre-reboot.o
2014 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2016 reboot_mod-commands_reboot.o
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
)
2017 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
2018 -include reboot_mod-commands_reboot.d
2020 CLEANFILES
+= cmd-reboot_mod-commands_reboot.lst fs-reboot_mod-commands_reboot.lst partmap-reboot_mod-commands_reboot.lst
2021 COMMANDFILES
+= cmd-reboot_mod-commands_reboot.lst
2022 FSFILES
+= fs-reboot_mod-commands_reboot.lst
2023 PARTMAPFILES
+= partmap-reboot_mod-commands_reboot.lst
2025 cmd-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) gencmdlist.sh
2026 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)
2028 fs-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genfslist.sh
2029 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)
2031 partmap-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genpartmaplist.sh
2032 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)
2035 reboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
2036 reboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2039 halt_mod_SOURCES
= commands
/halt.c
2040 CLEANFILES
+= halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_halt.o und-halt.lst
2041 ifneq ($(halt_mod_EXPORTS
),no
)
2042 CLEANFILES
+= def-halt.lst
2043 DEFSYMFILES
+= def-halt.lst
2045 MOSTLYCLEANFILES
+= halt_mod-commands_halt.d
2046 UNDSYMFILES
+= und-halt.lst
2048 halt.mod
: pre-halt.o mod-halt.o
$(TARGET_OBJ2ELF
)
2050 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-halt.o mod-halt.o
2051 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
2052 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
2054 pre-halt.o
: $(halt_mod_DEPENDENCIES
) halt_mod-commands_halt.o
2056 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ halt_mod-commands_halt.o
2058 mod-halt.o
: mod-halt.c
2059 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
2061 mod-halt.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
2062 sh
$(srcdir)/genmodsrc.sh
'halt' $< > $@ ||
(rm -f
$@
; exit
1)
2064 ifneq ($(halt_mod_EXPORTS
),no
)
2065 def-halt.lst
: pre-halt.o
2066 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 halt/' > $@
2069 und-halt.lst
: pre-halt.o
2071 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2073 halt_mod-commands_halt.o
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
)
2074 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -MD
-c
-o
$@
$<
2075 -include halt_mod-commands_halt.d
2077 CLEANFILES
+= cmd-halt_mod-commands_halt.lst fs-halt_mod-commands_halt.lst partmap-halt_mod-commands_halt.lst
2078 COMMANDFILES
+= cmd-halt_mod-commands_halt.lst
2079 FSFILES
+= fs-halt_mod-commands_halt.lst
2080 PARTMAPFILES
+= partmap-halt_mod-commands_halt.lst
2082 cmd-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) gencmdlist.sh
2083 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)
2085 fs-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genfslist.sh
2086 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)
2088 partmap-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genpartmaplist.sh
2089 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)
2092 halt_mod_CFLAGS
= $(COMMON_CFLAGS
)
2093 halt_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2096 help_mod_SOURCES
= commands
/help.c
2097 CLEANFILES
+= help.mod mod-help.o mod-help.c pre-help.o help_mod-commands_help.o und-help.lst
2098 ifneq ($(help_mod_EXPORTS
),no
)
2099 CLEANFILES
+= def-help.lst
2100 DEFSYMFILES
+= def-help.lst
2102 MOSTLYCLEANFILES
+= help_mod-commands_help.d
2103 UNDSYMFILES
+= und-help.lst
2105 help.mod
: pre-help.o mod-help.o
$(TARGET_OBJ2ELF
)
2107 $(TARGET_CC
) $(help_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-help.o mod-help.o
2108 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
2109 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
2111 pre-help.o
: $(help_mod_DEPENDENCIES
) help_mod-commands_help.o
2113 $(TARGET_CC
) $(help_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ help_mod-commands_help.o
2115 mod-help.o
: mod-help.c
2116 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
2118 mod-help.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
2119 sh
$(srcdir)/genmodsrc.sh
'help' $< > $@ ||
(rm -f
$@
; exit
1)
2121 ifneq ($(help_mod_EXPORTS
),no
)
2122 def-help.lst
: pre-help.o
2123 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 help/' > $@
2126 und-help.lst
: pre-help.o
2128 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2130 help_mod-commands_help.o
: commands
/help.c
$(commands
/help.c_DEPENDENCIES
)
2131 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(help_mod_CFLAGS
) -MD
-c
-o
$@
$<
2132 -include help_mod-commands_help.d
2134 CLEANFILES
+= cmd-help_mod-commands_help.lst fs-help_mod-commands_help.lst partmap-help_mod-commands_help.lst
2135 COMMANDFILES
+= cmd-help_mod-commands_help.lst
2136 FSFILES
+= fs-help_mod-commands_help.lst
2137 PARTMAPFILES
+= partmap-help_mod-commands_help.lst
2139 cmd-help_mod-commands_help.lst
: commands
/help.c
$(commands
/help.c_DEPENDENCIES
) gencmdlist.sh
2140 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh help
> $@ ||
(rm -f
$@
; exit
1)
2142 fs-help_mod-commands_help.lst
: commands
/help.c
$(commands
/help.c_DEPENDENCIES
) genfslist.sh
2143 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh help
> $@ ||
(rm -f
$@
; exit
1)
2145 partmap-help_mod-commands_help.lst
: commands
/help.c
$(commands
/help.c_DEPENDENCIES
) genpartmaplist.sh
2146 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh help
> $@ ||
(rm -f
$@
; exit
1)
2149 help_mod_CFLAGS
= $(COMMON_CFLAGS
)
2150 help_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2153 default_mod_SOURCES
= commands
/default.c
2154 default_mod_CFLAGS
= $(COMMON_CFLAGS
)
2155 default_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2158 timeout_mod_SOURCES
= commands
/timeout.c
2159 timeout_mod_CFLAGS
= $(COMMON_CFLAGS
)
2160 timeout_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2162 # For configfile.mod
2163 configfile_mod_SOURCES
= commands
/configfile.c
2164 CLEANFILES
+= configfile.mod mod-configfile.o mod-configfile.c pre-configfile.o configfile_mod-commands_configfile.o und-configfile.lst
2165 ifneq ($(configfile_mod_EXPORTS
),no
)
2166 CLEANFILES
+= def-configfile.lst
2167 DEFSYMFILES
+= def-configfile.lst
2169 MOSTLYCLEANFILES
+= configfile_mod-commands_configfile.d
2170 UNDSYMFILES
+= und-configfile.lst
2172 configfile.mod
: pre-configfile.o mod-configfile.o
$(TARGET_OBJ2ELF
)
2174 $(TARGET_CC
) $(configfile_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-configfile.o mod-configfile.o
2175 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
2176 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
2178 pre-configfile.o
: $(configfile_mod_DEPENDENCIES
) configfile_mod-commands_configfile.o
2180 $(TARGET_CC
) $(configfile_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ configfile_mod-commands_configfile.o
2182 mod-configfile.o
: mod-configfile.c
2183 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
2185 mod-configfile.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
2186 sh
$(srcdir)/genmodsrc.sh
'configfile' $< > $@ ||
(rm -f
$@
; exit
1)
2188 ifneq ($(configfile_mod_EXPORTS
),no
)
2189 def-configfile.lst
: pre-configfile.o
2190 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 configfile/' > $@
2193 und-configfile.lst
: pre-configfile.o
2194 echo
'configfile' > $@
2195 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2197 configfile_mod-commands_configfile.o
: commands
/configfile.c
$(commands
/configfile.c_DEPENDENCIES
)
2198 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(configfile_mod_CFLAGS
) -MD
-c
-o
$@
$<
2199 -include configfile_mod-commands_configfile.d
2201 CLEANFILES
+= cmd-configfile_mod-commands_configfile.lst fs-configfile_mod-commands_configfile.lst partmap-configfile_mod-commands_configfile.lst
2202 COMMANDFILES
+= cmd-configfile_mod-commands_configfile.lst
2203 FSFILES
+= fs-configfile_mod-commands_configfile.lst
2204 PARTMAPFILES
+= partmap-configfile_mod-commands_configfile.lst
2206 cmd-configfile_mod-commands_configfile.lst
: commands
/configfile.c
$(commands
/configfile.c_DEPENDENCIES
) gencmdlist.sh
2207 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
2209 fs-configfile_mod-commands_configfile.lst
: commands
/configfile.c
$(commands
/configfile.c_DEPENDENCIES
) genfslist.sh
2210 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
2212 partmap-configfile_mod-commands_configfile.lst
: commands
/configfile.c
$(commands
/configfile.c_DEPENDENCIES
) genpartmaplist.sh
2213 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
2216 configfile_mod_CFLAGS
= $(COMMON_CFLAGS
)
2217 configfile_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2220 search_mod_SOURCES
= commands
/search.c
2221 CLEANFILES
+= search.mod mod-search.o mod-search.c pre-search.o search_mod-commands_search.o und-search.lst
2222 ifneq ($(search_mod_EXPORTS
),no
)
2223 CLEANFILES
+= def-search.lst
2224 DEFSYMFILES
+= def-search.lst
2226 MOSTLYCLEANFILES
+= search_mod-commands_search.d
2227 UNDSYMFILES
+= und-search.lst
2229 search.mod
: pre-search.o mod-search.o
$(TARGET_OBJ2ELF
)
2231 $(TARGET_CC
) $(search_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-search.o mod-search.o
2232 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
2233 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
2235 pre-search.o
: $(search_mod_DEPENDENCIES
) search_mod-commands_search.o
2237 $(TARGET_CC
) $(search_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ search_mod-commands_search.o
2239 mod-search.o
: mod-search.c
2240 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(search_mod_CFLAGS
) -c
-o
$@
$<
2242 mod-search.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
2243 sh
$(srcdir)/genmodsrc.sh
'search' $< > $@ ||
(rm -f
$@
; exit
1)
2245 ifneq ($(search_mod_EXPORTS
),no
)
2246 def-search.lst
: pre-search.o
2247 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 search/' > $@
2250 und-search.lst
: pre-search.o
2252 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2254 search_mod-commands_search.o
: commands
/search.c
$(commands
/search.c_DEPENDENCIES
)
2255 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(search_mod_CFLAGS
) -MD
-c
-o
$@
$<
2256 -include search_mod-commands_search.d
2258 CLEANFILES
+= cmd-search_mod-commands_search.lst fs-search_mod-commands_search.lst partmap-search_mod-commands_search.lst
2259 COMMANDFILES
+= cmd-search_mod-commands_search.lst
2260 FSFILES
+= fs-search_mod-commands_search.lst
2261 PARTMAPFILES
+= partmap-search_mod-commands_search.lst
2263 cmd-search_mod-commands_search.lst
: commands
/search.c
$(commands
/search.c_DEPENDENCIES
) gencmdlist.sh
2264 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh search
> $@ ||
(rm -f
$@
; exit
1)
2266 fs-search_mod-commands_search.lst
: commands
/search.c
$(commands
/search.c_DEPENDENCIES
) genfslist.sh
2267 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh search
> $@ ||
(rm -f
$@
; exit
1)
2269 partmap-search_mod-commands_search.lst
: commands
/search.c
$(commands
/search.c_DEPENDENCIES
) genpartmaplist.sh
2270 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh search
> $@ ||
(rm -f
$@
; exit
1)
2273 search_mod_CFLAGS
= $(COMMON_CFLAGS
)
2274 search_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2277 gzio_mod_SOURCES
= io
/gzio.c
2278 CLEANFILES
+= gzio.mod mod-gzio.o mod-gzio.c pre-gzio.o gzio_mod-io_gzio.o und-gzio.lst
2279 ifneq ($(gzio_mod_EXPORTS
),no
)
2280 CLEANFILES
+= def-gzio.lst
2281 DEFSYMFILES
+= def-gzio.lst
2283 MOSTLYCLEANFILES
+= gzio_mod-io_gzio.d
2284 UNDSYMFILES
+= und-gzio.lst
2286 gzio.mod
: pre-gzio.o mod-gzio.o
$(TARGET_OBJ2ELF
)
2288 $(TARGET_CC
) $(gzio_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-gzio.o mod-gzio.o
2289 if
test ! -z
$(TARGET_OBJ2ELF
); then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
2290 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
2292 pre-gzio.o
: $(gzio_mod_DEPENDENCIES
) gzio_mod-io_gzio.o
2294 $(TARGET_CC
) $(gzio_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ gzio_mod-io_gzio.o
2296 mod-gzio.o
: mod-gzio.c
2297 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(gzio_mod_CFLAGS
) -c
-o
$@
$<
2299 mod-gzio.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
2300 sh
$(srcdir)/genmodsrc.sh
'gzio' $< > $@ ||
(rm -f
$@
; exit
1)
2302 ifneq ($(gzio_mod_EXPORTS
),no
)
2303 def-gzio.lst
: pre-gzio.o
2304 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 gzio/' > $@
2307 und-gzio.lst
: pre-gzio.o
2309 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2311 gzio_mod-io_gzio.o
: io
/gzio.c
$(io
/gzio.c_DEPENDENCIES
)
2312 $(TARGET_CC
) -Iio
-I
$(srcdir)/io
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(gzio_mod_CFLAGS
) -MD
-c
-o
$@
$<
2313 -include gzio_mod-io_gzio.d
2315 CLEANFILES
+= cmd-gzio_mod-io_gzio.lst fs-gzio_mod-io_gzio.lst partmap-gzio_mod-io_gzio.lst
2316 COMMANDFILES
+= cmd-gzio_mod-io_gzio.lst
2317 FSFILES
+= fs-gzio_mod-io_gzio.lst
2318 PARTMAPFILES
+= partmap-gzio_mod-io_gzio.lst
2320 cmd-gzio_mod-io_gzio.lst
: io
/gzio.c
$(io
/gzio.c_DEPENDENCIES
) gencmdlist.sh
2321 set
-e
; $(TARGET_CC
) -Iio
-I
$(srcdir)/io
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
2323 fs-gzio_mod-io_gzio.lst
: io
/gzio.c
$(io
/gzio.c_DEPENDENCIES
) genfslist.sh
2324 set
-e
; $(TARGET_CC
) -Iio
-I
$(srcdir)/io
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
2326 partmap-gzio_mod-io_gzio.lst
: io
/gzio.c
$(io
/gzio.c_DEPENDENCIES
) genpartmaplist.sh
2327 set
-e
; $(TARGET_CC
) -Iio
-I
$(srcdir)/io
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
2330 gzio_mod_CFLAGS
= $(COMMON_CFLAGS
)
2331 gzio_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2334 test_mod_SOURCES
= commands
/test.c
2335 test_mod_CFLAGS
= $(COMMON_CFLAGS
)
2336 test_mod_LDFLAGS
= $(COMMON_LDFLAGS
)