4 grub_script.tab.c grub_script.tab.h
: normal
/parser.y
5 $(YACC
) -d
-p grub_script_yy
-b grub_script
$(srcdir)/normal
/parser.y
8 grub_modules_init.lst
: geninit.sh
9 (cd
$(srcdir); grep
-r
--include="*.c" GRUB_MOD_INIT
*) > $@
11 grub_modules_init.h
: $(filter-out grub_emu_init.c
,$(grub_emu_SOURCES
)) geninitheader.sh grub_modules_init.lst
12 sh
$(srcdir)/geninitheader.sh
> $@
14 grub_emu_init.c
: $(filter-out grub_emu_init.c
,$(grub_emu_SOURCES
)) geninit.sh grub_modules_init.lst grub_modules_init.h
15 sh
$(srcdir)/geninit.sh
$(filter %.c
,$^
) > $@
20 pkgdata_MODULES
+= fshelp.mod fat.mod ufs.mod ext2.mod \
21 minix.mod hfs.mod jfs.mod iso9660.mod xfs.mod affs.mod \
25 fshelp_mod_SOURCES
= fs
/fshelp.c
26 CLEANFILES
+= fshelp.mod mod-fshelp.o mod-fshelp.c pre-fshelp.o fshelp_mod-fs_fshelp.o def-fshelp.lst und-fshelp.lst
27 MOSTLYCLEANFILES
+= fshelp_mod-fs_fshelp.d
28 DEFSYMFILES
+= def-fshelp.lst
29 UNDSYMFILES
+= und-fshelp.lst
31 fshelp.mod
: pre-fshelp.o mod-fshelp.o
33 $(LD
) $(fshelp_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
34 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
36 pre-fshelp.o
: fshelp_mod-fs_fshelp.o
38 $(LD
) $(fshelp_mod_LDFLAGS
) -r
-d
-o
$@
$^
40 mod-fshelp.o
: mod-fshelp.c
41 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
43 mod-fshelp.c
: moddep.lst genmodsrc.sh
44 sh
$(srcdir)/genmodsrc.sh
'fshelp' $< > $@ ||
(rm -f
$@
; exit
1)
46 def-fshelp.lst
: pre-fshelp.o
47 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fshelp/' > $@
49 und-fshelp.lst
: pre-fshelp.o
51 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
53 fshelp_mod-fs_fshelp.o
: fs
/fshelp.c
54 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
56 fshelp_mod-fs_fshelp.d
: fs
/fshelp.c
57 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -M
$< | sed
's,fshelp\.o[ :]*,fshelp_mod-fs_fshelp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
59 -include fshelp_mod-fs_fshelp.d
61 CLEANFILES
+= cmd-fshelp_mod-fs_fshelp.lst fs-fshelp_mod-fs_fshelp.lst
62 COMMANDFILES
+= cmd-fshelp_mod-fs_fshelp.lst
63 FSFILES
+= fs-fshelp_mod-fs_fshelp.lst
65 cmd-fshelp_mod-fs_fshelp.lst
: fs
/fshelp.c gencmdlist.sh
66 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
68 fs-fshelp_mod-fs_fshelp.lst
: fs
/fshelp.c genfslist.sh
69 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
72 fshelp_mod_CFLAGS
= $(COMMON_CFLAGS
)
73 fshelp_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
76 fat_mod_SOURCES
= fs
/fat.c
77 CLEANFILES
+= fat.mod mod-fat.o mod-fat.c pre-fat.o fat_mod-fs_fat.o def-fat.lst und-fat.lst
78 MOSTLYCLEANFILES
+= fat_mod-fs_fat.d
79 DEFSYMFILES
+= def-fat.lst
80 UNDSYMFILES
+= und-fat.lst
82 fat.mod
: pre-fat.o mod-fat.o
84 $(LD
) $(fat_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
85 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
87 pre-fat.o
: fat_mod-fs_fat.o
89 $(LD
) $(fat_mod_LDFLAGS
) -r
-d
-o
$@
$^
92 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
94 mod-fat.c
: moddep.lst genmodsrc.sh
95 sh
$(srcdir)/genmodsrc.sh
'fat' $< > $@ ||
(rm -f
$@
; exit
1)
97 def-fat.lst
: pre-fat.o
98 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fat/' > $@
100 und-fat.lst
: pre-fat.o
102 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
104 fat_mod-fs_fat.o
: fs
/fat.c
105 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
107 fat_mod-fs_fat.d
: fs
/fat.c
108 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -M
$< | sed
's,fat\.o[ :]*,fat_mod-fs_fat.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
110 -include fat_mod-fs_fat.d
112 CLEANFILES
+= cmd-fat_mod-fs_fat.lst fs-fat_mod-fs_fat.lst
113 COMMANDFILES
+= cmd-fat_mod-fs_fat.lst
114 FSFILES
+= fs-fat_mod-fs_fat.lst
116 cmd-fat_mod-fs_fat.lst
: fs
/fat.c gencmdlist.sh
117 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
119 fs-fat_mod-fs_fat.lst
: fs
/fat.c genfslist.sh
120 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
123 fat_mod_CFLAGS
= $(COMMON_CFLAGS
)
124 fat_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
127 ufs_mod_SOURCES
= fs
/ufs.c
128 CLEANFILES
+= ufs.mod mod-ufs.o mod-ufs.c pre-ufs.o ufs_mod-fs_ufs.o def-ufs.lst und-ufs.lst
129 MOSTLYCLEANFILES
+= ufs_mod-fs_ufs.d
130 DEFSYMFILES
+= def-ufs.lst
131 UNDSYMFILES
+= und-ufs.lst
133 ufs.mod
: pre-ufs.o mod-ufs.o
135 $(LD
) $(ufs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
136 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
138 pre-ufs.o
: ufs_mod-fs_ufs.o
140 $(LD
) $(ufs_mod_LDFLAGS
) -r
-d
-o
$@
$^
143 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
145 mod-ufs.c
: moddep.lst genmodsrc.sh
146 sh
$(srcdir)/genmodsrc.sh
'ufs' $< > $@ ||
(rm -f
$@
; exit
1)
148 def-ufs.lst
: pre-ufs.o
149 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ufs/' > $@
151 und-ufs.lst
: pre-ufs.o
153 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
155 ufs_mod-fs_ufs.o
: fs
/ufs.c
156 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
158 ufs_mod-fs_ufs.d
: fs
/ufs.c
159 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -M
$< | sed
's,ufs\.o[ :]*,ufs_mod-fs_ufs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
161 -include ufs_mod-fs_ufs.d
163 CLEANFILES
+= cmd-ufs_mod-fs_ufs.lst fs-ufs_mod-fs_ufs.lst
164 COMMANDFILES
+= cmd-ufs_mod-fs_ufs.lst
165 FSFILES
+= fs-ufs_mod-fs_ufs.lst
167 cmd-ufs_mod-fs_ufs.lst
: fs
/ufs.c gencmdlist.sh
168 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
170 fs-ufs_mod-fs_ufs.lst
: fs
/ufs.c genfslist.sh
171 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
174 ufs_mod_CFLAGS
= $(COMMON_CFLAGS
)
175 ufs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
178 ext2_mod_SOURCES
= fs
/ext2.c
179 CLEANFILES
+= ext2.mod mod-ext2.o mod-ext2.c pre-ext2.o ext2_mod-fs_ext2.o def-ext2.lst und-ext2.lst
180 MOSTLYCLEANFILES
+= ext2_mod-fs_ext2.d
181 DEFSYMFILES
+= def-ext2.lst
182 UNDSYMFILES
+= und-ext2.lst
184 ext2.mod
: pre-ext2.o mod-ext2.o
186 $(LD
) $(ext2_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
187 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
189 pre-ext2.o
: ext2_mod-fs_ext2.o
191 $(LD
) $(ext2_mod_LDFLAGS
) -r
-d
-o
$@
$^
193 mod-ext2.o
: mod-ext2.c
194 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
196 mod-ext2.c
: moddep.lst genmodsrc.sh
197 sh
$(srcdir)/genmodsrc.sh
'ext2' $< > $@ ||
(rm -f
$@
; exit
1)
199 def-ext2.lst
: pre-ext2.o
200 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ext2/' > $@
202 und-ext2.lst
: pre-ext2.o
204 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
206 ext2_mod-fs_ext2.o
: fs
/ext2.c
207 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
209 ext2_mod-fs_ext2.d
: fs
/ext2.c
210 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -M
$< | sed
's,ext2\.o[ :]*,ext2_mod-fs_ext2.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
212 -include ext2_mod-fs_ext2.d
214 CLEANFILES
+= cmd-ext2_mod-fs_ext2.lst fs-ext2_mod-fs_ext2.lst
215 COMMANDFILES
+= cmd-ext2_mod-fs_ext2.lst
216 FSFILES
+= fs-ext2_mod-fs_ext2.lst
218 cmd-ext2_mod-fs_ext2.lst
: fs
/ext2.c gencmdlist.sh
219 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
221 fs-ext2_mod-fs_ext2.lst
: fs
/ext2.c genfslist.sh
222 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
225 ext2_mod_CFLAGS
= $(COMMON_CFLAGS
)
226 ext2_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
229 minix_mod_SOURCES
= fs
/minix.c
230 CLEANFILES
+= minix.mod mod-minix.o mod-minix.c pre-minix.o minix_mod-fs_minix.o def-minix.lst und-minix.lst
231 MOSTLYCLEANFILES
+= minix_mod-fs_minix.d
232 DEFSYMFILES
+= def-minix.lst
233 UNDSYMFILES
+= und-minix.lst
235 minix.mod
: pre-minix.o mod-minix.o
237 $(LD
) $(minix_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
238 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
240 pre-minix.o
: minix_mod-fs_minix.o
242 $(LD
) $(minix_mod_LDFLAGS
) -r
-d
-o
$@
$^
244 mod-minix.o
: mod-minix.c
245 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
247 mod-minix.c
: moddep.lst genmodsrc.sh
248 sh
$(srcdir)/genmodsrc.sh
'minix' $< > $@ ||
(rm -f
$@
; exit
1)
250 def-minix.lst
: pre-minix.o
251 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 minix/' > $@
253 und-minix.lst
: pre-minix.o
255 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
257 minix_mod-fs_minix.o
: fs
/minix.c
258 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
260 minix_mod-fs_minix.d
: fs
/minix.c
261 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -M
$< | sed
's,minix\.o[ :]*,minix_mod-fs_minix.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
263 -include minix_mod-fs_minix.d
265 CLEANFILES
+= cmd-minix_mod-fs_minix.lst fs-minix_mod-fs_minix.lst
266 COMMANDFILES
+= cmd-minix_mod-fs_minix.lst
267 FSFILES
+= fs-minix_mod-fs_minix.lst
269 cmd-minix_mod-fs_minix.lst
: fs
/minix.c gencmdlist.sh
270 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
272 fs-minix_mod-fs_minix.lst
: fs
/minix.c genfslist.sh
273 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
276 minix_mod_CFLAGS
= $(COMMON_CFLAGS
)
277 minix_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
280 hfs_mod_SOURCES
= fs
/hfs.c
281 CLEANFILES
+= hfs.mod mod-hfs.o mod-hfs.c pre-hfs.o hfs_mod-fs_hfs.o def-hfs.lst und-hfs.lst
282 MOSTLYCLEANFILES
+= hfs_mod-fs_hfs.d
283 DEFSYMFILES
+= def-hfs.lst
284 UNDSYMFILES
+= und-hfs.lst
286 hfs.mod
: pre-hfs.o mod-hfs.o
288 $(LD
) $(hfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
289 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
291 pre-hfs.o
: hfs_mod-fs_hfs.o
293 $(LD
) $(hfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
296 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
298 mod-hfs.c
: moddep.lst genmodsrc.sh
299 sh
$(srcdir)/genmodsrc.sh
'hfs' $< > $@ ||
(rm -f
$@
; exit
1)
301 def-hfs.lst
: pre-hfs.o
302 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hfs/' > $@
304 und-hfs.lst
: pre-hfs.o
306 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
308 hfs_mod-fs_hfs.o
: fs
/hfs.c
309 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
311 hfs_mod-fs_hfs.d
: fs
/hfs.c
312 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -M
$< | sed
's,hfs\.o[ :]*,hfs_mod-fs_hfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
314 -include hfs_mod-fs_hfs.d
316 CLEANFILES
+= cmd-hfs_mod-fs_hfs.lst fs-hfs_mod-fs_hfs.lst
317 COMMANDFILES
+= cmd-hfs_mod-fs_hfs.lst
318 FSFILES
+= fs-hfs_mod-fs_hfs.lst
320 cmd-hfs_mod-fs_hfs.lst
: fs
/hfs.c gencmdlist.sh
321 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
323 fs-hfs_mod-fs_hfs.lst
: fs
/hfs.c genfslist.sh
324 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
327 hfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
328 hfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
331 jfs_mod_SOURCES
= fs
/jfs.c
332 CLEANFILES
+= jfs.mod mod-jfs.o mod-jfs.c pre-jfs.o jfs_mod-fs_jfs.o def-jfs.lst und-jfs.lst
333 MOSTLYCLEANFILES
+= jfs_mod-fs_jfs.d
334 DEFSYMFILES
+= def-jfs.lst
335 UNDSYMFILES
+= und-jfs.lst
337 jfs.mod
: pre-jfs.o mod-jfs.o
339 $(LD
) $(jfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
340 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
342 pre-jfs.o
: jfs_mod-fs_jfs.o
344 $(LD
) $(jfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
347 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
349 mod-jfs.c
: moddep.lst genmodsrc.sh
350 sh
$(srcdir)/genmodsrc.sh
'jfs' $< > $@ ||
(rm -f
$@
; exit
1)
352 def-jfs.lst
: pre-jfs.o
353 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 jfs/' > $@
355 und-jfs.lst
: pre-jfs.o
357 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
359 jfs_mod-fs_jfs.o
: fs
/jfs.c
360 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
362 jfs_mod-fs_jfs.d
: fs
/jfs.c
363 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -M
$< | sed
's,jfs\.o[ :]*,jfs_mod-fs_jfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
365 -include jfs_mod-fs_jfs.d
367 CLEANFILES
+= cmd-jfs_mod-fs_jfs.lst fs-jfs_mod-fs_jfs.lst
368 COMMANDFILES
+= cmd-jfs_mod-fs_jfs.lst
369 FSFILES
+= fs-jfs_mod-fs_jfs.lst
371 cmd-jfs_mod-fs_jfs.lst
: fs
/jfs.c gencmdlist.sh
372 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
374 fs-jfs_mod-fs_jfs.lst
: fs
/jfs.c genfslist.sh
375 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
378 jfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
379 jfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
382 iso9660_mod_SOURCES
= fs
/iso9660.c
383 CLEANFILES
+= iso9660.mod mod-iso9660.o mod-iso9660.c pre-iso9660.o iso9660_mod-fs_iso9660.o def-iso9660.lst und-iso9660.lst
384 MOSTLYCLEANFILES
+= iso9660_mod-fs_iso9660.d
385 DEFSYMFILES
+= def-iso9660.lst
386 UNDSYMFILES
+= und-iso9660.lst
388 iso9660.mod
: pre-iso9660.o mod-iso9660.o
390 $(LD
) $(iso9660_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
391 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
393 pre-iso9660.o
: iso9660_mod-fs_iso9660.o
395 $(LD
) $(iso9660_mod_LDFLAGS
) -r
-d
-o
$@
$^
397 mod-iso9660.o
: mod-iso9660.c
398 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(iso9660_mod_CFLAGS
) -c
-o
$@
$<
400 mod-iso9660.c
: moddep.lst genmodsrc.sh
401 sh
$(srcdir)/genmodsrc.sh
'iso9660' $< > $@ ||
(rm -f
$@
; exit
1)
403 def-iso9660.lst
: pre-iso9660.o
404 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 iso9660/' > $@
406 und-iso9660.lst
: pre-iso9660.o
408 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
410 iso9660_mod-fs_iso9660.o
: fs
/iso9660.c
411 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(iso9660_mod_CFLAGS
) -c
-o
$@
$<
413 iso9660_mod-fs_iso9660.d
: fs
/iso9660.c
414 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(iso9660_mod_CFLAGS
) -M
$< | sed
's,iso9660\.o[ :]*,iso9660_mod-fs_iso9660.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
416 -include iso9660_mod-fs_iso9660.d
418 CLEANFILES
+= cmd-iso9660_mod-fs_iso9660.lst fs-iso9660_mod-fs_iso9660.lst
419 COMMANDFILES
+= cmd-iso9660_mod-fs_iso9660.lst
420 FSFILES
+= fs-iso9660_mod-fs_iso9660.lst
422 cmd-iso9660_mod-fs_iso9660.lst
: fs
/iso9660.c gencmdlist.sh
423 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(iso9660_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh iso9660
> $@ ||
(rm -f
$@
; exit
1)
425 fs-iso9660_mod-fs_iso9660.lst
: fs
/iso9660.c genfslist.sh
426 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(iso9660_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh iso9660
> $@ ||
(rm -f
$@
; exit
1)
429 iso9660_mod_CFLAGS
= $(COMMON_CFLAGS
)
430 iso9660_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
433 xfs_mod_SOURCES
= fs
/xfs.c
434 CLEANFILES
+= xfs.mod mod-xfs.o mod-xfs.c pre-xfs.o xfs_mod-fs_xfs.o def-xfs.lst und-xfs.lst
435 MOSTLYCLEANFILES
+= xfs_mod-fs_xfs.d
436 DEFSYMFILES
+= def-xfs.lst
437 UNDSYMFILES
+= und-xfs.lst
439 xfs.mod
: pre-xfs.o mod-xfs.o
441 $(LD
) $(xfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
442 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
444 pre-xfs.o
: xfs_mod-fs_xfs.o
446 $(LD
) $(xfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
449 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -c
-o
$@
$<
451 mod-xfs.c
: moddep.lst genmodsrc.sh
452 sh
$(srcdir)/genmodsrc.sh
'xfs' $< > $@ ||
(rm -f
$@
; exit
1)
454 def-xfs.lst
: pre-xfs.o
455 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 xfs/' > $@
457 und-xfs.lst
: pre-xfs.o
459 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
461 xfs_mod-fs_xfs.o
: fs
/xfs.c
462 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -c
-o
$@
$<
464 xfs_mod-fs_xfs.d
: fs
/xfs.c
465 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -M
$< | sed
's,xfs\.o[ :]*,xfs_mod-fs_xfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
467 -include xfs_mod-fs_xfs.d
469 CLEANFILES
+= cmd-xfs_mod-fs_xfs.lst fs-xfs_mod-fs_xfs.lst
470 COMMANDFILES
+= cmd-xfs_mod-fs_xfs.lst
471 FSFILES
+= fs-xfs_mod-fs_xfs.lst
473 cmd-xfs_mod-fs_xfs.lst
: fs
/xfs.c gencmdlist.sh
474 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
476 fs-xfs_mod-fs_xfs.lst
: fs
/xfs.c genfslist.sh
477 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
480 xfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
481 xfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
484 affs_mod_SOURCES
= fs
/affs.c
485 CLEANFILES
+= affs.mod mod-affs.o mod-affs.c pre-affs.o affs_mod-fs_affs.o def-affs.lst und-affs.lst
486 MOSTLYCLEANFILES
+= affs_mod-fs_affs.d
487 DEFSYMFILES
+= def-affs.lst
488 UNDSYMFILES
+= und-affs.lst
490 affs.mod
: pre-affs.o mod-affs.o
492 $(LD
) $(affs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
493 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
495 pre-affs.o
: affs_mod-fs_affs.o
497 $(LD
) $(affs_mod_LDFLAGS
) -r
-d
-o
$@
$^
499 mod-affs.o
: mod-affs.c
500 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -c
-o
$@
$<
502 mod-affs.c
: moddep.lst genmodsrc.sh
503 sh
$(srcdir)/genmodsrc.sh
'affs' $< > $@ ||
(rm -f
$@
; exit
1)
505 def-affs.lst
: pre-affs.o
506 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 affs/' > $@
508 und-affs.lst
: pre-affs.o
510 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
512 affs_mod-fs_affs.o
: fs
/affs.c
513 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -c
-o
$@
$<
515 affs_mod-fs_affs.d
: fs
/affs.c
516 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -M
$< | sed
's,affs\.o[ :]*,affs_mod-fs_affs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
518 -include affs_mod-fs_affs.d
520 CLEANFILES
+= cmd-affs_mod-fs_affs.lst fs-affs_mod-fs_affs.lst
521 COMMANDFILES
+= cmd-affs_mod-fs_affs.lst
522 FSFILES
+= fs-affs_mod-fs_affs.lst
524 cmd-affs_mod-fs_affs.lst
: fs
/affs.c gencmdlist.sh
525 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
527 fs-affs_mod-fs_affs.lst
: fs
/affs.c genfslist.sh
528 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
531 affs_mod_CFLAGS
= $(COMMON_CFLAGS
)
532 affs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
535 sfs_mod_SOURCES
= fs
/sfs.c
536 CLEANFILES
+= sfs.mod mod-sfs.o mod-sfs.c pre-sfs.o sfs_mod-fs_sfs.o def-sfs.lst und-sfs.lst
537 MOSTLYCLEANFILES
+= sfs_mod-fs_sfs.d
538 DEFSYMFILES
+= def-sfs.lst
539 UNDSYMFILES
+= und-sfs.lst
541 sfs.mod
: pre-sfs.o mod-sfs.o
543 $(LD
) $(sfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
544 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
546 pre-sfs.o
: sfs_mod-fs_sfs.o
548 $(LD
) $(sfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
551 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -c
-o
$@
$<
553 mod-sfs.c
: moddep.lst genmodsrc.sh
554 sh
$(srcdir)/genmodsrc.sh
'sfs' $< > $@ ||
(rm -f
$@
; exit
1)
556 def-sfs.lst
: pre-sfs.o
557 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sfs/' > $@
559 und-sfs.lst
: pre-sfs.o
561 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
563 sfs_mod-fs_sfs.o
: fs
/sfs.c
564 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -c
-o
$@
$<
566 sfs_mod-fs_sfs.d
: fs
/sfs.c
567 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -M
$< | sed
's,sfs\.o[ :]*,sfs_mod-fs_sfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
569 -include sfs_mod-fs_sfs.d
571 CLEANFILES
+= cmd-sfs_mod-fs_sfs.lst fs-sfs_mod-fs_sfs.lst
572 COMMANDFILES
+= cmd-sfs_mod-fs_sfs.lst
573 FSFILES
+= fs-sfs_mod-fs_sfs.lst
575 cmd-sfs_mod-fs_sfs.lst
: fs
/sfs.c gencmdlist.sh
576 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
578 fs-sfs_mod-fs_sfs.lst
: fs
/sfs.c genfslist.sh
579 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
582 sfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
583 sfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
587 pkgdata_MODULES
+= amiga.mod apple.mod
pc.mod sun.mod acorn.mod
590 amiga_mod_SOURCES
= partmap
/amiga.c
591 CLEANFILES
+= amiga.mod mod-amiga.o mod-amiga.c pre-amiga.o amiga_mod-partmap_amiga.o def-amiga.lst und-amiga.lst
592 MOSTLYCLEANFILES
+= amiga_mod-partmap_amiga.d
593 DEFSYMFILES
+= def-amiga.lst
594 UNDSYMFILES
+= und-amiga.lst
596 amiga.mod
: pre-amiga.o mod-amiga.o
598 $(LD
) $(amiga_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
599 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
601 pre-amiga.o
: amiga_mod-partmap_amiga.o
603 $(LD
) $(amiga_mod_LDFLAGS
) -r
-d
-o
$@
$^
605 mod-amiga.o
: mod-amiga.c
606 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
608 mod-amiga.c
: moddep.lst genmodsrc.sh
609 sh
$(srcdir)/genmodsrc.sh
'amiga' $< > $@ ||
(rm -f
$@
; exit
1)
611 def-amiga.lst
: pre-amiga.o
612 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 amiga/' > $@
614 und-amiga.lst
: pre-amiga.o
616 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
618 amiga_mod-partmap_amiga.o
: partmap
/amiga.c
619 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
621 amiga_mod-partmap_amiga.d
: partmap
/amiga.c
622 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -M
$< | sed
's,amiga\.o[ :]*,amiga_mod-partmap_amiga.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
624 -include amiga_mod-partmap_amiga.d
626 CLEANFILES
+= cmd-amiga_mod-partmap_amiga.lst fs-amiga_mod-partmap_amiga.lst
627 COMMANDFILES
+= cmd-amiga_mod-partmap_amiga.lst
628 FSFILES
+= fs-amiga_mod-partmap_amiga.lst
630 cmd-amiga_mod-partmap_amiga.lst
: partmap
/amiga.c gencmdlist.sh
631 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
633 fs-amiga_mod-partmap_amiga.lst
: partmap
/amiga.c genfslist.sh
634 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
637 amiga_mod_CFLAGS
= $(COMMON_CFLAGS
)
638 amiga_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
641 apple_mod_SOURCES
= partmap
/apple.c
642 CLEANFILES
+= apple.mod mod-apple.o mod-apple.c pre-apple.o apple_mod-partmap_apple.o def-apple.lst und-apple.lst
643 MOSTLYCLEANFILES
+= apple_mod-partmap_apple.d
644 DEFSYMFILES
+= def-apple.lst
645 UNDSYMFILES
+= und-apple.lst
647 apple.mod
: pre-apple.o mod-apple.o
649 $(LD
) $(apple_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
650 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
652 pre-apple.o
: apple_mod-partmap_apple.o
654 $(LD
) $(apple_mod_LDFLAGS
) -r
-d
-o
$@
$^
656 mod-apple.o
: mod-apple.c
657 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
659 mod-apple.c
: moddep.lst genmodsrc.sh
660 sh
$(srcdir)/genmodsrc.sh
'apple' $< > $@ ||
(rm -f
$@
; exit
1)
662 def-apple.lst
: pre-apple.o
663 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 apple/' > $@
665 und-apple.lst
: pre-apple.o
667 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
669 apple_mod-partmap_apple.o
: partmap
/apple.c
670 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
672 apple_mod-partmap_apple.d
: partmap
/apple.c
673 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -M
$< | sed
's,apple\.o[ :]*,apple_mod-partmap_apple.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
675 -include apple_mod-partmap_apple.d
677 CLEANFILES
+= cmd-apple_mod-partmap_apple.lst fs-apple_mod-partmap_apple.lst
678 COMMANDFILES
+= cmd-apple_mod-partmap_apple.lst
679 FSFILES
+= fs-apple_mod-partmap_apple.lst
681 cmd-apple_mod-partmap_apple.lst
: partmap
/apple.c gencmdlist.sh
682 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
684 fs-apple_mod-partmap_apple.lst
: partmap
/apple.c genfslist.sh
685 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
688 apple_mod_CFLAGS
= $(COMMON_CFLAGS
)
689 apple_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
692 pc_mod_SOURCES
= partmap
/pc.c
693 CLEANFILES
+= pc.mod mod-pc.o mod-pc.c pre-pc.o pc_mod-partmap_pc.o def-pc.lst und-pc.lst
694 MOSTLYCLEANFILES
+= pc_mod-partmap_pc.d
695 DEFSYMFILES
+= def-pc.lst
696 UNDSYMFILES
+= und-pc.lst
698 pc.mod
: pre-pc.o mod-pc.o
700 $(LD
) $(pc_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
701 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
703 pre-pc.o
: pc_mod-partmap_pc.o
705 $(LD
) $(pc_mod_LDFLAGS
) -r
-d
-o
$@
$^
708 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
710 mod-pc.c
: moddep.lst genmodsrc.sh
711 sh
$(srcdir)/genmodsrc.sh
'pc' $< > $@ ||
(rm -f
$@
; exit
1)
714 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 pc/' > $@
718 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
720 pc_mod-partmap_pc.o
: partmap
/pc.c
721 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
723 pc_mod-partmap_pc.d
: partmap
/pc.c
724 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -M
$< | sed
's,pc\.o[ :]*,pc_mod-partmap_pc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
726 -include pc_mod-partmap_pc.d
728 CLEANFILES
+= cmd-pc_mod-partmap_pc.lst fs-pc_mod-partmap_pc.lst
729 COMMANDFILES
+= cmd-pc_mod-partmap_pc.lst
730 FSFILES
+= fs-pc_mod-partmap_pc.lst
732 cmd-pc_mod-partmap_pc.lst
: partmap
/pc.c gencmdlist.sh
733 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
735 fs-pc_mod-partmap_pc.lst
: partmap
/pc.c genfslist.sh
736 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
739 pc_mod_CFLAGS
= $(COMMON_CFLAGS
)
740 pc_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
743 sun_mod_SOURCES
= partmap
/sun.c
744 CLEANFILES
+= sun.mod mod-sun.o mod-sun.c pre-sun.o sun_mod-partmap_sun.o def-sun.lst und-sun.lst
745 MOSTLYCLEANFILES
+= sun_mod-partmap_sun.d
746 DEFSYMFILES
+= def-sun.lst
747 UNDSYMFILES
+= und-sun.lst
749 sun.mod
: pre-sun.o mod-sun.o
751 $(LD
) $(sun_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
752 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
754 pre-sun.o
: sun_mod-partmap_sun.o
756 $(LD
) $(sun_mod_LDFLAGS
) -r
-d
-o
$@
$^
759 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
761 mod-sun.c
: moddep.lst genmodsrc.sh
762 sh
$(srcdir)/genmodsrc.sh
'sun' $< > $@ ||
(rm -f
$@
; exit
1)
764 def-sun.lst
: pre-sun.o
765 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sun/' > $@
767 und-sun.lst
: pre-sun.o
769 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
771 sun_mod-partmap_sun.o
: partmap
/sun.c
772 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
774 sun_mod-partmap_sun.d
: partmap
/sun.c
775 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -M
$< | sed
's,sun\.o[ :]*,sun_mod-partmap_sun.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
777 -include sun_mod-partmap_sun.d
779 CLEANFILES
+= cmd-sun_mod-partmap_sun.lst fs-sun_mod-partmap_sun.lst
780 COMMANDFILES
+= cmd-sun_mod-partmap_sun.lst
781 FSFILES
+= fs-sun_mod-partmap_sun.lst
783 cmd-sun_mod-partmap_sun.lst
: partmap
/sun.c gencmdlist.sh
784 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
786 fs-sun_mod-partmap_sun.lst
: partmap
/sun.c genfslist.sh
787 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
790 sun_mod_CFLAGS
= $(COMMON_CFLAGS
)
791 sun_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
794 acorn_mod_SOURCES
= partmap
/acorn.c
795 CLEANFILES
+= acorn.mod mod-acorn.o mod-acorn.c pre-acorn.o acorn_mod-partmap_acorn.o def-acorn.lst und-acorn.lst
796 MOSTLYCLEANFILES
+= acorn_mod-partmap_acorn.d
797 DEFSYMFILES
+= def-acorn.lst
798 UNDSYMFILES
+= und-acorn.lst
800 acorn.mod
: pre-acorn.o mod-acorn.o
802 $(LD
) $(acorn_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
803 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
805 pre-acorn.o
: acorn_mod-partmap_acorn.o
807 $(LD
) $(acorn_mod_LDFLAGS
) -r
-d
-o
$@
$^
809 mod-acorn.o
: mod-acorn.c
810 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(acorn_mod_CFLAGS
) -c
-o
$@
$<
812 mod-acorn.c
: moddep.lst genmodsrc.sh
813 sh
$(srcdir)/genmodsrc.sh
'acorn' $< > $@ ||
(rm -f
$@
; exit
1)
815 def-acorn.lst
: pre-acorn.o
816 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 acorn/' > $@
818 und-acorn.lst
: pre-acorn.o
820 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
822 acorn_mod-partmap_acorn.o
: partmap
/acorn.c
823 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(acorn_mod_CFLAGS
) -c
-o
$@
$<
825 acorn_mod-partmap_acorn.d
: partmap
/acorn.c
826 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(acorn_mod_CFLAGS
) -M
$< | sed
's,acorn\.o[ :]*,acorn_mod-partmap_acorn.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
828 -include acorn_mod-partmap_acorn.d
830 CLEANFILES
+= cmd-acorn_mod-partmap_acorn.lst fs-acorn_mod-partmap_acorn.lst
831 COMMANDFILES
+= cmd-acorn_mod-partmap_acorn.lst
832 FSFILES
+= fs-acorn_mod-partmap_acorn.lst
834 cmd-acorn_mod-partmap_acorn.lst
: partmap
/acorn.c gencmdlist.sh
835 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(acorn_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh acorn
> $@ ||
(rm -f
$@
; exit
1)
837 fs-acorn_mod-partmap_acorn.lst
: partmap
/acorn.c genfslist.sh
838 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(acorn_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh acorn
> $@ ||
(rm -f
$@
; exit
1)
841 acorn_mod_CFLAGS
= $(COMMON_CFLAGS
)
842 acorn_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
846 pkgdata_MODULES
+= hello.mod boot.mod terminal.mod ls.mod \
847 cmp.mod cat.mod help.mod font.mod search.mod \
848 loopback.mod default.mod timeout.mod configfile.mod \
852 hello_mod_SOURCES
= hello
/hello.c
853 CLEANFILES
+= hello.mod mod-hello.o mod-hello.c pre-hello.o hello_mod-hello_hello.o def-hello.lst und-hello.lst
854 MOSTLYCLEANFILES
+= hello_mod-hello_hello.d
855 DEFSYMFILES
+= def-hello.lst
856 UNDSYMFILES
+= und-hello.lst
858 hello.mod
: pre-hello.o mod-hello.o
860 $(LD
) $(hello_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
861 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
863 pre-hello.o
: hello_mod-hello_hello.o
865 $(LD
) $(hello_mod_LDFLAGS
) -r
-d
-o
$@
$^
867 mod-hello.o
: mod-hello.c
868 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
870 mod-hello.c
: moddep.lst genmodsrc.sh
871 sh
$(srcdir)/genmodsrc.sh
'hello' $< > $@ ||
(rm -f
$@
; exit
1)
873 def-hello.lst
: pre-hello.o
874 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hello/' > $@
876 und-hello.lst
: pre-hello.o
878 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
880 hello_mod-hello_hello.o
: hello
/hello.c
881 $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
883 hello_mod-hello_hello.d
: hello
/hello.c
884 set
-e
; $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -M
$< | sed
's,hello\.o[ :]*,hello_mod-hello_hello.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
886 -include hello_mod-hello_hello.d
888 CLEANFILES
+= cmd-hello_mod-hello_hello.lst fs-hello_mod-hello_hello.lst
889 COMMANDFILES
+= cmd-hello_mod-hello_hello.lst
890 FSFILES
+= fs-hello_mod-hello_hello.lst
892 cmd-hello_mod-hello_hello.lst
: hello
/hello.c gencmdlist.sh
893 set
-e
; $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
895 fs-hello_mod-hello_hello.lst
: hello
/hello.c genfslist.sh
896 set
-e
; $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
899 hello_mod_CFLAGS
= $(COMMON_CFLAGS
)
900 hello_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
903 boot_mod_SOURCES
= commands
/boot.c
904 CLEANFILES
+= boot.mod mod-boot.o mod-boot.c pre-boot.o boot_mod-commands_boot.o def-boot.lst und-boot.lst
905 MOSTLYCLEANFILES
+= boot_mod-commands_boot.d
906 DEFSYMFILES
+= def-boot.lst
907 UNDSYMFILES
+= und-boot.lst
909 boot.mod
: pre-boot.o mod-boot.o
911 $(LD
) $(boot_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
912 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
914 pre-boot.o
: boot_mod-commands_boot.o
916 $(LD
) $(boot_mod_LDFLAGS
) -r
-d
-o
$@
$^
918 mod-boot.o
: mod-boot.c
919 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
921 mod-boot.c
: moddep.lst genmodsrc.sh
922 sh
$(srcdir)/genmodsrc.sh
'boot' $< > $@ ||
(rm -f
$@
; exit
1)
924 def-boot.lst
: pre-boot.o
925 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 boot/' > $@
927 und-boot.lst
: pre-boot.o
929 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
931 boot_mod-commands_boot.o
: commands
/boot.c
932 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
934 boot_mod-commands_boot.d
: commands
/boot.c
935 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -M
$< | sed
's,boot\.o[ :]*,boot_mod-commands_boot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
937 -include boot_mod-commands_boot.d
939 CLEANFILES
+= cmd-boot_mod-commands_boot.lst fs-boot_mod-commands_boot.lst
940 COMMANDFILES
+= cmd-boot_mod-commands_boot.lst
941 FSFILES
+= fs-boot_mod-commands_boot.lst
943 cmd-boot_mod-commands_boot.lst
: commands
/boot.c gencmdlist.sh
944 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
946 fs-boot_mod-commands_boot.lst
: commands
/boot.c genfslist.sh
947 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
950 boot_mod_CFLAGS
= $(COMMON_CFLAGS
)
951 boot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
954 terminal_mod_SOURCES
= commands
/terminal.c
955 CLEANFILES
+= terminal.mod mod-terminal.o mod-terminal.c pre-terminal.o terminal_mod-commands_terminal.o def-terminal.lst und-terminal.lst
956 MOSTLYCLEANFILES
+= terminal_mod-commands_terminal.d
957 DEFSYMFILES
+= def-terminal.lst
958 UNDSYMFILES
+= und-terminal.lst
960 terminal.mod
: pre-terminal.o mod-terminal.o
962 $(LD
) $(terminal_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
963 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
965 pre-terminal.o
: terminal_mod-commands_terminal.o
967 $(LD
) $(terminal_mod_LDFLAGS
) -r
-d
-o
$@
$^
969 mod-terminal.o
: mod-terminal.c
970 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
972 mod-terminal.c
: moddep.lst genmodsrc.sh
973 sh
$(srcdir)/genmodsrc.sh
'terminal' $< > $@ ||
(rm -f
$@
; exit
1)
975 def-terminal.lst
: pre-terminal.o
976 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 terminal/' > $@
978 und-terminal.lst
: pre-terminal.o
980 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
982 terminal_mod-commands_terminal.o
: commands
/terminal.c
983 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
985 terminal_mod-commands_terminal.d
: commands
/terminal.c
986 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -M
$< | sed
's,terminal\.o[ :]*,terminal_mod-commands_terminal.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
988 -include terminal_mod-commands_terminal.d
990 CLEANFILES
+= cmd-terminal_mod-commands_terminal.lst fs-terminal_mod-commands_terminal.lst
991 COMMANDFILES
+= cmd-terminal_mod-commands_terminal.lst
992 FSFILES
+= fs-terminal_mod-commands_terminal.lst
994 cmd-terminal_mod-commands_terminal.lst
: commands
/terminal.c gencmdlist.sh
995 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
997 fs-terminal_mod-commands_terminal.lst
: commands
/terminal.c genfslist.sh
998 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
1001 terminal_mod_CFLAGS
= $(COMMON_CFLAGS
)
1002 terminal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1005 ls_mod_SOURCES
= commands
/ls.c
1006 CLEANFILES
+= ls.mod mod-ls.o mod-ls.c pre-ls.o ls_mod-commands_ls.o def-ls.lst und-ls.lst
1007 MOSTLYCLEANFILES
+= ls_mod-commands_ls.d
1008 DEFSYMFILES
+= def-ls.lst
1009 UNDSYMFILES
+= und-ls.lst
1011 ls.mod
: pre-ls.o mod-ls.o
1013 $(LD
) $(ls_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1014 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1016 pre-ls.o
: ls_mod-commands_ls.o
1018 $(LD
) $(ls_mod_LDFLAGS
) -r
-d
-o
$@
$^
1021 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
1023 mod-ls.c
: moddep.lst genmodsrc.sh
1024 sh
$(srcdir)/genmodsrc.sh
'ls' $< > $@ ||
(rm -f
$@
; exit
1)
1026 def-ls.lst
: pre-ls.o
1027 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ls/' > $@
1029 und-ls.lst
: pre-ls.o
1031 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1033 ls_mod-commands_ls.o
: commands
/ls.c
1034 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
1036 ls_mod-commands_ls.d
: commands
/ls.c
1037 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -M
$< | sed
's,ls\.o[ :]*,ls_mod-commands_ls.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1039 -include ls_mod-commands_ls.d
1041 CLEANFILES
+= cmd-ls_mod-commands_ls.lst fs-ls_mod-commands_ls.lst
1042 COMMANDFILES
+= cmd-ls_mod-commands_ls.lst
1043 FSFILES
+= fs-ls_mod-commands_ls.lst
1045 cmd-ls_mod-commands_ls.lst
: commands
/ls.c gencmdlist.sh
1046 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
1048 fs-ls_mod-commands_ls.lst
: commands
/ls.c genfslist.sh
1049 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
1052 ls_mod_CFLAGS
= $(COMMON_CFLAGS
)
1053 ls_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1056 cmp_mod_SOURCES
= commands
/cmp.c
1057 CLEANFILES
+= cmp.mod mod-cmp.o mod-cmp.c pre-cmp.o cmp_mod-commands_cmp.o def-cmp.lst und-cmp.lst
1058 MOSTLYCLEANFILES
+= cmp_mod-commands_cmp.d
1059 DEFSYMFILES
+= def-cmp.lst
1060 UNDSYMFILES
+= und-cmp.lst
1062 cmp.mod
: pre-cmp.o mod-cmp.o
1064 $(LD
) $(cmp_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1065 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1067 pre-cmp.o
: cmp_mod-commands_cmp.o
1069 $(LD
) $(cmp_mod_LDFLAGS
) -r
-d
-o
$@
$^
1071 mod-cmp.o
: mod-cmp.c
1072 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
1074 mod-cmp.c
: moddep.lst genmodsrc.sh
1075 sh
$(srcdir)/genmodsrc.sh
'cmp' $< > $@ ||
(rm -f
$@
; exit
1)
1077 def-cmp.lst
: pre-cmp.o
1078 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cmp/' > $@
1080 und-cmp.lst
: pre-cmp.o
1082 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1084 cmp_mod-commands_cmp.o
: commands
/cmp.c
1085 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
1087 cmp_mod-commands_cmp.d
: commands
/cmp.c
1088 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -M
$< | sed
's,cmp\.o[ :]*,cmp_mod-commands_cmp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1090 -include cmp_mod-commands_cmp.d
1092 CLEANFILES
+= cmd-cmp_mod-commands_cmp.lst fs-cmp_mod-commands_cmp.lst
1093 COMMANDFILES
+= cmd-cmp_mod-commands_cmp.lst
1094 FSFILES
+= fs-cmp_mod-commands_cmp.lst
1096 cmd-cmp_mod-commands_cmp.lst
: commands
/cmp.c gencmdlist.sh
1097 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
1099 fs-cmp_mod-commands_cmp.lst
: commands
/cmp.c genfslist.sh
1100 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
1103 cmp_mod_CFLAGS
= $(COMMON_CFLAGS
)
1104 cmp_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1107 cat_mod_SOURCES
= commands
/cat.c
1108 CLEANFILES
+= cat.mod mod-cat.o mod-cat.c pre-cat.o cat_mod-commands_cat.o def-cat.lst und-cat.lst
1109 MOSTLYCLEANFILES
+= cat_mod-commands_cat.d
1110 DEFSYMFILES
+= def-cat.lst
1111 UNDSYMFILES
+= und-cat.lst
1113 cat.mod
: pre-cat.o mod-cat.o
1115 $(LD
) $(cat_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1116 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1118 pre-cat.o
: cat_mod-commands_cat.o
1120 $(LD
) $(cat_mod_LDFLAGS
) -r
-d
-o
$@
$^
1122 mod-cat.o
: mod-cat.c
1123 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
1125 mod-cat.c
: moddep.lst genmodsrc.sh
1126 sh
$(srcdir)/genmodsrc.sh
'cat' $< > $@ ||
(rm -f
$@
; exit
1)
1128 def-cat.lst
: pre-cat.o
1129 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cat/' > $@
1131 und-cat.lst
: pre-cat.o
1133 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1135 cat_mod-commands_cat.o
: commands
/cat.c
1136 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
1138 cat_mod-commands_cat.d
: commands
/cat.c
1139 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -M
$< | sed
's,cat\.o[ :]*,cat_mod-commands_cat.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1141 -include cat_mod-commands_cat.d
1143 CLEANFILES
+= cmd-cat_mod-commands_cat.lst fs-cat_mod-commands_cat.lst
1144 COMMANDFILES
+= cmd-cat_mod-commands_cat.lst
1145 FSFILES
+= fs-cat_mod-commands_cat.lst
1147 cmd-cat_mod-commands_cat.lst
: commands
/cat.c gencmdlist.sh
1148 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
1150 fs-cat_mod-commands_cat.lst
: commands
/cat.c genfslist.sh
1151 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
1154 cat_mod_CFLAGS
= $(COMMON_CFLAGS
)
1155 cat_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1158 help_mod_SOURCES
= commands
/help.c
1159 CLEANFILES
+= help.mod mod-help.o mod-help.c pre-help.o help_mod-commands_help.o def-help.lst und-help.lst
1160 MOSTLYCLEANFILES
+= help_mod-commands_help.d
1161 DEFSYMFILES
+= def-help.lst
1162 UNDSYMFILES
+= und-help.lst
1164 help.mod
: pre-help.o mod-help.o
1166 $(LD
) $(help_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1167 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1169 pre-help.o
: help_mod-commands_help.o
1171 $(LD
) $(help_mod_LDFLAGS
) -r
-d
-o
$@
$^
1173 mod-help.o
: mod-help.c
1174 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
1176 mod-help.c
: moddep.lst genmodsrc.sh
1177 sh
$(srcdir)/genmodsrc.sh
'help' $< > $@ ||
(rm -f
$@
; exit
1)
1179 def-help.lst
: pre-help.o
1180 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 help/' > $@
1182 und-help.lst
: pre-help.o
1184 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1186 help_mod-commands_help.o
: commands
/help.c
1187 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
1189 help_mod-commands_help.d
: commands
/help.c
1190 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -M
$< | sed
's,help\.o[ :]*,help_mod-commands_help.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1192 -include help_mod-commands_help.d
1194 CLEANFILES
+= cmd-help_mod-commands_help.lst fs-help_mod-commands_help.lst
1195 COMMANDFILES
+= cmd-help_mod-commands_help.lst
1196 FSFILES
+= fs-help_mod-commands_help.lst
1198 cmd-help_mod-commands_help.lst
: commands
/help.c gencmdlist.sh
1199 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh help
> $@ ||
(rm -f
$@
; exit
1)
1201 fs-help_mod-commands_help.lst
: commands
/help.c genfslist.sh
1202 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh help
> $@ ||
(rm -f
$@
; exit
1)
1205 help_mod_CFLAGS
= $(COMMON_CFLAGS
)
1206 help_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1209 font_mod_SOURCES
= font
/manager.c
1210 CLEANFILES
+= font.mod mod-font.o mod-font.c pre-font.o font_mod-font_manager.o def-font.lst und-font.lst
1211 MOSTLYCLEANFILES
+= font_mod-font_manager.d
1212 DEFSYMFILES
+= def-font.lst
1213 UNDSYMFILES
+= und-font.lst
1215 font.mod
: pre-font.o mod-font.o
1217 $(LD
) $(font_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1218 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1220 pre-font.o
: font_mod-font_manager.o
1222 $(LD
) $(font_mod_LDFLAGS
) -r
-d
-o
$@
$^
1224 mod-font.o
: mod-font.c
1225 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
1227 mod-font.c
: moddep.lst genmodsrc.sh
1228 sh
$(srcdir)/genmodsrc.sh
'font' $< > $@ ||
(rm -f
$@
; exit
1)
1230 def-font.lst
: pre-font.o
1231 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 font/' > $@
1233 und-font.lst
: pre-font.o
1235 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1237 font_mod-font_manager.o
: font
/manager.c
1238 $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
1240 font_mod-font_manager.d
: font
/manager.c
1241 set
-e
; $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -M
$< | sed
's,manager\.o[ :]*,font_mod-font_manager.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1243 -include font_mod-font_manager.d
1245 CLEANFILES
+= cmd-font_mod-font_manager.lst fs-font_mod-font_manager.lst
1246 COMMANDFILES
+= cmd-font_mod-font_manager.lst
1247 FSFILES
+= fs-font_mod-font_manager.lst
1249 cmd-font_mod-font_manager.lst
: font
/manager.c gencmdlist.sh
1250 set
-e
; $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh font
> $@ ||
(rm -f
$@
; exit
1)
1252 fs-font_mod-font_manager.lst
: font
/manager.c genfslist.sh
1253 set
-e
; $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh font
> $@ ||
(rm -f
$@
; exit
1)
1256 font_mod_CFLAGS
= $(COMMON_CFLAGS
)
1257 font_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1260 search_mod_SOURCES
= commands
/search.c
1261 CLEANFILES
+= search.mod mod-search.o mod-search.c pre-search.o search_mod-commands_search.o def-search.lst und-search.lst
1262 MOSTLYCLEANFILES
+= search_mod-commands_search.d
1263 DEFSYMFILES
+= def-search.lst
1264 UNDSYMFILES
+= und-search.lst
1266 search.mod
: pre-search.o mod-search.o
1268 $(LD
) $(search_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1269 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1271 pre-search.o
: search_mod-commands_search.o
1273 $(LD
) $(search_mod_LDFLAGS
) -r
-d
-o
$@
$^
1275 mod-search.o
: mod-search.c
1276 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -c
-o
$@
$<
1278 mod-search.c
: moddep.lst genmodsrc.sh
1279 sh
$(srcdir)/genmodsrc.sh
'search' $< > $@ ||
(rm -f
$@
; exit
1)
1281 def-search.lst
: pre-search.o
1282 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 search/' > $@
1284 und-search.lst
: pre-search.o
1286 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1288 search_mod-commands_search.o
: commands
/search.c
1289 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -c
-o
$@
$<
1291 search_mod-commands_search.d
: commands
/search.c
1292 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -M
$< | sed
's,search\.o[ :]*,search_mod-commands_search.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1294 -include search_mod-commands_search.d
1296 CLEANFILES
+= cmd-search_mod-commands_search.lst fs-search_mod-commands_search.lst
1297 COMMANDFILES
+= cmd-search_mod-commands_search.lst
1298 FSFILES
+= fs-search_mod-commands_search.lst
1300 cmd-search_mod-commands_search.lst
: commands
/search.c gencmdlist.sh
1301 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh search
> $@ ||
(rm -f
$@
; exit
1)
1303 fs-search_mod-commands_search.lst
: commands
/search.c genfslist.sh
1304 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh search
> $@ ||
(rm -f
$@
; exit
1)
1307 search_mod_CFLAGS
= $(COMMON_CFLAGS
)
1308 search_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1311 test_mod_SOURCES
= commands
/test.c
1312 test_mod_CFLAGS
= $(COMMON_CFLAGS
)
1313 test_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1316 loopback_mod_SOURCES
= disk
/loopback.c
1317 CLEANFILES
+= loopback.mod mod-loopback.o mod-loopback.c pre-loopback.o loopback_mod-disk_loopback.o def-loopback.lst und-loopback.lst
1318 MOSTLYCLEANFILES
+= loopback_mod-disk_loopback.d
1319 DEFSYMFILES
+= def-loopback.lst
1320 UNDSYMFILES
+= und-loopback.lst
1322 loopback.mod
: pre-loopback.o mod-loopback.o
1324 $(LD
) $(loopback_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1325 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1327 pre-loopback.o
: loopback_mod-disk_loopback.o
1329 $(LD
) $(loopback_mod_LDFLAGS
) -r
-d
-o
$@
$^
1331 mod-loopback.o
: mod-loopback.c
1332 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
1334 mod-loopback.c
: moddep.lst genmodsrc.sh
1335 sh
$(srcdir)/genmodsrc.sh
'loopback' $< > $@ ||
(rm -f
$@
; exit
1)
1337 def-loopback.lst
: pre-loopback.o
1338 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 loopback/' > $@
1340 und-loopback.lst
: pre-loopback.o
1341 echo
'loopback' > $@
1342 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1344 loopback_mod-disk_loopback.o
: disk
/loopback.c
1345 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
1347 loopback_mod-disk_loopback.d
: disk
/loopback.c
1348 set
-e
; $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -M
$< | sed
's,loopback\.o[ :]*,loopback_mod-disk_loopback.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1350 -include loopback_mod-disk_loopback.d
1352 CLEANFILES
+= cmd-loopback_mod-disk_loopback.lst fs-loopback_mod-disk_loopback.lst
1353 COMMANDFILES
+= cmd-loopback_mod-disk_loopback.lst
1354 FSFILES
+= fs-loopback_mod-disk_loopback.lst
1356 cmd-loopback_mod-disk_loopback.lst
: disk
/loopback.c gencmdlist.sh
1357 set
-e
; $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
1359 fs-loopback_mod-disk_loopback.lst
: disk
/loopback.c genfslist.sh
1360 set
-e
; $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
1363 loopback_mod_CFLAGS
= $(COMMON_CFLAGS
)
1364 loopback_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1367 default_mod_SOURCES
= commands
/default.c
1368 CLEANFILES
+= default.mod mod-default.o mod-default.c pre-default.o default_mod-commands_default.o def-default.lst und-default.lst
1369 MOSTLYCLEANFILES
+= default_mod-commands_default.d
1370 DEFSYMFILES
+= def-default.lst
1371 UNDSYMFILES
+= und-default.lst
1373 default.mod
: pre-default.o mod-default.o
1375 $(LD
) $(default_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1376 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1378 pre-default.o
: default_mod-commands_default.o
1380 $(LD
) $(default_mod_LDFLAGS
) -r
-d
-o
$@
$^
1382 mod-default.o
: mod-default.c
1383 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -c
-o
$@
$<
1385 mod-default.c
: moddep.lst genmodsrc.sh
1386 sh
$(srcdir)/genmodsrc.sh
'default' $< > $@ ||
(rm -f
$@
; exit
1)
1388 def-default.lst
: pre-default.o
1389 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 default/' > $@
1391 und-default.lst
: pre-default.o
1393 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1395 default_mod-commands_default.o
: commands
/default.c
1396 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -c
-o
$@
$<
1398 default_mod-commands_default.d
: commands
/default.c
1399 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -M
$< | sed
's,default\.o[ :]*,default_mod-commands_default.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1401 -include default_mod-commands_default.d
1403 CLEANFILES
+= cmd-default_mod-commands_default.lst fs-default_mod-commands_default.lst
1404 COMMANDFILES
+= cmd-default_mod-commands_default.lst
1405 FSFILES
+= fs-default_mod-commands_default.lst
1407 cmd-default_mod-commands_default.lst
: commands
/default.c gencmdlist.sh
1408 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh default
> $@ ||
(rm -f
$@
; exit
1)
1410 fs-default_mod-commands_default.lst
: commands
/default.c genfslist.sh
1411 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh default
> $@ ||
(rm -f
$@
; exit
1)
1414 default_mod_CFLAGS
= $(COMMON_CFLAGS
)
1415 default_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1418 timeout_mod_SOURCES
= commands
/timeout.c
1419 CLEANFILES
+= timeout.mod mod-timeout.o mod-timeout.c pre-timeout.o timeout_mod-commands_timeout.o def-timeout.lst und-timeout.lst
1420 MOSTLYCLEANFILES
+= timeout_mod-commands_timeout.d
1421 DEFSYMFILES
+= def-timeout.lst
1422 UNDSYMFILES
+= und-timeout.lst
1424 timeout.mod
: pre-timeout.o mod-timeout.o
1426 $(LD
) $(timeout_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1427 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1429 pre-timeout.o
: timeout_mod-commands_timeout.o
1431 $(LD
) $(timeout_mod_LDFLAGS
) -r
-d
-o
$@
$^
1433 mod-timeout.o
: mod-timeout.c
1434 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -c
-o
$@
$<
1436 mod-timeout.c
: moddep.lst genmodsrc.sh
1437 sh
$(srcdir)/genmodsrc.sh
'timeout' $< > $@ ||
(rm -f
$@
; exit
1)
1439 def-timeout.lst
: pre-timeout.o
1440 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 timeout/' > $@
1442 und-timeout.lst
: pre-timeout.o
1444 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1446 timeout_mod-commands_timeout.o
: commands
/timeout.c
1447 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -c
-o
$@
$<
1449 timeout_mod-commands_timeout.d
: commands
/timeout.c
1450 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -M
$< | sed
's,timeout\.o[ :]*,timeout_mod-commands_timeout.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1452 -include timeout_mod-commands_timeout.d
1454 CLEANFILES
+= cmd-timeout_mod-commands_timeout.lst fs-timeout_mod-commands_timeout.lst
1455 COMMANDFILES
+= cmd-timeout_mod-commands_timeout.lst
1456 FSFILES
+= fs-timeout_mod-commands_timeout.lst
1458 cmd-timeout_mod-commands_timeout.lst
: commands
/timeout.c gencmdlist.sh
1459 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh timeout
> $@ ||
(rm -f
$@
; exit
1)
1461 fs-timeout_mod-commands_timeout.lst
: commands
/timeout.c genfslist.sh
1462 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh timeout
> $@ ||
(rm -f
$@
; exit
1)
1465 timeout_mod_CFLAGS
= $(COMMON_CFLAGS
)
1466 timeout_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1468 # For configfile.mod
1469 configfile_mod_SOURCES
= commands
/configfile.c
1470 CLEANFILES
+= configfile.mod mod-configfile.o mod-configfile.c pre-configfile.o configfile_mod-commands_configfile.o def-configfile.lst und-configfile.lst
1471 MOSTLYCLEANFILES
+= configfile_mod-commands_configfile.d
1472 DEFSYMFILES
+= def-configfile.lst
1473 UNDSYMFILES
+= und-configfile.lst
1475 configfile.mod
: pre-configfile.o mod-configfile.o
1477 $(LD
) $(configfile_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1478 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1480 pre-configfile.o
: configfile_mod-commands_configfile.o
1482 $(LD
) $(configfile_mod_LDFLAGS
) -r
-d
-o
$@
$^
1484 mod-configfile.o
: mod-configfile.c
1485 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
1487 mod-configfile.c
: moddep.lst genmodsrc.sh
1488 sh
$(srcdir)/genmodsrc.sh
'configfile' $< > $@ ||
(rm -f
$@
; exit
1)
1490 def-configfile.lst
: pre-configfile.o
1491 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 configfile/' > $@
1493 und-configfile.lst
: pre-configfile.o
1494 echo
'configfile' > $@
1495 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1497 configfile_mod-commands_configfile.o
: commands
/configfile.c
1498 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
1500 configfile_mod-commands_configfile.d
: commands
/configfile.c
1501 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -M
$< | sed
's,configfile\.o[ :]*,configfile_mod-commands_configfile.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1503 -include configfile_mod-commands_configfile.d
1505 CLEANFILES
+= cmd-configfile_mod-commands_configfile.lst fs-configfile_mod-commands_configfile.lst
1506 COMMANDFILES
+= cmd-configfile_mod-commands_configfile.lst
1507 FSFILES
+= fs-configfile_mod-commands_configfile.lst
1509 cmd-configfile_mod-commands_configfile.lst
: commands
/configfile.c gencmdlist.sh
1510 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
1512 fs-configfile_mod-commands_configfile.lst
: commands
/configfile.c genfslist.sh
1513 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
1516 configfile_mod_CFLAGS
= $(COMMON_CFLAGS
)
1517 configfile_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1520 terminfo_mod_SOURCES
= term
/terminfo.c term
/tparm.c
1521 CLEANFILES
+= terminfo.mod mod-terminfo.o mod-terminfo.c pre-terminfo.o terminfo_mod-term_terminfo.o terminfo_mod-term_tparm.o def-terminfo.lst und-terminfo.lst
1522 MOSTLYCLEANFILES
+= terminfo_mod-term_terminfo.d terminfo_mod-term_tparm.d
1523 DEFSYMFILES
+= def-terminfo.lst
1524 UNDSYMFILES
+= und-terminfo.lst
1526 terminfo.mod
: pre-terminfo.o mod-terminfo.o
1528 $(LD
) $(terminfo_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1529 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1531 pre-terminfo.o
: terminfo_mod-term_terminfo.o terminfo_mod-term_tparm.o
1533 $(LD
) $(terminfo_mod_LDFLAGS
) -r
-d
-o
$@
$^
1535 mod-terminfo.o
: mod-terminfo.c
1536 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -c
-o
$@
$<
1538 mod-terminfo.c
: moddep.lst genmodsrc.sh
1539 sh
$(srcdir)/genmodsrc.sh
'terminfo' $< > $@ ||
(rm -f
$@
; exit
1)
1541 def-terminfo.lst
: pre-terminfo.o
1542 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 terminfo/' > $@
1544 und-terminfo.lst
: pre-terminfo.o
1545 echo
'terminfo' > $@
1546 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1548 terminfo_mod-term_terminfo.o
: term
/terminfo.c
1549 $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -c
-o
$@
$<
1551 terminfo_mod-term_terminfo.d
: term
/terminfo.c
1552 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -M
$< | sed
's,terminfo\.o[ :]*,terminfo_mod-term_terminfo.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1554 -include terminfo_mod-term_terminfo.d
1556 CLEANFILES
+= cmd-terminfo_mod-term_terminfo.lst fs-terminfo_mod-term_terminfo.lst
1557 COMMANDFILES
+= cmd-terminfo_mod-term_terminfo.lst
1558 FSFILES
+= fs-terminfo_mod-term_terminfo.lst
1560 cmd-terminfo_mod-term_terminfo.lst
: term
/terminfo.c gencmdlist.sh
1561 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
1563 fs-terminfo_mod-term_terminfo.lst
: term
/terminfo.c genfslist.sh
1564 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
1567 terminfo_mod-term_tparm.o
: term
/tparm.c
1568 $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -c
-o
$@
$<
1570 terminfo_mod-term_tparm.d
: term
/tparm.c
1571 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -M
$< | sed
's,tparm\.o[ :]*,terminfo_mod-term_tparm.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1573 -include terminfo_mod-term_tparm.d
1575 CLEANFILES
+= cmd-terminfo_mod-term_tparm.lst fs-terminfo_mod-term_tparm.lst
1576 COMMANDFILES
+= cmd-terminfo_mod-term_tparm.lst
1577 FSFILES
+= fs-terminfo_mod-term_tparm.lst
1579 cmd-terminfo_mod-term_tparm.lst
: term
/tparm.c gencmdlist.sh
1580 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
1582 fs-terminfo_mod-term_tparm.lst
: term
/tparm.c genfslist.sh
1583 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
1586 terminfo_mod_CFLAGS
= $(COMMON_CFLAGS
)
1587 terminfo_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1591 pkgdata_MODULES
+= gzio.mod
1594 gzio_mod_SOURCES
= io
/gzio.c
1595 CLEANFILES
+= gzio.mod mod-gzio.o mod-gzio.c pre-gzio.o gzio_mod-io_gzio.o def-gzio.lst und-gzio.lst
1596 MOSTLYCLEANFILES
+= gzio_mod-io_gzio.d
1597 DEFSYMFILES
+= def-gzio.lst
1598 UNDSYMFILES
+= und-gzio.lst
1600 gzio.mod
: pre-gzio.o mod-gzio.o
1602 $(LD
) $(gzio_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1603 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1605 pre-gzio.o
: gzio_mod-io_gzio.o
1607 $(LD
) $(gzio_mod_LDFLAGS
) -r
-d
-o
$@
$^
1609 mod-gzio.o
: mod-gzio.c
1610 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -c
-o
$@
$<
1612 mod-gzio.c
: moddep.lst genmodsrc.sh
1613 sh
$(srcdir)/genmodsrc.sh
'gzio' $< > $@ ||
(rm -f
$@
; exit
1)
1615 def-gzio.lst
: pre-gzio.o
1616 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 gzio/' > $@
1618 und-gzio.lst
: pre-gzio.o
1620 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1622 gzio_mod-io_gzio.o
: io
/gzio.c
1623 $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -c
-o
$@
$<
1625 gzio_mod-io_gzio.d
: io
/gzio.c
1626 set
-e
; $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -M
$< | sed
's,gzio\.o[ :]*,gzio_mod-io_gzio.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1628 -include gzio_mod-io_gzio.d
1630 CLEANFILES
+= cmd-gzio_mod-io_gzio.lst fs-gzio_mod-io_gzio.lst
1631 COMMANDFILES
+= cmd-gzio_mod-io_gzio.lst
1632 FSFILES
+= fs-gzio_mod-io_gzio.lst
1634 cmd-gzio_mod-io_gzio.lst
: io
/gzio.c gencmdlist.sh
1635 set
-e
; $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
1637 fs-gzio_mod-io_gzio.lst
: io
/gzio.c genfslist.sh
1638 set
-e
; $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
1641 gzio_mod_CFLAGS
= $(COMMON_CFLAGS
)
1642 gzio_mod_LDFLAGS
= $(COMMON_LDFLAGS
)