~ubuntu-branches/ubuntu/lucid/grub2/lucid

« back to all changes in this revision

Viewing changes to conf/common.mk

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2007-11-01 13:18:51 UTC
  • mto: (17.4.1 lenny) (1.10.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20071101131851-63uqsb4dax2h1cbm
Tags: upstream-1.95+20071101
ImportĀ upstreamĀ versionĀ 1.95+20071101

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
DISTCLEANFILES += grub_script.tab.c grub_script.tab.h
7
7
 
8
8
# For grub-emu.
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
12
 
 
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
16
 
 
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
 
12
 
 
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
 
16
 
 
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
20
20
 
 
21
# For grub-probe.
 
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
 
25
 
 
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
 
29
 
 
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
 
33
 
 
34
# For grub-setup.
 
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
 
38
 
 
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
 
42
 
 
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
 
46
 
21
47
# For update-grub
22
48
update-grub: util/update-grub.in config.status
23
49
        ./config.status --file=$@:$<
53
79
 
54
80
 
55
81
# Filing systems.
56
 
pkgdata_MODULES += fshelp.mod fat.mod ufs.mod ext2.mod          \
 
82
pkgdata_MODULES += fshelp.mod fat.mod ufs.mod ext2.mod ntfs.mod \
57
83
        minix.mod hfs.mod jfs.mod iso9660.mod xfs.mod affs.mod  \
58
84
        sfs.mod hfsplus.mod
59
85
 
92
118
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
93
119
 
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
97
123
 
98
124
CLEANFILES += cmd-fshelp_mod-fs_fshelp.lst fs-fshelp_mod-fs_fshelp.lst
144
170
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
145
171
 
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
149
175
 
150
176
CLEANFILES += cmd-fat_mod-fs_fat.lst fs-fat_mod-fs_fat.lst
196
222
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
197
223
 
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
201
227
 
202
228
CLEANFILES += cmd-ufs_mod-fs_ufs.lst fs-ufs_mod-fs_ufs.lst
248
274
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
249
275
 
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
253
279
 
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)
267
293
 
 
294
# For ntfs.mod.
 
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
 
300
endif
 
301
MOSTLYCLEANFILES += ntfs_mod-fs_ntfs.d
 
302
UNDSYMFILES += und-ntfs.lst
 
303
 
 
304
ntfs.mod: pre-ntfs.o mod-ntfs.o
 
305
        -rm -f $@
 
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 $@
 
308
 
 
309
pre-ntfs.o: $(ntfs_mod_DEPENDENCIES) ntfs_mod-fs_ntfs.o
 
310
        -rm -f $@
 
311
        $(TARGET_CC) $(ntfs_mod_LDFLAGS) $(TARGET_LDFLAGS) -Wl,-r,-d -o $@ ntfs_mod-fs_ntfs.o
 
312
 
 
313
mod-ntfs.o: mod-ntfs.c
 
314
        $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(ntfs_mod_CFLAGS) -c -o $@ $<
 
315
 
 
316
mod-ntfs.c: moddep.lst genmodsrc.sh
 
317
        sh $(srcdir)/genmodsrc.sh 'ntfs' $< > $@ || (rm -f $@; exit 1)
 
318
 
 
319
ifneq ($(ntfs_mod_EXPORTS),no)
 
320
def-ntfs.lst: pre-ntfs.o
 
321
        $(NM) -g --defined-only -P -p $< | sed 's/^\([^ ]*\).*/\1 ntfs/' > $@
 
322
endif
 
323
 
 
324
und-ntfs.lst: pre-ntfs.o
 
325
        echo 'ntfs' > $@
 
326
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
 
327
 
 
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
 
331
 
 
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
 
335
 
 
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)
 
338
 
 
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)
 
341
 
 
342
 
 
343
ntfs_mod_CFLAGS = $(COMMON_CFLAGS)
 
344
ntfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
 
345
 
268
346
# For minix.mod.
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' ' >> $@
301
379
 
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
305
383
 
306
384
CLEANFILES += cmd-minix_mod-fs_minix.lst fs-minix_mod-fs_minix.lst
352
430
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
353
431
 
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
357
435
 
358
436
CLEANFILES += cmd-hfs_mod-fs_hfs.lst fs-hfs_mod-fs_hfs.lst
404
482
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
405
483
 
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
409
487
 
410
488
CLEANFILES += cmd-jfs_mod-fs_jfs.lst fs-jfs_mod-fs_jfs.lst
456
534
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
457
535
 
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
461
539
 
462
540
CLEANFILES += cmd-iso9660_mod-fs_iso9660.lst fs-iso9660_mod-fs_iso9660.lst
508
586
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
509
587
 
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
513
591
 
514
592
CLEANFILES += cmd-xfs_mod-fs_xfs.lst fs-xfs_mod-fs_xfs.lst
560
638
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
561
639
 
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
565
643
 
566
644
CLEANFILES += cmd-affs_mod-fs_affs.lst fs-affs_mod-fs_affs.lst
612
690
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
613
691
 
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
617
695
 
618
696
CLEANFILES += cmd-sfs_mod-fs_sfs.lst fs-sfs_mod-fs_sfs.lst
664
742
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
665
743
 
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
669
747
 
670
748
CLEANFILES += cmd-hfsplus_mod-fs_hfsplus.lst fs-hfsplus_mod-fs_hfsplus.lst
719
797
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
720
798
 
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
724
802
 
725
803
CLEANFILES += cmd-amiga_mod-partmap_amiga.lst fs-amiga_mod-partmap_amiga.lst
771
849
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
772
850
 
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
776
854
 
777
855
CLEANFILES += cmd-apple_mod-partmap_apple.lst fs-apple_mod-partmap_apple.lst
823
901
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
824
902
 
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
828
906
 
829
907
CLEANFILES += cmd-pc_mod-partmap_pc.lst fs-pc_mod-partmap_pc.lst
875
953
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
876
954
 
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
880
958
 
881
959
CLEANFILES += cmd-sun_mod-partmap_sun.lst fs-sun_mod-partmap_sun.lst
927
1005
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
928
1006
 
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
932
1010
 
933
1011
CLEANFILES += cmd-acorn_mod-partmap_acorn.lst fs-acorn_mod-partmap_acorn.lst
979
1057
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
980
1058
 
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
984
1062
 
985
1063
CLEANFILES += cmd-gpt_mod-partmap_gpt.lst fs-gpt_mod-partmap_gpt.lst
1035
1113
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1036
1114
 
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
1040
1118
 
1041
1119
CLEANFILES += cmd-raid_mod-disk_raid.lst fs-raid_mod-disk_raid.lst
1087
1165
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1088
1166
 
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
1092
1170
 
1093
1171
CLEANFILES += cmd-lvm_mod-disk_lvm.lst fs-lvm_mod-disk_lvm.lst
1145
1223
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1146
1224
 
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
1150
1228
 
1151
1229
CLEANFILES += cmd-hello_mod-hello_hello.lst fs-hello_mod-hello_hello.lst
1197
1275
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1198
1276
 
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
1202
1280
 
1203
1281
CLEANFILES += cmd-boot_mod-commands_boot.lst fs-boot_mod-commands_boot.lst
1249
1327
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1250
1328
 
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
1254
1332
 
1255
1333
CLEANFILES += cmd-terminal_mod-commands_terminal.lst fs-terminal_mod-commands_terminal.lst
1301
1379
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1302
1380
 
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
1306
1384
 
1307
1385
CLEANFILES += cmd-ls_mod-commands_ls.lst fs-ls_mod-commands_ls.lst
1353
1431
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1354
1432
 
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
1358
1436
 
1359
1437
CLEANFILES += cmd-cmp_mod-commands_cmp.lst fs-cmp_mod-commands_cmp.lst
1405
1483
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1406
1484
 
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
1410
1488
 
1411
1489
CLEANFILES += cmd-cat_mod-commands_cat.lst fs-cat_mod-commands_cat.lst
1462
1540
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1463
1541
 
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
1467
1545
 
1468
1546
CLEANFILES += cmd-help_mod-commands_help.lst fs-help_mod-commands_help.lst
1514
1592
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1515
1593
 
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
1519
1597
 
1520
1598
CLEANFILES += cmd-font_mod-font_manager.lst fs-font_mod-font_manager.lst
1566
1644
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1567
1645
 
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
1571
1649
 
1572
1650
CLEANFILES += cmd-search_mod-commands_search.lst fs-search_mod-commands_search.lst
1618
1696
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1619
1697
 
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
1623
1701
 
1624
1702
CLEANFILES += cmd-test_mod-commands_test.lst fs-test_mod-commands_test.lst
1670
1748
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1671
1749
 
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
1675
1753
 
1676
1754
CLEANFILES += cmd-loopback_mod-disk_loopback.lst fs-loopback_mod-disk_loopback.lst
1722
1800
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1723
1801
 
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
1727
1805
 
1728
1806
CLEANFILES += cmd-configfile_mod-commands_configfile.lst fs-configfile_mod-commands_configfile.lst
1774
1852
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1775
1853
 
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
1779
1857
 
1780
1858
CLEANFILES += cmd-terminfo_mod-term_terminfo.lst fs-terminfo_mod-term_terminfo.lst
1789
1867
 
1790
1868
 
1791
1869
terminfo_mod-term_tparm.o: term/tparm.c
1792
 
        $(TARGET_CC) -Iterm -I$(srcdir)/term $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(terminfo_mod_CFLAGS) -MD -c -o $@ $<
 
1870
        $(TARGET_CC) -Iterm -I$(srcdir)/term $(TARGET_CPPFLAGS)  $(TARGET_CFLAGS) $(terminfo_mod_CFLAGS) -MD -c -o $@ $<
1793
1871
-include terminfo_mod-term_tparm.d
1794
1872
 
1795
1873
CLEANFILES += cmd-terminfo_mod-term_tparm.lst fs-terminfo_mod-term_tparm.lst
1841
1919
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1842
1920
 
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
1846
1924
 
1847
1925
CLEANFILES += cmd-blocklist_mod-commands_blocklist.lst fs-blocklist_mod-commands_blocklist.lst
1896
1974
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1897
1975
 
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
1901
1979
 
1902
1980
CLEANFILES += cmd-elf_mod-kern_elf.lst fs-elf_mod-kern_elf.lst
1948
2026
        $(NM) -u -P -p $< | cut -f1 -d' ' >> $@
1949
2027
 
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
1953
2031
 
1954
2032
CLEANFILES += cmd-gzio_mod-io_gzio.lst fs-gzio_mod-io_gzio.lst