6
6
DISTCLEANFILES += grub_script.tab.c grub_script.tab.h
9
grub_modules_init.lst: geninit.sh $(filter-out grub_emu_init.c,$(grub_emu_SOURCES))
9
grub_emu_init.lst: geninit.sh $(filter-out grub_emu_init.c,$(grub_emu_SOURCES))
10
10
rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
11
DISTCLEANFILES += grub_modules_init.lst
13
grub_modules_init.h: $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninitheader.sh grub_modules_init.lst
14
rm -f $@; sh $(srcdir)/geninitheader.sh > $@
15
DISTCLEANFILES += grub_modules_init.h
17
grub_emu_init.c: $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninit.sh grub_modules_init.lst grub_modules_init.h
18
rm -f $@; sh $(srcdir)/geninit.sh $(filter %.c,$^) > $@
11
DISTCLEANFILES += grub_emu_init.lst
13
grub_emu_init.h: grub_emu_init.lst $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninitheader.sh
14
rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
15
DISTCLEANFILES += grub_emu_init.h
17
grub_emu_init.c: grub_emu_init.lst $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninit.sh grub_emu_init.h
18
rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
19
19
DISTCLEANFILES += grub_emu_init.c
22
grub_probe_init.lst: geninit.sh $(filter-out grub_probe_init.c,$(grub_probe_SOURCES))
23
rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
24
DISTCLEANFILES += grub_probe_init.lst
26
grub_probe_init.h: grub_probe_init.lst $(filter-out grub_probe_init.c,$(grub_probe_SOURCES)) geninitheader.sh
27
rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
28
DISTCLEANFILES += grub_probe_init.h
30
grub_probe_init.c: grub_probe_init.lst $(filter-out grub_probe_init.c,$(grub_probe_SOURCES)) geninit.sh grub_probe_init.h
31
rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
32
DISTCLEANFILES += grub_probe_init.c
35
grub_setup_init.lst: geninit.sh $(filter-out grub_setup_init.c,$(grub_setup_SOURCES))
36
rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
37
DISTCLEANFILES += grub_setup_init.lst
39
grub_setup_init.h: grub_setup_init.lst $(filter-out grub_setup_init.c,$(grub_setup_SOURCES)) geninitheader.sh
40
rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
41
DISTCLEANFILES += grub_setup_init.h
43
grub_setup_init.c: grub_setup_init.lst $(filter-out grub_setup_init.c,$(grub_setup_SOURCES)) geninit.sh grub_setup_init.h
44
rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
45
DISTCLEANFILES += grub_setup_init.c
22
48
update-grub: util/update-grub.in config.status
23
49
./config.status --file=$@:$<
92
118
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
94
120
fshelp_mod-fs_fshelp.o: fs/fshelp.c
95
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(fshelp_mod_CFLAGS) -MD -c -o $@ $<
121
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(fshelp_mod_CFLAGS) -MD -c -o $@ $<
96
122
-include fshelp_mod-fs_fshelp.d
98
124
CLEANFILES += cmd-fshelp_mod-fs_fshelp.lst fs-fshelp_mod-fs_fshelp.lst
144
170
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
146
172
fat_mod-fs_fat.o: fs/fat.c
147
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(fat_mod_CFLAGS) -MD -c -o $@ $<
173
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(fat_mod_CFLAGS) -MD -c -o $@ $<
148
174
-include fat_mod-fs_fat.d
150
176
CLEANFILES += cmd-fat_mod-fs_fat.lst fs-fat_mod-fs_fat.lst
196
222
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
198
224
ufs_mod-fs_ufs.o: fs/ufs.c
199
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ufs_mod_CFLAGS) -MD -c -o $@ $<
225
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ufs_mod_CFLAGS) -MD -c -o $@ $<
200
226
-include ufs_mod-fs_ufs.d
202
228
CLEANFILES += cmd-ufs_mod-fs_ufs.lst fs-ufs_mod-fs_ufs.lst
248
274
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
250
276
ext2_mod-fs_ext2.o: fs/ext2.c
251
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ext2_mod_CFLAGS) -MD -c -o $@ $<
277
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ext2_mod_CFLAGS) -MD -c -o $@ $<
252
278
-include ext2_mod-fs_ext2.d
254
280
CLEANFILES += cmd-ext2_mod-fs_ext2.lst fs-ext2_mod-fs_ext2.lst
265
291
ext2_mod_CFLAGS = $(COMMON_CFLAGS)
266
292
ext2_mod_LDFLAGS = $(COMMON_LDFLAGS)
295
ntfs_mod_SOURCES = fs/ntfs.c
296
CLEANFILES += ntfs.mod mod-ntfs.o mod-ntfs.c pre-ntfs.o ntfs_mod-fs_ntfs.o und-ntfs.lst
297
ifneq ($(ntfs_mod_EXPORTS),no)
298
CLEANFILES += def-ntfs.lst
299
DEFSYMFILES += def-ntfs.lst
301
MOSTLYCLEANFILES += ntfs_mod-fs_ntfs.d
302
UNDSYMFILES += und-ntfs.lst
304
ntfs.mod: pre-ntfs.o mod-ntfs.o
306
$(TARGET_CC) $(ntfs_mod_LDFLAGS) $(TARGET_LDFLAGS) -Wl,-r,-d -o $@ $^
307
$(STRIP) --strip-unneeded -K grub_mod_init -K grub_mod_fini -R .note -R .comment $@
309
pre-ntfs.o: $(ntfs_mod_DEPENDENCIES) ntfs_mod-fs_ntfs.o
311
$(TARGET_CC) $(ntfs_mod_LDFLAGS) $(TARGET_LDFLAGS) -Wl,-r,-d -o $@ ntfs_mod-fs_ntfs.o
313
mod-ntfs.o: mod-ntfs.c
314
$(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ntfs_mod_CFLAGS) -c -o $@ $<
316
mod-ntfs.c: moddep.lst genmodsrc.sh
317
sh $(srcdir)/genmodsrc.sh 'ntfs' $< > $@ || (rm -f $@; exit 1)
319
ifneq ($(ntfs_mod_EXPORTS),no)
320
def-ntfs.lst: pre-ntfs.o
321
$(NM) -g --defined-only -P -p $< | sed 's/^\([^ ]*\).*/\1 ntfs/' > $@
324
und-ntfs.lst: pre-ntfs.o
326
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
328
ntfs_mod-fs_ntfs.o: fs/ntfs.c
329
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ntfs_mod_CFLAGS) -MD -c -o $@ $<
330
-include ntfs_mod-fs_ntfs.d
332
CLEANFILES += cmd-ntfs_mod-fs_ntfs.lst fs-ntfs_mod-fs_ntfs.lst
333
COMMANDFILES += cmd-ntfs_mod-fs_ntfs.lst
334
FSFILES += fs-ntfs_mod-fs_ntfs.lst
336
cmd-ntfs_mod-fs_ntfs.lst: fs/ntfs.c gencmdlist.sh
337
set -e; $(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ntfs_mod_CFLAGS) -E $< | sh $(srcdir)/gencmdlist.sh ntfs > $@ || (rm -f $@; exit 1)
339
fs-ntfs_mod-fs_ntfs.lst: fs/ntfs.c genfslist.sh
340
set -e; $(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ntfs_mod_CFLAGS) -E $< | sh $(srcdir)/genfslist.sh ntfs > $@ || (rm -f $@; exit 1)
343
ntfs_mod_CFLAGS = $(COMMON_CFLAGS)
344
ntfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
269
347
minix_mod_SOURCES = fs/minix.c
270
348
CLEANFILES += minix.mod mod-minix.o mod-minix.c pre-minix.o minix_mod-fs_minix.o und-minix.lst
300
378
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
302
380
minix_mod-fs_minix.o: fs/minix.c
303
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(minix_mod_CFLAGS) -MD -c -o $@ $<
381
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(minix_mod_CFLAGS) -MD -c -o $@ $<
304
382
-include minix_mod-fs_minix.d
306
384
CLEANFILES += cmd-minix_mod-fs_minix.lst fs-minix_mod-fs_minix.lst
352
430
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
354
432
hfs_mod-fs_hfs.o: fs/hfs.c
355
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(hfs_mod_CFLAGS) -MD -c -o $@ $<
433
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(hfs_mod_CFLAGS) -MD -c -o $@ $<
356
434
-include hfs_mod-fs_hfs.d
358
436
CLEANFILES += cmd-hfs_mod-fs_hfs.lst fs-hfs_mod-fs_hfs.lst
404
482
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
406
484
jfs_mod-fs_jfs.o: fs/jfs.c
407
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(jfs_mod_CFLAGS) -MD -c -o $@ $<
485
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(jfs_mod_CFLAGS) -MD -c -o $@ $<
408
486
-include jfs_mod-fs_jfs.d
410
488
CLEANFILES += cmd-jfs_mod-fs_jfs.lst fs-jfs_mod-fs_jfs.lst
456
534
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
458
536
iso9660_mod-fs_iso9660.o: fs/iso9660.c
459
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(iso9660_mod_CFLAGS) -MD -c -o $@ $<
537
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(iso9660_mod_CFLAGS) -MD -c -o $@ $<
460
538
-include iso9660_mod-fs_iso9660.d
462
540
CLEANFILES += cmd-iso9660_mod-fs_iso9660.lst fs-iso9660_mod-fs_iso9660.lst
508
586
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
510
588
xfs_mod-fs_xfs.o: fs/xfs.c
511
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(xfs_mod_CFLAGS) -MD -c -o $@ $<
589
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(xfs_mod_CFLAGS) -MD -c -o $@ $<
512
590
-include xfs_mod-fs_xfs.d
514
592
CLEANFILES += cmd-xfs_mod-fs_xfs.lst fs-xfs_mod-fs_xfs.lst
560
638
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
562
640
affs_mod-fs_affs.o: fs/affs.c
563
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(affs_mod_CFLAGS) -MD -c -o $@ $<
641
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(affs_mod_CFLAGS) -MD -c -o $@ $<
564
642
-include affs_mod-fs_affs.d
566
644
CLEANFILES += cmd-affs_mod-fs_affs.lst fs-affs_mod-fs_affs.lst
612
690
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
614
692
sfs_mod-fs_sfs.o: fs/sfs.c
615
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(sfs_mod_CFLAGS) -MD -c -o $@ $<
693
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(sfs_mod_CFLAGS) -MD -c -o $@ $<
616
694
-include sfs_mod-fs_sfs.d
618
696
CLEANFILES += cmd-sfs_mod-fs_sfs.lst fs-sfs_mod-fs_sfs.lst
664
742
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
666
744
hfsplus_mod-fs_hfsplus.o: fs/hfsplus.c
667
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(hfsplus_mod_CFLAGS) -MD -c -o $@ $<
745
$(TARGET_CC) -Ifs -I$(srcdir)/fs $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(hfsplus_mod_CFLAGS) -MD -c -o $@ $<
668
746
-include hfsplus_mod-fs_hfsplus.d
670
748
CLEANFILES += cmd-hfsplus_mod-fs_hfsplus.lst fs-hfsplus_mod-fs_hfsplus.lst
719
797
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
721
799
amiga_mod-partmap_amiga.o: partmap/amiga.c
722
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(amiga_mod_CFLAGS) -MD -c -o $@ $<
800
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(amiga_mod_CFLAGS) -MD -c -o $@ $<
723
801
-include amiga_mod-partmap_amiga.d
725
803
CLEANFILES += cmd-amiga_mod-partmap_amiga.lst fs-amiga_mod-partmap_amiga.lst
771
849
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
773
851
apple_mod-partmap_apple.o: partmap/apple.c
774
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(apple_mod_CFLAGS) -MD -c -o $@ $<
852
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(apple_mod_CFLAGS) -MD -c -o $@ $<
775
853
-include apple_mod-partmap_apple.d
777
855
CLEANFILES += cmd-apple_mod-partmap_apple.lst fs-apple_mod-partmap_apple.lst
823
901
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
825
903
pc_mod-partmap_pc.o: partmap/pc.c
826
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(pc_mod_CFLAGS) -MD -c -o $@ $<
904
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(pc_mod_CFLAGS) -MD -c -o $@ $<
827
905
-include pc_mod-partmap_pc.d
829
907
CLEANFILES += cmd-pc_mod-partmap_pc.lst fs-pc_mod-partmap_pc.lst
875
953
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
877
955
sun_mod-partmap_sun.o: partmap/sun.c
878
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(sun_mod_CFLAGS) -MD -c -o $@ $<
956
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(sun_mod_CFLAGS) -MD -c -o $@ $<
879
957
-include sun_mod-partmap_sun.d
881
959
CLEANFILES += cmd-sun_mod-partmap_sun.lst fs-sun_mod-partmap_sun.lst
927
1005
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
929
1007
acorn_mod-partmap_acorn.o: partmap/acorn.c
930
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(acorn_mod_CFLAGS) -MD -c -o $@ $<
1008
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(acorn_mod_CFLAGS) -MD -c -o $@ $<
931
1009
-include acorn_mod-partmap_acorn.d
933
1011
CLEANFILES += cmd-acorn_mod-partmap_acorn.lst fs-acorn_mod-partmap_acorn.lst
979
1057
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
981
1059
gpt_mod-partmap_gpt.o: partmap/gpt.c
982
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(gpt_mod_CFLAGS) -MD -c -o $@ $<
1060
$(TARGET_CC) -Ipartmap -I$(srcdir)/partmap $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(gpt_mod_CFLAGS) -MD -c -o $@ $<
983
1061
-include gpt_mod-partmap_gpt.d
985
1063
CLEANFILES += cmd-gpt_mod-partmap_gpt.lst fs-gpt_mod-partmap_gpt.lst
1035
1113
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1037
1115
raid_mod-disk_raid.o: disk/raid.c
1038
$(TARGET_CC) -Idisk -I$(srcdir)/disk $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(raid_mod_CFLAGS) -MD -c -o $@ $<
1116
$(TARGET_CC) -Idisk -I$(srcdir)/disk $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(raid_mod_CFLAGS) -MD -c -o $@ $<
1039
1117
-include raid_mod-disk_raid.d
1041
1119
CLEANFILES += cmd-raid_mod-disk_raid.lst fs-raid_mod-disk_raid.lst
1087
1165
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1089
1167
lvm_mod-disk_lvm.o: disk/lvm.c
1090
$(TARGET_CC) -Idisk -I$(srcdir)/disk $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(lvm_mod_CFLAGS) -MD -c -o $@ $<
1168
$(TARGET_CC) -Idisk -I$(srcdir)/disk $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(lvm_mod_CFLAGS) -MD -c -o $@ $<
1091
1169
-include lvm_mod-disk_lvm.d
1093
1171
CLEANFILES += cmd-lvm_mod-disk_lvm.lst fs-lvm_mod-disk_lvm.lst
1145
1223
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1147
1225
hello_mod-hello_hello.o: hello/hello.c
1148
$(TARGET_CC) -Ihello -I$(srcdir)/hello $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(hello_mod_CFLAGS) -MD -c -o $@ $<
1226
$(TARGET_CC) -Ihello -I$(srcdir)/hello $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(hello_mod_CFLAGS) -MD -c -o $@ $<
1149
1227
-include hello_mod-hello_hello.d
1151
1229
CLEANFILES += cmd-hello_mod-hello_hello.lst fs-hello_mod-hello_hello.lst
1197
1275
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1199
1277
boot_mod-commands_boot.o: commands/boot.c
1200
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(boot_mod_CFLAGS) -MD -c -o $@ $<
1278
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(boot_mod_CFLAGS) -MD -c -o $@ $<
1201
1279
-include boot_mod-commands_boot.d
1203
1281
CLEANFILES += cmd-boot_mod-commands_boot.lst fs-boot_mod-commands_boot.lst
1249
1327
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1251
1329
terminal_mod-commands_terminal.o: commands/terminal.c
1252
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(terminal_mod_CFLAGS) -MD -c -o $@ $<
1330
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(terminal_mod_CFLAGS) -MD -c -o $@ $<
1253
1331
-include terminal_mod-commands_terminal.d
1255
1333
CLEANFILES += cmd-terminal_mod-commands_terminal.lst fs-terminal_mod-commands_terminal.lst
1301
1379
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1303
1381
ls_mod-commands_ls.o: commands/ls.c
1304
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ls_mod_CFLAGS) -MD -c -o $@ $<
1382
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ls_mod_CFLAGS) -MD -c -o $@ $<
1305
1383
-include ls_mod-commands_ls.d
1307
1385
CLEANFILES += cmd-ls_mod-commands_ls.lst fs-ls_mod-commands_ls.lst
1353
1431
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1355
1433
cmp_mod-commands_cmp.o: commands/cmp.c
1356
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(cmp_mod_CFLAGS) -MD -c -o $@ $<
1434
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(cmp_mod_CFLAGS) -MD -c -o $@ $<
1357
1435
-include cmp_mod-commands_cmp.d
1359
1437
CLEANFILES += cmd-cmp_mod-commands_cmp.lst fs-cmp_mod-commands_cmp.lst
1405
1483
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1407
1485
cat_mod-commands_cat.o: commands/cat.c
1408
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(cat_mod_CFLAGS) -MD -c -o $@ $<
1486
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(cat_mod_CFLAGS) -MD -c -o $@ $<
1409
1487
-include cat_mod-commands_cat.d
1411
1489
CLEANFILES += cmd-cat_mod-commands_cat.lst fs-cat_mod-commands_cat.lst
1462
1540
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1464
1542
help_mod-commands_help.o: commands/help.c
1465
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(help_mod_CFLAGS) -MD -c -o $@ $<
1543
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(help_mod_CFLAGS) -MD -c -o $@ $<
1466
1544
-include help_mod-commands_help.d
1468
1546
CLEANFILES += cmd-help_mod-commands_help.lst fs-help_mod-commands_help.lst
1514
1592
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1516
1594
font_mod-font_manager.o: font/manager.c
1517
$(TARGET_CC) -Ifont -I$(srcdir)/font $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(font_mod_CFLAGS) -MD -c -o $@ $<
1595
$(TARGET_CC) -Ifont -I$(srcdir)/font $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(font_mod_CFLAGS) -MD -c -o $@ $<
1518
1596
-include font_mod-font_manager.d
1520
1598
CLEANFILES += cmd-font_mod-font_manager.lst fs-font_mod-font_manager.lst
1566
1644
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1568
1646
search_mod-commands_search.o: commands/search.c
1569
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(search_mod_CFLAGS) -MD -c -o $@ $<
1647
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(search_mod_CFLAGS) -MD -c -o $@ $<
1570
1648
-include search_mod-commands_search.d
1572
1650
CLEANFILES += cmd-search_mod-commands_search.lst fs-search_mod-commands_search.lst
1618
1696
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1620
1698
test_mod-commands_test.o: commands/test.c
1621
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(test_mod_CFLAGS) -MD -c -o $@ $<
1699
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(test_mod_CFLAGS) -MD -c -o $@ $<
1622
1700
-include test_mod-commands_test.d
1624
1702
CLEANFILES += cmd-test_mod-commands_test.lst fs-test_mod-commands_test.lst
1670
1748
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1672
1750
loopback_mod-disk_loopback.o: disk/loopback.c
1673
$(TARGET_CC) -Idisk -I$(srcdir)/disk $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(loopback_mod_CFLAGS) -MD -c -o $@ $<
1751
$(TARGET_CC) -Idisk -I$(srcdir)/disk $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(loopback_mod_CFLAGS) -MD -c -o $@ $<
1674
1752
-include loopback_mod-disk_loopback.d
1676
1754
CLEANFILES += cmd-loopback_mod-disk_loopback.lst fs-loopback_mod-disk_loopback.lst
1722
1800
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1724
1802
configfile_mod-commands_configfile.o: commands/configfile.c
1725
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(configfile_mod_CFLAGS) -MD -c -o $@ $<
1803
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(configfile_mod_CFLAGS) -MD -c -o $@ $<
1726
1804
-include configfile_mod-commands_configfile.d
1728
1806
CLEANFILES += cmd-configfile_mod-commands_configfile.lst fs-configfile_mod-commands_configfile.lst
1774
1852
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1776
1854
terminfo_mod-term_terminfo.o: term/terminfo.c
1777
$(TARGET_CC) -Iterm -I$(srcdir)/term $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(terminfo_mod_CFLAGS) -MD -c -o $@ $<
1855
$(TARGET_CC) -Iterm -I$(srcdir)/term $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(terminfo_mod_CFLAGS) -MD -c -o $@ $<
1778
1856
-include terminfo_mod-term_terminfo.d
1780
1858
CLEANFILES += cmd-terminfo_mod-term_terminfo.lst fs-terminfo_mod-term_terminfo.lst
1841
1919
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1843
1921
blocklist_mod-commands_blocklist.o: commands/blocklist.c
1844
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(blocklist_mod_CFLAGS) -MD -c -o $@ $<
1922
$(TARGET_CC) -Icommands -I$(srcdir)/commands $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(blocklist_mod_CFLAGS) -MD -c -o $@ $<
1845
1923
-include blocklist_mod-commands_blocklist.d
1847
1925
CLEANFILES += cmd-blocklist_mod-commands_blocklist.lst fs-blocklist_mod-commands_blocklist.lst
1896
1974
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1898
1976
elf_mod-kern_elf.o: kern/elf.c
1899
$(TARGET_CC) -Ikern -I$(srcdir)/kern $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(elf_mod_CFLAGS) -MD -c -o $@ $<
1977
$(TARGET_CC) -Ikern -I$(srcdir)/kern $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(elf_mod_CFLAGS) -MD -c -o $@ $<
1900
1978
-include elf_mod-kern_elf.d
1902
1980
CLEANFILES += cmd-elf_mod-kern_elf.lst fs-elf_mod-kern_elf.lst
1948
2026
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1950
2028
gzio_mod-io_gzio.o: io/gzio.c
1951
$(TARGET_CC) -Iio -I$(srcdir)/io $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(gzio_mod_CFLAGS) -MD -c -o $@ $<
2029
$(TARGET_CC) -Iio -I$(srcdir)/io $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(gzio_mod_CFLAGS) -MD -c -o $@ $<
1952
2030
-include gzio_mod-io_gzio.d
1954
2032
CLEANFILES += cmd-gzio_mod-io_gzio.lst fs-gzio_mod-io_gzio.lst