3 COMMON_ASFLAGS
= -nostdinc
-fno-builtin
4 COMMON_CFLAGS
= -fno-builtin
-mrtd
-mregparm
=3 -m32
5 COMMON_LDFLAGS
= -melf_i386
8 pkgdata_IMAGES
= boot.img diskboot.img kernel.img pxeboot.img
11 boot_img_SOURCES
= boot
/i386
/pc/boot.S
12 CLEANFILES
+= boot.img boot.exec boot_img-boot_i386_pc_boot.o
13 MOSTLYCLEANFILES
+= boot_img-boot_i386_pc_boot.d
16 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
18 boot.exec
: boot_img-boot_i386_pc_boot.o
19 $(CC
) -o
$@
$^
$(LDFLAGS
) $(boot_img_LDFLAGS
)
21 boot_img-boot_i386_pc_boot.o
: boot
/i386
/pc/boot.S
22 $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(boot_img_ASFLAGS
) -c
-o
$@
$<
24 boot_img-boot_i386_pc_boot.d
: boot
/i386
/pc/boot.S
25 set
-e
; $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(boot_img_ASFLAGS
) -M
$< | sed
's,boot\.o[ :]*,boot_img-boot_i386_pc_boot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
27 -include boot_img-boot_i386_pc_boot.d
29 boot_img_ASFLAGS
= $(COMMON_ASFLAGS
)
30 boot_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,7C00
33 pxeboot_img_SOURCES
= boot
/i386
/pc/pxeboot.S
34 CLEANFILES
+= pxeboot.img pxeboot.exec pxeboot_img-boot_i386_pc_pxeboot.o
35 MOSTLYCLEANFILES
+= pxeboot_img-boot_i386_pc_pxeboot.d
37 pxeboot.img
: pxeboot.exec
38 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
40 pxeboot.exec
: pxeboot_img-boot_i386_pc_pxeboot.o
41 $(CC
) -o
$@
$^
$(LDFLAGS
) $(pxeboot_img_LDFLAGS
)
43 pxeboot_img-boot_i386_pc_pxeboot.o
: boot
/i386
/pc/pxeboot.S
44 $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(pxeboot_img_ASFLAGS
) -c
-o
$@
$<
46 pxeboot_img-boot_i386_pc_pxeboot.d
: boot
/i386
/pc/pxeboot.S
47 set
-e
; $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(pxeboot_img_ASFLAGS
) -M
$< | sed
's,pxeboot\.o[ :]*,pxeboot_img-boot_i386_pc_pxeboot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
49 -include pxeboot_img-boot_i386_pc_pxeboot.d
51 pxeboot_img_ASFLAGS
= $(COMMON_ASFLAGS
)
52 pxeboot_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,7C00
55 diskboot_img_SOURCES
= boot
/i386
/pc/diskboot.S
56 CLEANFILES
+= diskboot.img diskboot.exec diskboot_img-boot_i386_pc_diskboot.o
57 MOSTLYCLEANFILES
+= diskboot_img-boot_i386_pc_diskboot.d
59 diskboot.img
: diskboot.exec
60 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
62 diskboot.exec
: diskboot_img-boot_i386_pc_diskboot.o
63 $(CC
) -o
$@
$^
$(LDFLAGS
) $(diskboot_img_LDFLAGS
)
65 diskboot_img-boot_i386_pc_diskboot.o
: boot
/i386
/pc/diskboot.S
66 $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(diskboot_img_ASFLAGS
) -c
-o
$@
$<
68 diskboot_img-boot_i386_pc_diskboot.d
: boot
/i386
/pc/diskboot.S
69 set
-e
; $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(diskboot_img_ASFLAGS
) -M
$< | sed
's,diskboot\.o[ :]*,diskboot_img-boot_i386_pc_diskboot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
71 -include diskboot_img-boot_i386_pc_diskboot.d
73 diskboot_img_ASFLAGS
= $(COMMON_ASFLAGS
)
74 diskboot_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,8000
77 kernel_img_SOURCES
= kern
/i386
/pc/startup.S kern
/main.c kern
/device.c \
78 kern
/disk.c kern
/dl.c kern
/file.c kern
/fs.c kern
/err.c \
79 kern
/misc.c kern
/mm.c kern
/loader.c kern
/rescue.c kern
/term.c \
80 kern
/i386
/dl.c kern
/i386
/pc/init.c kern
/parser.c kern
/partition.c \
81 kern
/env.c disk
/i386
/pc/biosdisk.c \
82 term
/i386
/pc/console.c \
84 CLEANFILES
+= kernel.img kernel.exec kernel_img-kern_i386_pc_startup.o kernel_img-kern_main.o kernel_img-kern_device.o kernel_img-kern_disk.o kernel_img-kern_dl.o kernel_img-kern_file.o kernel_img-kern_fs.o kernel_img-kern_err.o kernel_img-kern_misc.o kernel_img-kern_mm.o kernel_img-kern_loader.o kernel_img-kern_rescue.o kernel_img-kern_term.o kernel_img-kern_i386_dl.o kernel_img-kern_i386_pc_init.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-disk_i386_pc_biosdisk.o kernel_img-term_i386_pc_console.o kernel_img-symlist.o
85 MOSTLYCLEANFILES
+= kernel_img-kern_i386_pc_startup.d kernel_img-kern_main.d kernel_img-kern_device.d kernel_img-kern_disk.d kernel_img-kern_dl.d kernel_img-kern_file.d kernel_img-kern_fs.d kernel_img-kern_err.d kernel_img-kern_misc.d kernel_img-kern_mm.d kernel_img-kern_loader.d kernel_img-kern_rescue.d kernel_img-kern_term.d kernel_img-kern_i386_dl.d kernel_img-kern_i386_pc_init.d kernel_img-kern_parser.d kernel_img-kern_partition.d kernel_img-kern_env.d kernel_img-disk_i386_pc_biosdisk.d kernel_img-term_i386_pc_console.d kernel_img-symlist.d
87 kernel.img
: kernel.exec
88 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
90 kernel.exec
: kernel_img-kern_i386_pc_startup.o kernel_img-kern_main.o kernel_img-kern_device.o kernel_img-kern_disk.o kernel_img-kern_dl.o kernel_img-kern_file.o kernel_img-kern_fs.o kernel_img-kern_err.o kernel_img-kern_misc.o kernel_img-kern_mm.o kernel_img-kern_loader.o kernel_img-kern_rescue.o kernel_img-kern_term.o kernel_img-kern_i386_dl.o kernel_img-kern_i386_pc_init.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-disk_i386_pc_biosdisk.o kernel_img-term_i386_pc_console.o kernel_img-symlist.o
91 $(CC
) -o
$@
$^
$(LDFLAGS
) $(kernel_img_LDFLAGS
)
93 kernel_img-kern_i386_pc_startup.o
: kern
/i386
/pc/startup.S
94 $(CC
) -Ikern
/i386
/pc -I
$(srcdir)/kern
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(kernel_img_ASFLAGS
) -c
-o
$@
$<
96 kernel_img-kern_i386_pc_startup.d
: kern
/i386
/pc/startup.S
97 set
-e
; $(CC
) -Ikern
/i386
/pc -I
$(srcdir)/kern
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(kernel_img_ASFLAGS
) -M
$< | sed
's,startup\.o[ :]*,kernel_img-kern_i386_pc_startup.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
99 -include kernel_img-kern_i386_pc_startup.d
101 kernel_img-kern_main.o
: kern
/main.c
102 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
104 kernel_img-kern_main.d
: kern
/main.c
105 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,main\.o[ :]*,kernel_img-kern_main.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
107 -include kernel_img-kern_main.d
109 kernel_img-kern_device.o
: kern
/device.c
110 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
112 kernel_img-kern_device.d
: kern
/device.c
113 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,device\.o[ :]*,kernel_img-kern_device.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
115 -include kernel_img-kern_device.d
117 kernel_img-kern_disk.o
: kern
/disk.c
118 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
120 kernel_img-kern_disk.d
: kern
/disk.c
121 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,disk\.o[ :]*,kernel_img-kern_disk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
123 -include kernel_img-kern_disk.d
125 kernel_img-kern_dl.o
: kern
/dl.c
126 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
128 kernel_img-kern_dl.d
: kern
/dl.c
129 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,dl\.o[ :]*,kernel_img-kern_dl.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
131 -include kernel_img-kern_dl.d
133 kernel_img-kern_file.o
: kern
/file.c
134 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
136 kernel_img-kern_file.d
: kern
/file.c
137 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,file\.o[ :]*,kernel_img-kern_file.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
139 -include kernel_img-kern_file.d
141 kernel_img-kern_fs.o
: kern
/fs.c
142 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
144 kernel_img-kern_fs.d
: kern
/fs.c
145 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,fs\.o[ :]*,kernel_img-kern_fs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
147 -include kernel_img-kern_fs.d
149 kernel_img-kern_err.o
: kern
/err.c
150 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
152 kernel_img-kern_err.d
: kern
/err.c
153 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,err\.o[ :]*,kernel_img-kern_err.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
155 -include kernel_img-kern_err.d
157 kernel_img-kern_misc.o
: kern
/misc.c
158 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
160 kernel_img-kern_misc.d
: kern
/misc.c
161 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,kernel_img-kern_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
163 -include kernel_img-kern_misc.d
165 kernel_img-kern_mm.o
: kern
/mm.c
166 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
168 kernel_img-kern_mm.d
: kern
/mm.c
169 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,mm\.o[ :]*,kernel_img-kern_mm.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
171 -include kernel_img-kern_mm.d
173 kernel_img-kern_loader.o
: kern
/loader.c
174 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
176 kernel_img-kern_loader.d
: kern
/loader.c
177 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,loader\.o[ :]*,kernel_img-kern_loader.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
179 -include kernel_img-kern_loader.d
181 kernel_img-kern_rescue.o
: kern
/rescue.c
182 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
184 kernel_img-kern_rescue.d
: kern
/rescue.c
185 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,rescue\.o[ :]*,kernel_img-kern_rescue.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
187 -include kernel_img-kern_rescue.d
189 kernel_img-kern_term.o
: kern
/term.c
190 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
192 kernel_img-kern_term.d
: kern
/term.c
193 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,term\.o[ :]*,kernel_img-kern_term.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
195 -include kernel_img-kern_term.d
197 kernel_img-kern_i386_dl.o
: kern
/i386
/dl.c
198 $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
200 kernel_img-kern_i386_dl.d
: kern
/i386
/dl.c
201 set
-e
; $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,dl\.o[ :]*,kernel_img-kern_i386_dl.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
203 -include kernel_img-kern_i386_dl.d
205 kernel_img-kern_i386_pc_init.o
: kern
/i386
/pc/init.c
206 $(CC
) -Ikern
/i386
/pc -I
$(srcdir)/kern
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
208 kernel_img-kern_i386_pc_init.d
: kern
/i386
/pc/init.c
209 set
-e
; $(CC
) -Ikern
/i386
/pc -I
$(srcdir)/kern
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,init\.o[ :]*,kernel_img-kern_i386_pc_init.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
211 -include kernel_img-kern_i386_pc_init.d
213 kernel_img-kern_parser.o
: kern
/parser.c
214 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
216 kernel_img-kern_parser.d
: kern
/parser.c
217 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,parser\.o[ :]*,kernel_img-kern_parser.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
219 -include kernel_img-kern_parser.d
221 kernel_img-kern_partition.o
: kern
/partition.c
222 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
224 kernel_img-kern_partition.d
: kern
/partition.c
225 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,partition\.o[ :]*,kernel_img-kern_partition.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
227 -include kernel_img-kern_partition.d
229 kernel_img-kern_env.o
: kern
/env.c
230 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
232 kernel_img-kern_env.d
: kern
/env.c
233 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,env\.o[ :]*,kernel_img-kern_env.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
235 -include kernel_img-kern_env.d
237 kernel_img-disk_i386_pc_biosdisk.o
: disk
/i386
/pc/biosdisk.c
238 $(CC
) -Idisk
/i386
/pc -I
$(srcdir)/disk
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
240 kernel_img-disk_i386_pc_biosdisk.d
: disk
/i386
/pc/biosdisk.c
241 set
-e
; $(CC
) -Idisk
/i386
/pc -I
$(srcdir)/disk
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,biosdisk\.o[ :]*,kernel_img-disk_i386_pc_biosdisk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
243 -include kernel_img-disk_i386_pc_biosdisk.d
245 kernel_img-term_i386_pc_console.o
: term
/i386
/pc/console.c
246 $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
248 kernel_img-term_i386_pc_console.d
: term
/i386
/pc/console.c
249 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,console\.o[ :]*,kernel_img-term_i386_pc_console.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
251 -include kernel_img-term_i386_pc_console.d
253 kernel_img-symlist.o
: symlist.c
254 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
256 kernel_img-symlist.d
: symlist.c
257 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,symlist\.o[ :]*,kernel_img-symlist.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
259 -include kernel_img-symlist.d
261 kernel_img_HEADERS
= arg.h boot.h device.h disk.h dl.h elf.h env.h err.h \
262 file.h fs.h kernel.h loader.h misc.h mm.h net.h parser.h partition.h \
263 pc_partition.h rescue.h symbol.h term.h types.h \
264 machine
/biosdisk.h machine
/boot.h machine
/console.h machine
/init.h \
265 machine
/memory.h machine
/loader.h machine
/time.h machine
/vga.h \
267 kernel_img_CFLAGS
= $(COMMON_CFLAGS
)
268 kernel_img_ASFLAGS
= $(COMMON_ASFLAGS
)
269 kernel_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,8200 $(COMMON_CFLAGS
)
271 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
272 DEFSYMFILES
+= kernel_syms.lst
274 symlist.c
: $(addprefix include/grub
/,$(kernel_img_HEADERS
)) gensymlist.sh
275 sh
$(srcdir)/gensymlist.sh
$(filter %.h
,$^
) > $@
278 grub_script.tab.c
: normal
/parser.y
279 $(YACC
) -d
-p grub_script_yy
-b grub_script
$(srcdir)/normal
/parser.y
280 grub_script.tab.h
: normal
/parser.y
281 $(YACC
) -d
-p grub_script_yy
-b grub_script
$(srcdir)/normal
/parser.y
284 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_img_HEADERS
)) genkernsyms.sh
285 sh
$(srcdir)/genkernsyms.sh
$(filter %h
,$^
) > $@
288 bin_UTILITIES
= grub-mkimage
289 sbin_UTILITIES
= grub-setup grub-emu grub-mkdevicemap grub-probefs
290 noinst_UTILITIES
= genmoddep
293 grub_mkimage_SOURCES
= util
/i386
/pc/grub-mkimage.c util
/misc.c \
295 CLEANFILES
+= grub-mkimage grub_mkimage-util_i386_pc_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
296 MOSTLYCLEANFILES
+= grub_mkimage-util_i386_pc_grub_mkimage.d grub_mkimage-util_misc.d grub_mkimage-util_resolve.d
298 grub-mkimage
: grub_mkimage-util_i386_pc_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
299 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_mkimage_LDFLAGS
)
301 grub_mkimage-util_i386_pc_grub_mkimage.o
: util
/i386
/pc/grub-mkimage.c
302 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
304 grub_mkimage-util_i386_pc_grub_mkimage.d
: util
/i386
/pc/grub-mkimage.c
305 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -M
$< | sed
's,grub\-mkimage\.o[ :]*,grub_mkimage-util_i386_pc_grub_mkimage.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
307 -include grub_mkimage-util_i386_pc_grub_mkimage.d
309 grub_mkimage-util_misc.o
: util
/misc.c
310 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
312 grub_mkimage-util_misc.d
: util
/misc.c
313 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_mkimage-util_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
315 -include grub_mkimage-util_misc.d
317 grub_mkimage-util_resolve.o
: util
/resolve.c
318 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
320 grub_mkimage-util_resolve.d
: util
/resolve.c
321 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -M
$< | sed
's,resolve\.o[ :]*,grub_mkimage-util_resolve.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
323 -include grub_mkimage-util_resolve.d
325 grub_mkimage_LDFLAGS
= $(LIBLZO
)
328 grub_setup_SOURCES
= util
/i386
/pc/grub-setup.c util
/i386
/pc/biosdisk.c \
329 util
/misc.c util
/i386
/pc/getroot.c kern
/device.c kern
/disk.c \
330 kern
/err.c kern
/misc.c fs
/fat.c fs
/ext2.c fs
/xfs.c fs
/affs.c \
331 fs
/sfs.c kern
/parser.c kern
/partition.c partmap
/pc.c \
332 fs
/ufs.c fs
/minix.c fs
/hfs.c fs
/jfs.c kern
/file.c kern
/fs.c kern
/env.c fs
/fshelp.c
333 CLEANFILES
+= grub-setup grub_setup-util_i386_pc_grub_setup.o grub_setup-util_i386_pc_biosdisk.o grub_setup-util_misc.o grub_setup-util_i386_pc_getroot.o grub_setup-kern_device.o grub_setup-kern_disk.o grub_setup-kern_err.o grub_setup-kern_misc.o grub_setup-fs_fat.o grub_setup-fs_ext2.o grub_setup-fs_xfs.o grub_setup-fs_affs.o grub_setup-fs_sfs.o grub_setup-kern_parser.o grub_setup-kern_partition.o grub_setup-partmap_pc.o grub_setup-fs_ufs.o grub_setup-fs_minix.o grub_setup-fs_hfs.o grub_setup-fs_jfs.o grub_setup-kern_file.o grub_setup-kern_fs.o grub_setup-kern_env.o grub_setup-fs_fshelp.o
334 MOSTLYCLEANFILES
+= grub_setup-util_i386_pc_grub_setup.d grub_setup-util_i386_pc_biosdisk.d grub_setup-util_misc.d grub_setup-util_i386_pc_getroot.d grub_setup-kern_device.d grub_setup-kern_disk.d grub_setup-kern_err.d grub_setup-kern_misc.d grub_setup-fs_fat.d grub_setup-fs_ext2.d grub_setup-fs_xfs.d grub_setup-fs_affs.d grub_setup-fs_sfs.d grub_setup-kern_parser.d grub_setup-kern_partition.d grub_setup-partmap_pc.d grub_setup-fs_ufs.d grub_setup-fs_minix.d grub_setup-fs_hfs.d grub_setup-fs_jfs.d grub_setup-kern_file.d grub_setup-kern_fs.d grub_setup-kern_env.d grub_setup-fs_fshelp.d
336 grub-setup
: grub_setup-util_i386_pc_grub_setup.o grub_setup-util_i386_pc_biosdisk.o grub_setup-util_misc.o grub_setup-util_i386_pc_getroot.o grub_setup-kern_device.o grub_setup-kern_disk.o grub_setup-kern_err.o grub_setup-kern_misc.o grub_setup-fs_fat.o grub_setup-fs_ext2.o grub_setup-fs_xfs.o grub_setup-fs_affs.o grub_setup-fs_sfs.o grub_setup-kern_parser.o grub_setup-kern_partition.o grub_setup-partmap_pc.o grub_setup-fs_ufs.o grub_setup-fs_minix.o grub_setup-fs_hfs.o grub_setup-fs_jfs.o grub_setup-kern_file.o grub_setup-kern_fs.o grub_setup-kern_env.o grub_setup-fs_fshelp.o
337 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_setup_LDFLAGS
)
339 grub_setup-util_i386_pc_grub_setup.o
: util
/i386
/pc/grub-setup.c
340 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
342 grub_setup-util_i386_pc_grub_setup.d
: util
/i386
/pc/grub-setup.c
343 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,grub\-setup\.o[ :]*,grub_setup-util_i386_pc_grub_setup.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
345 -include grub_setup-util_i386_pc_grub_setup.d
347 grub_setup-util_i386_pc_biosdisk.o
: util
/i386
/pc/biosdisk.c
348 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
350 grub_setup-util_i386_pc_biosdisk.d
: util
/i386
/pc/biosdisk.c
351 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,biosdisk\.o[ :]*,grub_setup-util_i386_pc_biosdisk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
353 -include grub_setup-util_i386_pc_biosdisk.d
355 grub_setup-util_misc.o
: util
/misc.c
356 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
358 grub_setup-util_misc.d
: util
/misc.c
359 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_setup-util_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
361 -include grub_setup-util_misc.d
363 grub_setup-util_i386_pc_getroot.o
: util
/i386
/pc/getroot.c
364 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
366 grub_setup-util_i386_pc_getroot.d
: util
/i386
/pc/getroot.c
367 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,getroot\.o[ :]*,grub_setup-util_i386_pc_getroot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
369 -include grub_setup-util_i386_pc_getroot.d
371 grub_setup-kern_device.o
: kern
/device.c
372 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
374 grub_setup-kern_device.d
: kern
/device.c
375 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,device\.o[ :]*,grub_setup-kern_device.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
377 -include grub_setup-kern_device.d
379 grub_setup-kern_disk.o
: kern
/disk.c
380 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
382 grub_setup-kern_disk.d
: kern
/disk.c
383 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,disk\.o[ :]*,grub_setup-kern_disk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
385 -include grub_setup-kern_disk.d
387 grub_setup-kern_err.o
: kern
/err.c
388 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
390 grub_setup-kern_err.d
: kern
/err.c
391 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,err\.o[ :]*,grub_setup-kern_err.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
393 -include grub_setup-kern_err.d
395 grub_setup-kern_misc.o
: kern
/misc.c
396 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
398 grub_setup-kern_misc.d
: kern
/misc.c
399 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_setup-kern_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
401 -include grub_setup-kern_misc.d
403 grub_setup-fs_fat.o
: fs
/fat.c
404 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
406 grub_setup-fs_fat.d
: fs
/fat.c
407 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,fat\.o[ :]*,grub_setup-fs_fat.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
409 -include grub_setup-fs_fat.d
411 grub_setup-fs_ext2.o
: fs
/ext2.c
412 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
414 grub_setup-fs_ext2.d
: fs
/ext2.c
415 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,ext2\.o[ :]*,grub_setup-fs_ext2.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
417 -include grub_setup-fs_ext2.d
419 grub_setup-fs_xfs.o
: fs
/xfs.c
420 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
422 grub_setup-fs_xfs.d
: fs
/xfs.c
423 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,xfs\.o[ :]*,grub_setup-fs_xfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
425 -include grub_setup-fs_xfs.d
427 grub_setup-fs_affs.o
: fs
/affs.c
428 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
430 grub_setup-fs_affs.d
: fs
/affs.c
431 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,affs\.o[ :]*,grub_setup-fs_affs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
433 -include grub_setup-fs_affs.d
435 grub_setup-fs_sfs.o
: fs
/sfs.c
436 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
438 grub_setup-fs_sfs.d
: fs
/sfs.c
439 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,sfs\.o[ :]*,grub_setup-fs_sfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
441 -include grub_setup-fs_sfs.d
443 grub_setup-kern_parser.o
: kern
/parser.c
444 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
446 grub_setup-kern_parser.d
: kern
/parser.c
447 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,parser\.o[ :]*,grub_setup-kern_parser.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
449 -include grub_setup-kern_parser.d
451 grub_setup-kern_partition.o
: kern
/partition.c
452 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
454 grub_setup-kern_partition.d
: kern
/partition.c
455 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,partition\.o[ :]*,grub_setup-kern_partition.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
457 -include grub_setup-kern_partition.d
459 grub_setup-partmap_pc.o
: partmap
/pc.c
460 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
462 grub_setup-partmap_pc.d
: partmap
/pc.c
463 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,pc\.o[ :]*,grub_setup-partmap_pc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
465 -include grub_setup-partmap_pc.d
467 grub_setup-fs_ufs.o
: fs
/ufs.c
468 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
470 grub_setup-fs_ufs.d
: fs
/ufs.c
471 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,ufs\.o[ :]*,grub_setup-fs_ufs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
473 -include grub_setup-fs_ufs.d
475 grub_setup-fs_minix.o
: fs
/minix.c
476 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
478 grub_setup-fs_minix.d
: fs
/minix.c
479 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,minix\.o[ :]*,grub_setup-fs_minix.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
481 -include grub_setup-fs_minix.d
483 grub_setup-fs_hfs.o
: fs
/hfs.c
484 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
486 grub_setup-fs_hfs.d
: fs
/hfs.c
487 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,hfs\.o[ :]*,grub_setup-fs_hfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
489 -include grub_setup-fs_hfs.d
491 grub_setup-fs_jfs.o
: fs
/jfs.c
492 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
494 grub_setup-fs_jfs.d
: fs
/jfs.c
495 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,jfs\.o[ :]*,grub_setup-fs_jfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
497 -include grub_setup-fs_jfs.d
499 grub_setup-kern_file.o
: kern
/file.c
500 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
502 grub_setup-kern_file.d
: kern
/file.c
503 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,file\.o[ :]*,grub_setup-kern_file.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
505 -include grub_setup-kern_file.d
507 grub_setup-kern_fs.o
: kern
/fs.c
508 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
510 grub_setup-kern_fs.d
: kern
/fs.c
511 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,fs\.o[ :]*,grub_setup-kern_fs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
513 -include grub_setup-kern_fs.d
515 grub_setup-kern_env.o
: kern
/env.c
516 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
518 grub_setup-kern_env.d
: kern
/env.c
519 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,env\.o[ :]*,grub_setup-kern_env.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
521 -include grub_setup-kern_env.d
523 grub_setup-fs_fshelp.o
: fs
/fshelp.c
524 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
526 grub_setup-fs_fshelp.d
: fs
/fshelp.c
527 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,fshelp\.o[ :]*,grub_setup-fs_fshelp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
529 -include grub_setup-fs_fshelp.d
532 # For grub-mkdevicemap.
533 grub_mkdevicemap_SOURCES
= util
/i386
/pc/grub-mkdevicemap.c util
/misc.c
534 CLEANFILES
+= grub-mkdevicemap grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o
535 MOSTLYCLEANFILES
+= grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.d grub_mkdevicemap-util_misc.d
537 grub-mkdevicemap
: grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.o grub_mkdevicemap-util_misc.o
538 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_mkdevicemap_LDFLAGS
)
540 grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.o
: util
/i386
/pc/grub-mkdevicemap.c
541 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -c
-o
$@
$<
543 grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.d
: util
/i386
/pc/grub-mkdevicemap.c
544 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -M
$< | sed
's,grub\-mkdevicemap\.o[ :]*,grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
546 -include grub_mkdevicemap-util_i386_pc_grub_mkdevicemap.d
548 grub_mkdevicemap-util_misc.o
: util
/misc.c
549 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -c
-o
$@
$<
551 grub_mkdevicemap-util_misc.d
: util
/misc.c
552 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkdevicemap_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_mkdevicemap-util_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
554 -include grub_mkdevicemap-util_misc.d
558 grub_probefs_SOURCES
= util
/i386
/pc/grub-probefs.c \
559 util
/i386
/pc/biosdisk.c util
/misc.c util
/i386
/pc/getroot.c \
560 kern
/device.c kern
/disk.c kern
/err.c kern
/misc.c fs
/fat.c \
561 fs
/ext2.c kern
/parser.c kern
/partition.c partmap
/pc.c fs
/ufs.c \
562 fs
/minix.c fs
/hfs.c fs
/jfs.c kern
/fs.c kern
/env.c fs
/fshelp.c \
563 fs
/xfs.c fs
/affs.c fs
/sfs.c
564 CLEANFILES
+= grub-probefs grub_probefs-util_i386_pc_grub_probefs.o grub_probefs-util_i386_pc_biosdisk.o grub_probefs-util_misc.o grub_probefs-util_i386_pc_getroot.o grub_probefs-kern_device.o grub_probefs-kern_disk.o grub_probefs-kern_err.o grub_probefs-kern_misc.o grub_probefs-fs_fat.o grub_probefs-fs_ext2.o grub_probefs-kern_parser.o grub_probefs-kern_partition.o grub_probefs-partmap_pc.o grub_probefs-fs_ufs.o grub_probefs-fs_minix.o grub_probefs-fs_hfs.o grub_probefs-fs_jfs.o grub_probefs-kern_fs.o grub_probefs-kern_env.o grub_probefs-fs_fshelp.o grub_probefs-fs_xfs.o grub_probefs-fs_affs.o grub_probefs-fs_sfs.o
565 MOSTLYCLEANFILES
+= grub_probefs-util_i386_pc_grub_probefs.d grub_probefs-util_i386_pc_biosdisk.d grub_probefs-util_misc.d grub_probefs-util_i386_pc_getroot.d grub_probefs-kern_device.d grub_probefs-kern_disk.d grub_probefs-kern_err.d grub_probefs-kern_misc.d grub_probefs-fs_fat.d grub_probefs-fs_ext2.d grub_probefs-kern_parser.d grub_probefs-kern_partition.d grub_probefs-partmap_pc.d grub_probefs-fs_ufs.d grub_probefs-fs_minix.d grub_probefs-fs_hfs.d grub_probefs-fs_jfs.d grub_probefs-kern_fs.d grub_probefs-kern_env.d grub_probefs-fs_fshelp.d grub_probefs-fs_xfs.d grub_probefs-fs_affs.d grub_probefs-fs_sfs.d
567 grub-probefs
: grub_probefs-util_i386_pc_grub_probefs.o grub_probefs-util_i386_pc_biosdisk.o grub_probefs-util_misc.o grub_probefs-util_i386_pc_getroot.o grub_probefs-kern_device.o grub_probefs-kern_disk.o grub_probefs-kern_err.o grub_probefs-kern_misc.o grub_probefs-fs_fat.o grub_probefs-fs_ext2.o grub_probefs-kern_parser.o grub_probefs-kern_partition.o grub_probefs-partmap_pc.o grub_probefs-fs_ufs.o grub_probefs-fs_minix.o grub_probefs-fs_hfs.o grub_probefs-fs_jfs.o grub_probefs-kern_fs.o grub_probefs-kern_env.o grub_probefs-fs_fshelp.o grub_probefs-fs_xfs.o grub_probefs-fs_affs.o grub_probefs-fs_sfs.o
568 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_probefs_LDFLAGS
)
570 grub_probefs-util_i386_pc_grub_probefs.o
: util
/i386
/pc/grub-probefs.c
571 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
573 grub_probefs-util_i386_pc_grub_probefs.d
: util
/i386
/pc/grub-probefs.c
574 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,grub\-probefs\.o[ :]*,grub_probefs-util_i386_pc_grub_probefs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
576 -include grub_probefs-util_i386_pc_grub_probefs.d
578 grub_probefs-util_i386_pc_biosdisk.o
: util
/i386
/pc/biosdisk.c
579 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
581 grub_probefs-util_i386_pc_biosdisk.d
: util
/i386
/pc/biosdisk.c
582 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,biosdisk\.o[ :]*,grub_probefs-util_i386_pc_biosdisk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
584 -include grub_probefs-util_i386_pc_biosdisk.d
586 grub_probefs-util_misc.o
: util
/misc.c
587 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
589 grub_probefs-util_misc.d
: util
/misc.c
590 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_probefs-util_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
592 -include grub_probefs-util_misc.d
594 grub_probefs-util_i386_pc_getroot.o
: util
/i386
/pc/getroot.c
595 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
597 grub_probefs-util_i386_pc_getroot.d
: util
/i386
/pc/getroot.c
598 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,getroot\.o[ :]*,grub_probefs-util_i386_pc_getroot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
600 -include grub_probefs-util_i386_pc_getroot.d
602 grub_probefs-kern_device.o
: kern
/device.c
603 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
605 grub_probefs-kern_device.d
: kern
/device.c
606 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,device\.o[ :]*,grub_probefs-kern_device.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
608 -include grub_probefs-kern_device.d
610 grub_probefs-kern_disk.o
: kern
/disk.c
611 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
613 grub_probefs-kern_disk.d
: kern
/disk.c
614 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,disk\.o[ :]*,grub_probefs-kern_disk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
616 -include grub_probefs-kern_disk.d
618 grub_probefs-kern_err.o
: kern
/err.c
619 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
621 grub_probefs-kern_err.d
: kern
/err.c
622 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,err\.o[ :]*,grub_probefs-kern_err.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
624 -include grub_probefs-kern_err.d
626 grub_probefs-kern_misc.o
: kern
/misc.c
627 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
629 grub_probefs-kern_misc.d
: kern
/misc.c
630 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_probefs-kern_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
632 -include grub_probefs-kern_misc.d
634 grub_probefs-fs_fat.o
: fs
/fat.c
635 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
637 grub_probefs-fs_fat.d
: fs
/fat.c
638 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,fat\.o[ :]*,grub_probefs-fs_fat.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
640 -include grub_probefs-fs_fat.d
642 grub_probefs-fs_ext2.o
: fs
/ext2.c
643 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
645 grub_probefs-fs_ext2.d
: fs
/ext2.c
646 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,ext2\.o[ :]*,grub_probefs-fs_ext2.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
648 -include grub_probefs-fs_ext2.d
650 grub_probefs-kern_parser.o
: kern
/parser.c
651 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
653 grub_probefs-kern_parser.d
: kern
/parser.c
654 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,parser\.o[ :]*,grub_probefs-kern_parser.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
656 -include grub_probefs-kern_parser.d
658 grub_probefs-kern_partition.o
: kern
/partition.c
659 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
661 grub_probefs-kern_partition.d
: kern
/partition.c
662 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,partition\.o[ :]*,grub_probefs-kern_partition.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
664 -include grub_probefs-kern_partition.d
666 grub_probefs-partmap_pc.o
: partmap
/pc.c
667 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
669 grub_probefs-partmap_pc.d
: partmap
/pc.c
670 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,pc\.o[ :]*,grub_probefs-partmap_pc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
672 -include grub_probefs-partmap_pc.d
674 grub_probefs-fs_ufs.o
: fs
/ufs.c
675 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
677 grub_probefs-fs_ufs.d
: fs
/ufs.c
678 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,ufs\.o[ :]*,grub_probefs-fs_ufs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
680 -include grub_probefs-fs_ufs.d
682 grub_probefs-fs_minix.o
: fs
/minix.c
683 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
685 grub_probefs-fs_minix.d
: fs
/minix.c
686 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,minix\.o[ :]*,grub_probefs-fs_minix.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
688 -include grub_probefs-fs_minix.d
690 grub_probefs-fs_hfs.o
: fs
/hfs.c
691 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
693 grub_probefs-fs_hfs.d
: fs
/hfs.c
694 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,hfs\.o[ :]*,grub_probefs-fs_hfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
696 -include grub_probefs-fs_hfs.d
698 grub_probefs-fs_jfs.o
: fs
/jfs.c
699 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
701 grub_probefs-fs_jfs.d
: fs
/jfs.c
702 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,jfs\.o[ :]*,grub_probefs-fs_jfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
704 -include grub_probefs-fs_jfs.d
706 grub_probefs-kern_fs.o
: kern
/fs.c
707 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
709 grub_probefs-kern_fs.d
: kern
/fs.c
710 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,fs\.o[ :]*,grub_probefs-kern_fs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
712 -include grub_probefs-kern_fs.d
714 grub_probefs-kern_env.o
: kern
/env.c
715 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
717 grub_probefs-kern_env.d
: kern
/env.c
718 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,env\.o[ :]*,grub_probefs-kern_env.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
720 -include grub_probefs-kern_env.d
722 grub_probefs-fs_fshelp.o
: fs
/fshelp.c
723 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
725 grub_probefs-fs_fshelp.d
: fs
/fshelp.c
726 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,fshelp\.o[ :]*,grub_probefs-fs_fshelp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
728 -include grub_probefs-fs_fshelp.d
730 grub_probefs-fs_xfs.o
: fs
/xfs.c
731 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
733 grub_probefs-fs_xfs.d
: fs
/xfs.c
734 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,xfs\.o[ :]*,grub_probefs-fs_xfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
736 -include grub_probefs-fs_xfs.d
738 grub_probefs-fs_affs.o
: fs
/affs.c
739 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
741 grub_probefs-fs_affs.d
: fs
/affs.c
742 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,affs\.o[ :]*,grub_probefs-fs_affs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
744 -include grub_probefs-fs_affs.d
746 grub_probefs-fs_sfs.o
: fs
/sfs.c
747 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -c
-o
$@
$<
749 grub_probefs-fs_sfs.d
: fs
/sfs.c
750 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_probefs_CFLAGS
) -M
$< | sed
's,sfs\.o[ :]*,grub_probefs-fs_sfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
752 -include grub_probefs-fs_sfs.d
756 grub_emu_SOURCES
= commands
/boot.c commands
/cat.c commands
/cmp.c \
757 commands
/configfile.c commands
/default.c commands
/help.c \
758 commands
/terminal.c commands
/ls.c commands
/test.c \
759 commands
/search.c commands
/timeout.c \
760 commands
/i386
/pc/halt.c commands
/i386
/pc/reboot.c \
762 fs
/affs.c fs
/ext2.c fs
/fat.c fs
/fshelp.c fs
/hfs.c fs
/iso9660.c \
763 fs
/jfs.c fs
/minix.c fs
/sfs.c fs
/ufs.c fs
/xfs.c \
765 kern
/device.c kern
/disk.c kern
/dl.c kern
/env.c kern
/err.c \
766 normal
/execute.c kern
/file.c kern
/fs.c normal
/lexer.c \
767 kern
/loader.c kern
/main.c kern
/misc.c kern
/parser.c \
768 grub_script.tab.c kern
/partition.c kern
/rescue.c kern
/term.c \
769 normal
/arg.c normal
/cmdline.c normal
/command.c normal
/function.c\
770 normal
/completion.c normal
/context.c normal
/main.c \
771 normal
/menu.c normal
/menu_entry.c normal
/misc.c normal
/script.c \
772 partmap
/amiga.c partmap
/apple.c partmap
/pc.c partmap
/sun.c \
773 util
/console.c util
/grub-emu.c util
/misc.c \
774 util
/i386
/pc/biosdisk.c util
/i386
/pc/getroot.c \
775 util
/i386
/pc/misc.c grub_emu_init.c
776 CLEANFILES
+= grub-emu grub_emu-commands_boot.o grub_emu-commands_cat.o grub_emu-commands_cmp.o grub_emu-commands_configfile.o grub_emu-commands_default.o grub_emu-commands_help.o grub_emu-commands_terminal.o grub_emu-commands_ls.o grub_emu-commands_test.o grub_emu-commands_search.o grub_emu-commands_timeout.o grub_emu-commands_i386_pc_halt.o grub_emu-commands_i386_pc_reboot.o grub_emu-disk_loopback.o grub_emu-fs_affs.o grub_emu-fs_ext2.o grub_emu-fs_fat.o grub_emu-fs_fshelp.o grub_emu-fs_hfs.o grub_emu-fs_iso9660.o grub_emu-fs_jfs.o grub_emu-fs_minix.o grub_emu-fs_sfs.o grub_emu-fs_ufs.o grub_emu-fs_xfs.o grub_emu-io_gzio.o grub_emu-kern_device.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_env.o grub_emu-kern_err.o grub_emu-normal_execute.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-normal_lexer.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.o grub_emu-kern_parser.o grub_emu-grub_script_tab.o grub_emu-kern_partition.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-normal_arg.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_function.o grub_emu-normal_completion.o grub_emu-normal_context.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.o grub_emu-normal_misc.o grub_emu-normal_script.o grub_emu-partmap_amiga.o grub_emu-partmap_apple.o grub_emu-partmap_pc.o grub_emu-partmap_sun.o grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_i386_pc_biosdisk.o grub_emu-util_i386_pc_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-grub_emu_init.o
777 MOSTLYCLEANFILES
+= grub_emu-commands_boot.d grub_emu-commands_cat.d grub_emu-commands_cmp.d grub_emu-commands_configfile.d grub_emu-commands_default.d grub_emu-commands_help.d grub_emu-commands_terminal.d grub_emu-commands_ls.d grub_emu-commands_test.d grub_emu-commands_search.d grub_emu-commands_timeout.d grub_emu-commands_i386_pc_halt.d grub_emu-commands_i386_pc_reboot.d grub_emu-disk_loopback.d grub_emu-fs_affs.d grub_emu-fs_ext2.d grub_emu-fs_fat.d grub_emu-fs_fshelp.d grub_emu-fs_hfs.d grub_emu-fs_iso9660.d grub_emu-fs_jfs.d grub_emu-fs_minix.d grub_emu-fs_sfs.d grub_emu-fs_ufs.d grub_emu-fs_xfs.d grub_emu-io_gzio.d grub_emu-kern_device.d grub_emu-kern_disk.d grub_emu-kern_dl.d grub_emu-kern_env.d grub_emu-kern_err.d grub_emu-normal_execute.d grub_emu-kern_file.d grub_emu-kern_fs.d grub_emu-normal_lexer.d grub_emu-kern_loader.d grub_emu-kern_main.d grub_emu-kern_misc.d grub_emu-kern_parser.d grub_emu-grub_script_tab.d grub_emu-kern_partition.d grub_emu-kern_rescue.d grub_emu-kern_term.d grub_emu-normal_arg.d grub_emu-normal_cmdline.d grub_emu-normal_command.d grub_emu-normal_function.d grub_emu-normal_completion.d grub_emu-normal_context.d grub_emu-normal_main.d grub_emu-normal_menu.d grub_emu-normal_menu_entry.d grub_emu-normal_misc.d grub_emu-normal_script.d grub_emu-partmap_amiga.d grub_emu-partmap_apple.d grub_emu-partmap_pc.d grub_emu-partmap_sun.d grub_emu-util_console.d grub_emu-util_grub_emu.d grub_emu-util_misc.d grub_emu-util_i386_pc_biosdisk.d grub_emu-util_i386_pc_getroot.d grub_emu-util_i386_pc_misc.d grub_emu-grub_emu_init.d
779 grub-emu
: grub_emu-commands_boot.o grub_emu-commands_cat.o grub_emu-commands_cmp.o grub_emu-commands_configfile.o grub_emu-commands_default.o grub_emu-commands_help.o grub_emu-commands_terminal.o grub_emu-commands_ls.o grub_emu-commands_test.o grub_emu-commands_search.o grub_emu-commands_timeout.o grub_emu-commands_i386_pc_halt.o grub_emu-commands_i386_pc_reboot.o grub_emu-disk_loopback.o grub_emu-fs_affs.o grub_emu-fs_ext2.o grub_emu-fs_fat.o grub_emu-fs_fshelp.o grub_emu-fs_hfs.o grub_emu-fs_iso9660.o grub_emu-fs_jfs.o grub_emu-fs_minix.o grub_emu-fs_sfs.o grub_emu-fs_ufs.o grub_emu-fs_xfs.o grub_emu-io_gzio.o grub_emu-kern_device.o grub_emu-kern_disk.o grub_emu-kern_dl.o grub_emu-kern_env.o grub_emu-kern_err.o grub_emu-normal_execute.o grub_emu-kern_file.o grub_emu-kern_fs.o grub_emu-normal_lexer.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.o grub_emu-kern_parser.o grub_emu-grub_script_tab.o grub_emu-kern_partition.o grub_emu-kern_rescue.o grub_emu-kern_term.o grub_emu-normal_arg.o grub_emu-normal_cmdline.o grub_emu-normal_command.o grub_emu-normal_function.o grub_emu-normal_completion.o grub_emu-normal_context.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.o grub_emu-normal_misc.o grub_emu-normal_script.o grub_emu-partmap_amiga.o grub_emu-partmap_apple.o grub_emu-partmap_pc.o grub_emu-partmap_sun.o grub_emu-util_console.o grub_emu-util_grub_emu.o grub_emu-util_misc.o grub_emu-util_i386_pc_biosdisk.o grub_emu-util_i386_pc_getroot.o grub_emu-util_i386_pc_misc.o grub_emu-grub_emu_init.o
780 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_emu_LDFLAGS
)
782 grub_emu-commands_boot.o
: commands
/boot.c
783 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
785 grub_emu-commands_boot.d
: commands
/boot.c
786 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,boot\.o[ :]*,grub_emu-commands_boot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
788 -include grub_emu-commands_boot.d
790 grub_emu-commands_cat.o
: commands
/cat.c
791 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
793 grub_emu-commands_cat.d
: commands
/cat.c
794 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,cat\.o[ :]*,grub_emu-commands_cat.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
796 -include grub_emu-commands_cat.d
798 grub_emu-commands_cmp.o
: commands
/cmp.c
799 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
801 grub_emu-commands_cmp.d
: commands
/cmp.c
802 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,cmp\.o[ :]*,grub_emu-commands_cmp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
804 -include grub_emu-commands_cmp.d
806 grub_emu-commands_configfile.o
: commands
/configfile.c
807 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
809 grub_emu-commands_configfile.d
: commands
/configfile.c
810 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,configfile\.o[ :]*,grub_emu-commands_configfile.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
812 -include grub_emu-commands_configfile.d
814 grub_emu-commands_default.o
: commands
/default.c
815 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
817 grub_emu-commands_default.d
: commands
/default.c
818 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,default\.o[ :]*,grub_emu-commands_default.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
820 -include grub_emu-commands_default.d
822 grub_emu-commands_help.o
: commands
/help.c
823 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
825 grub_emu-commands_help.d
: commands
/help.c
826 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,help\.o[ :]*,grub_emu-commands_help.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
828 -include grub_emu-commands_help.d
830 grub_emu-commands_terminal.o
: commands
/terminal.c
831 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
833 grub_emu-commands_terminal.d
: commands
/terminal.c
834 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,terminal\.o[ :]*,grub_emu-commands_terminal.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
836 -include grub_emu-commands_terminal.d
838 grub_emu-commands_ls.o
: commands
/ls.c
839 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
841 grub_emu-commands_ls.d
: commands
/ls.c
842 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,ls\.o[ :]*,grub_emu-commands_ls.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
844 -include grub_emu-commands_ls.d
846 grub_emu-commands_test.o
: commands
/test.c
847 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
849 grub_emu-commands_test.d
: commands
/test.c
850 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,test\.o[ :]*,grub_emu-commands_test.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
852 -include grub_emu-commands_test.d
854 grub_emu-commands_search.o
: commands
/search.c
855 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
857 grub_emu-commands_search.d
: commands
/search.c
858 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,search\.o[ :]*,grub_emu-commands_search.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
860 -include grub_emu-commands_search.d
862 grub_emu-commands_timeout.o
: commands
/timeout.c
863 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
865 grub_emu-commands_timeout.d
: commands
/timeout.c
866 set
-e
; $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,timeout\.o[ :]*,grub_emu-commands_timeout.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
868 -include grub_emu-commands_timeout.d
870 grub_emu-commands_i386_pc_halt.o
: commands
/i386
/pc/halt.c
871 $(BUILD_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
873 grub_emu-commands_i386_pc_halt.d
: commands
/i386
/pc/halt.c
874 set
-e
; $(BUILD_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,halt\.o[ :]*,grub_emu-commands_i386_pc_halt.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
876 -include grub_emu-commands_i386_pc_halt.d
878 grub_emu-commands_i386_pc_reboot.o
: commands
/i386
/pc/reboot.c
879 $(BUILD_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
881 grub_emu-commands_i386_pc_reboot.d
: commands
/i386
/pc/reboot.c
882 set
-e
; $(BUILD_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,reboot\.o[ :]*,grub_emu-commands_i386_pc_reboot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
884 -include grub_emu-commands_i386_pc_reboot.d
886 grub_emu-disk_loopback.o
: disk
/loopback.c
887 $(BUILD_CC
) -Idisk
-I
$(srcdir)/disk
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
889 grub_emu-disk_loopback.d
: disk
/loopback.c
890 set
-e
; $(BUILD_CC
) -Idisk
-I
$(srcdir)/disk
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,loopback\.o[ :]*,grub_emu-disk_loopback.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
892 -include grub_emu-disk_loopback.d
894 grub_emu-fs_affs.o
: fs
/affs.c
895 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
897 grub_emu-fs_affs.d
: fs
/affs.c
898 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,affs\.o[ :]*,grub_emu-fs_affs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
900 -include grub_emu-fs_affs.d
902 grub_emu-fs_ext2.o
: fs
/ext2.c
903 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
905 grub_emu-fs_ext2.d
: fs
/ext2.c
906 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,ext2\.o[ :]*,grub_emu-fs_ext2.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
908 -include grub_emu-fs_ext2.d
910 grub_emu-fs_fat.o
: fs
/fat.c
911 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
913 grub_emu-fs_fat.d
: fs
/fat.c
914 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,fat\.o[ :]*,grub_emu-fs_fat.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
916 -include grub_emu-fs_fat.d
918 grub_emu-fs_fshelp.o
: fs
/fshelp.c
919 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
921 grub_emu-fs_fshelp.d
: fs
/fshelp.c
922 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,fshelp\.o[ :]*,grub_emu-fs_fshelp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
924 -include grub_emu-fs_fshelp.d
926 grub_emu-fs_hfs.o
: fs
/hfs.c
927 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
929 grub_emu-fs_hfs.d
: fs
/hfs.c
930 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,hfs\.o[ :]*,grub_emu-fs_hfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
932 -include grub_emu-fs_hfs.d
934 grub_emu-fs_iso9660.o
: fs
/iso9660.c
935 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
937 grub_emu-fs_iso9660.d
: fs
/iso9660.c
938 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,iso9660\.o[ :]*,grub_emu-fs_iso9660.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
940 -include grub_emu-fs_iso9660.d
942 grub_emu-fs_jfs.o
: fs
/jfs.c
943 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
945 grub_emu-fs_jfs.d
: fs
/jfs.c
946 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,jfs\.o[ :]*,grub_emu-fs_jfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
948 -include grub_emu-fs_jfs.d
950 grub_emu-fs_minix.o
: fs
/minix.c
951 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
953 grub_emu-fs_minix.d
: fs
/minix.c
954 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,minix\.o[ :]*,grub_emu-fs_minix.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
956 -include grub_emu-fs_minix.d
958 grub_emu-fs_sfs.o
: fs
/sfs.c
959 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
961 grub_emu-fs_sfs.d
: fs
/sfs.c
962 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,sfs\.o[ :]*,grub_emu-fs_sfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
964 -include grub_emu-fs_sfs.d
966 grub_emu-fs_ufs.o
: fs
/ufs.c
967 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
969 grub_emu-fs_ufs.d
: fs
/ufs.c
970 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,ufs\.o[ :]*,grub_emu-fs_ufs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
972 -include grub_emu-fs_ufs.d
974 grub_emu-fs_xfs.o
: fs
/xfs.c
975 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
977 grub_emu-fs_xfs.d
: fs
/xfs.c
978 set
-e
; $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,xfs\.o[ :]*,grub_emu-fs_xfs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
980 -include grub_emu-fs_xfs.d
982 grub_emu-io_gzio.o
: io
/gzio.c
983 $(BUILD_CC
) -Iio
-I
$(srcdir)/io
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
985 grub_emu-io_gzio.d
: io
/gzio.c
986 set
-e
; $(BUILD_CC
) -Iio
-I
$(srcdir)/io
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,gzio\.o[ :]*,grub_emu-io_gzio.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
988 -include grub_emu-io_gzio.d
990 grub_emu-kern_device.o
: kern
/device.c
991 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
993 grub_emu-kern_device.d
: kern
/device.c
994 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,device\.o[ :]*,grub_emu-kern_device.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
996 -include grub_emu-kern_device.d
998 grub_emu-kern_disk.o
: kern
/disk.c
999 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1001 grub_emu-kern_disk.d
: kern
/disk.c
1002 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,disk\.o[ :]*,grub_emu-kern_disk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1004 -include grub_emu-kern_disk.d
1006 grub_emu-kern_dl.o
: kern
/dl.c
1007 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1009 grub_emu-kern_dl.d
: kern
/dl.c
1010 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,dl\.o[ :]*,grub_emu-kern_dl.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1012 -include grub_emu-kern_dl.d
1014 grub_emu-kern_env.o
: kern
/env.c
1015 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1017 grub_emu-kern_env.d
: kern
/env.c
1018 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,env\.o[ :]*,grub_emu-kern_env.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1020 -include grub_emu-kern_env.d
1022 grub_emu-kern_err.o
: kern
/err.c
1023 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1025 grub_emu-kern_err.d
: kern
/err.c
1026 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,err\.o[ :]*,grub_emu-kern_err.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1028 -include grub_emu-kern_err.d
1030 grub_emu-normal_execute.o
: normal
/execute.c
1031 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1033 grub_emu-normal_execute.d
: normal
/execute.c
1034 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,execute\.o[ :]*,grub_emu-normal_execute.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1036 -include grub_emu-normal_execute.d
1038 grub_emu-kern_file.o
: kern
/file.c
1039 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1041 grub_emu-kern_file.d
: kern
/file.c
1042 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,file\.o[ :]*,grub_emu-kern_file.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1044 -include grub_emu-kern_file.d
1046 grub_emu-kern_fs.o
: kern
/fs.c
1047 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1049 grub_emu-kern_fs.d
: kern
/fs.c
1050 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,fs\.o[ :]*,grub_emu-kern_fs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1052 -include grub_emu-kern_fs.d
1054 grub_emu-normal_lexer.o
: normal
/lexer.c
1055 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1057 grub_emu-normal_lexer.d
: normal
/lexer.c
1058 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,lexer\.o[ :]*,grub_emu-normal_lexer.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1060 -include grub_emu-normal_lexer.d
1062 grub_emu-kern_loader.o
: kern
/loader.c
1063 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1065 grub_emu-kern_loader.d
: kern
/loader.c
1066 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,loader\.o[ :]*,grub_emu-kern_loader.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1068 -include grub_emu-kern_loader.d
1070 grub_emu-kern_main.o
: kern
/main.c
1071 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1073 grub_emu-kern_main.d
: kern
/main.c
1074 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,main\.o[ :]*,grub_emu-kern_main.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1076 -include grub_emu-kern_main.d
1078 grub_emu-kern_misc.o
: kern
/misc.c
1079 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1081 grub_emu-kern_misc.d
: kern
/misc.c
1082 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_emu-kern_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1084 -include grub_emu-kern_misc.d
1086 grub_emu-kern_parser.o
: kern
/parser.c
1087 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1089 grub_emu-kern_parser.d
: kern
/parser.c
1090 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,parser\.o[ :]*,grub_emu-kern_parser.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1092 -include grub_emu-kern_parser.d
1094 grub_emu-grub_script_tab.o
: grub_script.tab.c
1095 $(BUILD_CC
) -I.
-I
$(srcdir)/.
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1097 grub_emu-grub_script_tab.d
: grub_script.tab.c
1098 set
-e
; $(BUILD_CC
) -I.
-I
$(srcdir)/.
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,grub_script\.tab\.o[ :]*,grub_emu-grub_script_tab.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1100 -include grub_emu-grub_script_tab.d
1102 grub_emu-kern_partition.o
: kern
/partition.c
1103 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1105 grub_emu-kern_partition.d
: kern
/partition.c
1106 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,partition\.o[ :]*,grub_emu-kern_partition.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1108 -include grub_emu-kern_partition.d
1110 grub_emu-kern_rescue.o
: kern
/rescue.c
1111 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1113 grub_emu-kern_rescue.d
: kern
/rescue.c
1114 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,rescue\.o[ :]*,grub_emu-kern_rescue.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1116 -include grub_emu-kern_rescue.d
1118 grub_emu-kern_term.o
: kern
/term.c
1119 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1121 grub_emu-kern_term.d
: kern
/term.c
1122 set
-e
; $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,term\.o[ :]*,grub_emu-kern_term.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1124 -include grub_emu-kern_term.d
1126 grub_emu-normal_arg.o
: normal
/arg.c
1127 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1129 grub_emu-normal_arg.d
: normal
/arg.c
1130 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,arg\.o[ :]*,grub_emu-normal_arg.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1132 -include grub_emu-normal_arg.d
1134 grub_emu-normal_cmdline.o
: normal
/cmdline.c
1135 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1137 grub_emu-normal_cmdline.d
: normal
/cmdline.c
1138 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,cmdline\.o[ :]*,grub_emu-normal_cmdline.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1140 -include grub_emu-normal_cmdline.d
1142 grub_emu-normal_command.o
: normal
/command.c
1143 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1145 grub_emu-normal_command.d
: normal
/command.c
1146 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,command\.o[ :]*,grub_emu-normal_command.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1148 -include grub_emu-normal_command.d
1150 grub_emu-normal_function.o
: normal
/function.c
1151 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1153 grub_emu-normal_function.d
: normal
/function.c
1154 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,function\.o[ :]*,grub_emu-normal_function.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1156 -include grub_emu-normal_function.d
1158 grub_emu-normal_completion.o
: normal
/completion.c
1159 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1161 grub_emu-normal_completion.d
: normal
/completion.c
1162 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,completion\.o[ :]*,grub_emu-normal_completion.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1164 -include grub_emu-normal_completion.d
1166 grub_emu-normal_context.o
: normal
/context.c
1167 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1169 grub_emu-normal_context.d
: normal
/context.c
1170 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,context\.o[ :]*,grub_emu-normal_context.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1172 -include grub_emu-normal_context.d
1174 grub_emu-normal_main.o
: normal
/main.c
1175 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1177 grub_emu-normal_main.d
: normal
/main.c
1178 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,main\.o[ :]*,grub_emu-normal_main.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1180 -include grub_emu-normal_main.d
1182 grub_emu-normal_menu.o
: normal
/menu.c
1183 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1185 grub_emu-normal_menu.d
: normal
/menu.c
1186 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,menu\.o[ :]*,grub_emu-normal_menu.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1188 -include grub_emu-normal_menu.d
1190 grub_emu-normal_menu_entry.o
: normal
/menu_entry.c
1191 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1193 grub_emu-normal_menu_entry.d
: normal
/menu_entry.c
1194 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,menu_entry\.o[ :]*,grub_emu-normal_menu_entry.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1196 -include grub_emu-normal_menu_entry.d
1198 grub_emu-normal_misc.o
: normal
/misc.c
1199 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1201 grub_emu-normal_misc.d
: normal
/misc.c
1202 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_emu-normal_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1204 -include grub_emu-normal_misc.d
1206 grub_emu-normal_script.o
: normal
/script.c
1207 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1209 grub_emu-normal_script.d
: normal
/script.c
1210 set
-e
; $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,script\.o[ :]*,grub_emu-normal_script.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1212 -include grub_emu-normal_script.d
1214 grub_emu-partmap_amiga.o
: partmap
/amiga.c
1215 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1217 grub_emu-partmap_amiga.d
: partmap
/amiga.c
1218 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,amiga\.o[ :]*,grub_emu-partmap_amiga.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1220 -include grub_emu-partmap_amiga.d
1222 grub_emu-partmap_apple.o
: partmap
/apple.c
1223 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1225 grub_emu-partmap_apple.d
: partmap
/apple.c
1226 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,apple\.o[ :]*,grub_emu-partmap_apple.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1228 -include grub_emu-partmap_apple.d
1230 grub_emu-partmap_pc.o
: partmap
/pc.c
1231 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1233 grub_emu-partmap_pc.d
: partmap
/pc.c
1234 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,pc\.o[ :]*,grub_emu-partmap_pc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1236 -include grub_emu-partmap_pc.d
1238 grub_emu-partmap_sun.o
: partmap
/sun.c
1239 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1241 grub_emu-partmap_sun.d
: partmap
/sun.c
1242 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,sun\.o[ :]*,grub_emu-partmap_sun.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1244 -include grub_emu-partmap_sun.d
1246 grub_emu-util_console.o
: util
/console.c
1247 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1249 grub_emu-util_console.d
: util
/console.c
1250 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,console\.o[ :]*,grub_emu-util_console.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1252 -include grub_emu-util_console.d
1254 grub_emu-util_grub_emu.o
: util
/grub-emu.c
1255 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1257 grub_emu-util_grub_emu.d
: util
/grub-emu.c
1258 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,grub\-emu\.o[ :]*,grub_emu-util_grub_emu.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1260 -include grub_emu-util_grub_emu.d
1262 grub_emu-util_misc.o
: util
/misc.c
1263 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1265 grub_emu-util_misc.d
: util
/misc.c
1266 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_emu-util_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1268 -include grub_emu-util_misc.d
1270 grub_emu-util_i386_pc_biosdisk.o
: util
/i386
/pc/biosdisk.c
1271 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1273 grub_emu-util_i386_pc_biosdisk.d
: util
/i386
/pc/biosdisk.c
1274 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,biosdisk\.o[ :]*,grub_emu-util_i386_pc_biosdisk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1276 -include grub_emu-util_i386_pc_biosdisk.d
1278 grub_emu-util_i386_pc_getroot.o
: util
/i386
/pc/getroot.c
1279 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1281 grub_emu-util_i386_pc_getroot.d
: util
/i386
/pc/getroot.c
1282 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,getroot\.o[ :]*,grub_emu-util_i386_pc_getroot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1284 -include grub_emu-util_i386_pc_getroot.d
1286 grub_emu-util_i386_pc_misc.o
: util
/i386
/pc/misc.c
1287 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1289 grub_emu-util_i386_pc_misc.d
: util
/i386
/pc/misc.c
1290 set
-e
; $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,grub_emu-util_i386_pc_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1292 -include grub_emu-util_i386_pc_misc.d
1294 grub_emu-grub_emu_init.o
: grub_emu_init.c
1295 $(BUILD_CC
) -I.
-I
$(srcdir)/.
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
1297 grub_emu-grub_emu_init.d
: grub_emu_init.c
1298 set
-e
; $(BUILD_CC
) -I.
-I
$(srcdir)/.
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -M
$< | sed
's,grub_emu_init\.o[ :]*,grub_emu-grub_emu_init.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1300 -include grub_emu-grub_emu_init.d
1303 grub_emu_LDFLAGS
= $(LIBCURSES
)
1305 grub_modules_init.lst
: geninit.sh
1306 (cd
$(srcdir); grep
-r
--include="*.c" GRUB_MOD_INIT
*) > $@
1308 grub_modules_init.h
: $(filter-out grub_emu_init.c
,$(grub_emu_SOURCES
)) geninitheader.sh grub_modules_init.lst
1309 sh
$(srcdir)/geninitheader.sh
> $@
1311 grub_emu_init.c
: $(filter-out grub_emu_init.c
,$(grub_emu_SOURCES
)) geninit.sh grub_modules_init.lst grub_modules_init.h
1312 sh
$(srcdir)/geninit.sh
$(filter %.c
,$^
) > $@
1315 genmoddep_SOURCES
= util
/genmoddep.c
1316 CLEANFILES
+= genmoddep genmoddep-util_genmoddep.o
1317 MOSTLYCLEANFILES
+= genmoddep-util_genmoddep.d
1319 genmoddep
: genmoddep-util_genmoddep.o
1320 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(genmoddep_LDFLAGS
)
1322 genmoddep-util_genmoddep.o
: util
/genmoddep.c
1323 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(genmoddep_CFLAGS
) -c
-o
$@
$<
1325 genmoddep-util_genmoddep.d
: util
/genmoddep.c
1326 set
-e
; $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(genmoddep_CFLAGS
) -M
$< | sed
's,genmoddep\.o[ :]*,genmoddep-util_genmoddep.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1328 -include genmoddep-util_genmoddep.d
1332 sbin_SCRIPTS
= grub-install
1335 grub_install_SOURCES
= util
/i386
/pc/grub-install.in
1336 CLEANFILES
+= grub-install
1338 grub-install
: util
/i386
/pc/grub-install.in config.status
1339 .
/config.status
--file
=grub-install
:util
/i386
/pc/grub-install.in
1344 pkgdata_MODULES
= _chain.mod _linux.mod linux.mod fat.mod ufs.mod \
1345 ext2.mod minix.mod hfs.mod jfs.mod normal.mod hello.mod vga.mod \
1346 font.mod _multiboot.mod ls.mod boot.mod cmp.mod cat.mod \
1347 terminal.mod fshelp.mod chain.mod multiboot.mod amiga.mod \
1348 apple.mod
pc.mod sun.mod loopback.mod reboot.mod halt.mod \
1349 help.mod default.mod timeout.mod configfile.mod vbe.mod \
1350 vesafb.mod vbetest.mod vbeinfo.mod search.mod gzio.mod \
1351 terminfo.mod serial.mod xfs.mod affs.mod sfs.mod
test.mod
1354 _chain_mod_SOURCES
= loader
/i386
/pc/chainloader.c
1355 CLEANFILES
+= _chain.mod mod-_chain.o mod-_chain.c pre-_chain.o _chain_mod-loader_i386_pc_chainloader.o def-_chain.lst und-_chain.lst
1356 MOSTLYCLEANFILES
+= _chain_mod-loader_i386_pc_chainloader.d
1357 DEFSYMFILES
+= def-_chain.lst
1358 UNDSYMFILES
+= und-_chain.lst
1360 _chain.mod
: pre-_chain.o mod-_chain.o
1362 $(LD
) $(_chain_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1363 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1365 pre-_chain.o
: _chain_mod-loader_i386_pc_chainloader.o
1367 $(LD
) $(_chain_mod_LDFLAGS
) -r
-d
-o
$@
$^
1369 mod-_chain.o
: mod-_chain.c
1370 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -c
-o
$@
$<
1372 mod-_chain.c
: moddep.lst genmodsrc.sh
1373 sh
$(srcdir)/genmodsrc.sh
'_chain' $< > $@ ||
(rm -f
$@
; exit
1)
1375 def-_chain.lst
: pre-_chain.o
1376 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _chain/' > $@
1378 und-_chain.lst
: pre-_chain.o
1380 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1382 _chain_mod-loader_i386_pc_chainloader.o
: loader
/i386
/pc/chainloader.c
1383 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -c
-o
$@
$<
1385 _chain_mod-loader_i386_pc_chainloader.d
: loader
/i386
/pc/chainloader.c
1386 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -M
$< | sed
's,chainloader\.o[ :]*,_chain_mod-loader_i386_pc_chainloader.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1388 -include _chain_mod-loader_i386_pc_chainloader.d
1390 CLEANFILES
+= cmd-chainloader.lst fs-chainloader.lst
1391 COMMANDFILES
+= cmd-chainloader.lst
1392 FSFILES
+= fs-chainloader.lst
1394 cmd-chainloader.lst
: loader
/i386
/pc/chainloader.c gencmdlist.sh
1395 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _chain
> $@ ||
(rm -f
$@
; exit
1)
1397 fs-chainloader.lst
: loader
/i386
/pc/chainloader.c genfslist.sh
1398 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _chain
> $@ ||
(rm -f
$@
; exit
1)
1401 _chain_mod_CFLAGS
= $(COMMON_CFLAGS
)
1402 _chain_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1405 chain_mod_SOURCES
= loader
/i386
/pc/chainloader_normal.c
1406 CLEANFILES
+= chain.mod mod-chain.o mod-chain.c pre-chain.o chain_mod-loader_i386_pc_chainloader_normal.o def-chain.lst und-chain.lst
1407 MOSTLYCLEANFILES
+= chain_mod-loader_i386_pc_chainloader_normal.d
1408 DEFSYMFILES
+= def-chain.lst
1409 UNDSYMFILES
+= und-chain.lst
1411 chain.mod
: pre-chain.o mod-chain.o
1413 $(LD
) $(chain_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1414 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1416 pre-chain.o
: chain_mod-loader_i386_pc_chainloader_normal.o
1418 $(LD
) $(chain_mod_LDFLAGS
) -r
-d
-o
$@
$^
1420 mod-chain.o
: mod-chain.c
1421 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -c
-o
$@
$<
1423 mod-chain.c
: moddep.lst genmodsrc.sh
1424 sh
$(srcdir)/genmodsrc.sh
'chain' $< > $@ ||
(rm -f
$@
; exit
1)
1426 def-chain.lst
: pre-chain.o
1427 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 chain/' > $@
1429 und-chain.lst
: pre-chain.o
1431 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1433 chain_mod-loader_i386_pc_chainloader_normal.o
: loader
/i386
/pc/chainloader_normal.c
1434 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -c
-o
$@
$<
1436 chain_mod-loader_i386_pc_chainloader_normal.d
: loader
/i386
/pc/chainloader_normal.c
1437 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -M
$< | sed
's,chainloader_normal\.o[ :]*,chain_mod-loader_i386_pc_chainloader_normal.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
1439 -include chain_mod-loader_i386_pc_chainloader_normal.d
1441 CLEANFILES
+= cmd-chainloader_normal.lst fs-chainloader_normal.lst
1442 COMMANDFILES
+= cmd-chainloader_normal.lst
1443 FSFILES
+= fs-chainloader_normal.lst
1445 cmd-chainloader_normal.lst
: loader
/i386
/pc/chainloader_normal.c gencmdlist.sh
1446 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh chain
> $@ ||
(rm -f
$@
; exit
1)
1448 fs-chainloader_normal.lst
: loader
/i386
/pc/chainloader_normal.c genfslist.sh
1449 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh chain
> $@ ||
(rm -f
$@
; exit
1)
1452 chain_mod_CFLAGS
= $(COMMON_CFLAGS
)
1453 chain_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1456 fshelp_mod_SOURCES
= fs
/fshelp.c
1457 CLEANFILES
+= fshelp.mod mod-fshelp.o mod-fshelp.c pre-fshelp.o fshelp_mod-fs_fshelp.o def-fshelp.lst und-fshelp.lst
1458 MOSTLYCLEANFILES
+= fshelp_mod-fs_fshelp.d
1459 DEFSYMFILES
+= def-fshelp.lst
1460 UNDSYMFILES
+= und-fshelp.lst
1462 fshelp.mod
: pre-fshelp.o mod-fshelp.o
1464 $(LD
) $(fshelp_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1465 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1467 pre-fshelp.o
: fshelp_mod-fs_fshelp.o
1469 $(LD
) $(fshelp_mod_LDFLAGS
) -r
-d
-o
$@
$^
1471 mod-fshelp.o
: mod-fshelp.c
1472 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
1474 mod-fshelp.c
: moddep.lst genmodsrc.sh
1475 sh
$(srcdir)/genmodsrc.sh
'fshelp' $< > $@ ||
(rm -f
$@
; exit
1)
1477 def-fshelp.lst
: pre-fshelp.o
1478 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fshelp/' > $@
1480 und-fshelp.lst
: pre-fshelp.o
1482 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1484 fshelp_mod-fs_fshelp.o
: fs
/fshelp.c
1485 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
1487 fshelp_mod-fs_fshelp.d
: fs
/fshelp.c
1488 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
$@
1490 -include fshelp_mod-fs_fshelp.d
1492 CLEANFILES
+= cmd-fshelp.lst fs-fshelp.lst
1493 COMMANDFILES
+= cmd-fshelp.lst
1494 FSFILES
+= fs-fshelp.lst
1496 cmd-fshelp.lst
: fs
/fshelp.c gencmdlist.sh
1497 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
1499 fs-fshelp.lst
: fs
/fshelp.c genfslist.sh
1500 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh fshelp
> $@ ||
(rm -f
$@
; exit
1)
1503 fshelp_mod_CFLAGS
= $(COMMON_CFLAGS
)
1504 fshelp_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1507 fat_mod_SOURCES
= fs
/fat.c
1508 CLEANFILES
+= fat.mod mod-fat.o mod-fat.c pre-fat.o fat_mod-fs_fat.o def-fat.lst und-fat.lst
1509 MOSTLYCLEANFILES
+= fat_mod-fs_fat.d
1510 DEFSYMFILES
+= def-fat.lst
1511 UNDSYMFILES
+= und-fat.lst
1513 fat.mod
: pre-fat.o mod-fat.o
1515 $(LD
) $(fat_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1516 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1518 pre-fat.o
: fat_mod-fs_fat.o
1520 $(LD
) $(fat_mod_LDFLAGS
) -r
-d
-o
$@
$^
1522 mod-fat.o
: mod-fat.c
1523 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
1525 mod-fat.c
: moddep.lst genmodsrc.sh
1526 sh
$(srcdir)/genmodsrc.sh
'fat' $< > $@ ||
(rm -f
$@
; exit
1)
1528 def-fat.lst
: pre-fat.o
1529 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fat/' > $@
1531 und-fat.lst
: pre-fat.o
1533 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1535 fat_mod-fs_fat.o
: fs
/fat.c
1536 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
1538 fat_mod-fs_fat.d
: fs
/fat.c
1539 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
$@
1541 -include fat_mod-fs_fat.d
1543 CLEANFILES
+= cmd-fat.lst fs-fat.lst
1544 COMMANDFILES
+= cmd-fat.lst
1545 FSFILES
+= fs-fat.lst
1547 cmd-fat.lst
: fs
/fat.c gencmdlist.sh
1548 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
1550 fs-fat.lst
: fs
/fat.c genfslist.sh
1551 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh fat
> $@ ||
(rm -f
$@
; exit
1)
1554 fat_mod_CFLAGS
= $(COMMON_CFLAGS
)
1555 fat_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1558 ext2_mod_SOURCES
= fs
/ext2.c
1559 CLEANFILES
+= ext2.mod mod-ext2.o mod-ext2.c pre-ext2.o ext2_mod-fs_ext2.o def-ext2.lst und-ext2.lst
1560 MOSTLYCLEANFILES
+= ext2_mod-fs_ext2.d
1561 DEFSYMFILES
+= def-ext2.lst
1562 UNDSYMFILES
+= und-ext2.lst
1564 ext2.mod
: pre-ext2.o mod-ext2.o
1566 $(LD
) $(ext2_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1567 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1569 pre-ext2.o
: ext2_mod-fs_ext2.o
1571 $(LD
) $(ext2_mod_LDFLAGS
) -r
-d
-o
$@
$^
1573 mod-ext2.o
: mod-ext2.c
1574 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
1576 mod-ext2.c
: moddep.lst genmodsrc.sh
1577 sh
$(srcdir)/genmodsrc.sh
'ext2' $< > $@ ||
(rm -f
$@
; exit
1)
1579 def-ext2.lst
: pre-ext2.o
1580 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ext2/' > $@
1582 und-ext2.lst
: pre-ext2.o
1584 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1586 ext2_mod-fs_ext2.o
: fs
/ext2.c
1587 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
1589 ext2_mod-fs_ext2.d
: fs
/ext2.c
1590 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
$@
1592 -include ext2_mod-fs_ext2.d
1594 CLEANFILES
+= cmd-ext2.lst fs-ext2.lst
1595 COMMANDFILES
+= cmd-ext2.lst
1596 FSFILES
+= fs-ext2.lst
1598 cmd-ext2.lst
: fs
/ext2.c gencmdlist.sh
1599 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
1601 fs-ext2.lst
: fs
/ext2.c genfslist.sh
1602 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ext2
> $@ ||
(rm -f
$@
; exit
1)
1605 ext2_mod_CFLAGS
= $(COMMON_CFLAGS
)
1606 ext2_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1609 ufs_mod_SOURCES
= fs
/ufs.c
1610 CLEANFILES
+= ufs.mod mod-ufs.o mod-ufs.c pre-ufs.o ufs_mod-fs_ufs.o def-ufs.lst und-ufs.lst
1611 MOSTLYCLEANFILES
+= ufs_mod-fs_ufs.d
1612 DEFSYMFILES
+= def-ufs.lst
1613 UNDSYMFILES
+= und-ufs.lst
1615 ufs.mod
: pre-ufs.o mod-ufs.o
1617 $(LD
) $(ufs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1618 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1620 pre-ufs.o
: ufs_mod-fs_ufs.o
1622 $(LD
) $(ufs_mod_LDFLAGS
) -r
-d
-o
$@
$^
1624 mod-ufs.o
: mod-ufs.c
1625 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
1627 mod-ufs.c
: moddep.lst genmodsrc.sh
1628 sh
$(srcdir)/genmodsrc.sh
'ufs' $< > $@ ||
(rm -f
$@
; exit
1)
1630 def-ufs.lst
: pre-ufs.o
1631 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ufs/' > $@
1633 und-ufs.lst
: pre-ufs.o
1635 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1637 ufs_mod-fs_ufs.o
: fs
/ufs.c
1638 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
1640 ufs_mod-fs_ufs.d
: fs
/ufs.c
1641 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
$@
1643 -include ufs_mod-fs_ufs.d
1645 CLEANFILES
+= cmd-ufs.lst fs-ufs.lst
1646 COMMANDFILES
+= cmd-ufs.lst
1647 FSFILES
+= fs-ufs.lst
1649 cmd-ufs.lst
: fs
/ufs.c gencmdlist.sh
1650 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
1652 fs-ufs.lst
: fs
/ufs.c genfslist.sh
1653 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ufs
> $@ ||
(rm -f
$@
; exit
1)
1656 ufs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1657 ufs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1660 minix_mod_SOURCES
= fs
/minix.c
1661 CLEANFILES
+= minix.mod mod-minix.o mod-minix.c pre-minix.o minix_mod-fs_minix.o def-minix.lst und-minix.lst
1662 MOSTLYCLEANFILES
+= minix_mod-fs_minix.d
1663 DEFSYMFILES
+= def-minix.lst
1664 UNDSYMFILES
+= und-minix.lst
1666 minix.mod
: pre-minix.o mod-minix.o
1668 $(LD
) $(minix_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1669 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1671 pre-minix.o
: minix_mod-fs_minix.o
1673 $(LD
) $(minix_mod_LDFLAGS
) -r
-d
-o
$@
$^
1675 mod-minix.o
: mod-minix.c
1676 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
1678 mod-minix.c
: moddep.lst genmodsrc.sh
1679 sh
$(srcdir)/genmodsrc.sh
'minix' $< > $@ ||
(rm -f
$@
; exit
1)
1681 def-minix.lst
: pre-minix.o
1682 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 minix/' > $@
1684 und-minix.lst
: pre-minix.o
1686 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1688 minix_mod-fs_minix.o
: fs
/minix.c
1689 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
1691 minix_mod-fs_minix.d
: fs
/minix.c
1692 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
$@
1694 -include minix_mod-fs_minix.d
1696 CLEANFILES
+= cmd-minix.lst fs-minix.lst
1697 COMMANDFILES
+= cmd-minix.lst
1698 FSFILES
+= fs-minix.lst
1700 cmd-minix.lst
: fs
/minix.c gencmdlist.sh
1701 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
1703 fs-minix.lst
: fs
/minix.c genfslist.sh
1704 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh minix
> $@ ||
(rm -f
$@
; exit
1)
1707 minix_mod_CFLAGS
= $(COMMON_CFLAGS
)
1708 minix_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1711 hfs_mod_SOURCES
= fs
/hfs.c
1712 CLEANFILES
+= hfs.mod mod-hfs.o mod-hfs.c pre-hfs.o hfs_mod-fs_hfs.o def-hfs.lst und-hfs.lst
1713 MOSTLYCLEANFILES
+= hfs_mod-fs_hfs.d
1714 DEFSYMFILES
+= def-hfs.lst
1715 UNDSYMFILES
+= und-hfs.lst
1717 hfs.mod
: pre-hfs.o mod-hfs.o
1719 $(LD
) $(hfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1720 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1722 pre-hfs.o
: hfs_mod-fs_hfs.o
1724 $(LD
) $(hfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
1726 mod-hfs.o
: mod-hfs.c
1727 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
1729 mod-hfs.c
: moddep.lst genmodsrc.sh
1730 sh
$(srcdir)/genmodsrc.sh
'hfs' $< > $@ ||
(rm -f
$@
; exit
1)
1732 def-hfs.lst
: pre-hfs.o
1733 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hfs/' > $@
1735 und-hfs.lst
: pre-hfs.o
1737 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1739 hfs_mod-fs_hfs.o
: fs
/hfs.c
1740 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
1742 hfs_mod-fs_hfs.d
: fs
/hfs.c
1743 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
$@
1745 -include hfs_mod-fs_hfs.d
1747 CLEANFILES
+= cmd-hfs.lst fs-hfs.lst
1748 COMMANDFILES
+= cmd-hfs.lst
1749 FSFILES
+= fs-hfs.lst
1751 cmd-hfs.lst
: fs
/hfs.c gencmdlist.sh
1752 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
1754 fs-hfs.lst
: fs
/hfs.c genfslist.sh
1755 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh hfs
> $@ ||
(rm -f
$@
; exit
1)
1758 hfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1759 hfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1762 jfs_mod_SOURCES
= fs
/jfs.c
1763 CLEANFILES
+= jfs.mod mod-jfs.o mod-jfs.c pre-jfs.o jfs_mod-fs_jfs.o def-jfs.lst und-jfs.lst
1764 MOSTLYCLEANFILES
+= jfs_mod-fs_jfs.d
1765 DEFSYMFILES
+= def-jfs.lst
1766 UNDSYMFILES
+= und-jfs.lst
1768 jfs.mod
: pre-jfs.o mod-jfs.o
1770 $(LD
) $(jfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1771 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1773 pre-jfs.o
: jfs_mod-fs_jfs.o
1775 $(LD
) $(jfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
1777 mod-jfs.o
: mod-jfs.c
1778 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
1780 mod-jfs.c
: moddep.lst genmodsrc.sh
1781 sh
$(srcdir)/genmodsrc.sh
'jfs' $< > $@ ||
(rm -f
$@
; exit
1)
1783 def-jfs.lst
: pre-jfs.o
1784 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 jfs/' > $@
1786 und-jfs.lst
: pre-jfs.o
1788 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1790 jfs_mod-fs_jfs.o
: fs
/jfs.c
1791 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
1793 jfs_mod-fs_jfs.d
: fs
/jfs.c
1794 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
$@
1796 -include jfs_mod-fs_jfs.d
1798 CLEANFILES
+= cmd-jfs.lst fs-jfs.lst
1799 COMMANDFILES
+= cmd-jfs.lst
1800 FSFILES
+= fs-jfs.lst
1802 cmd-jfs.lst
: fs
/jfs.c gencmdlist.sh
1803 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
1805 fs-jfs.lst
: fs
/jfs.c genfslist.sh
1806 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh jfs
> $@ ||
(rm -f
$@
; exit
1)
1809 jfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1810 jfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1813 iso9660_mod_SOURCES
= fs
/iso9660.c
1814 iso9660_mod_CFLAGS
= $(COMMON_CFLAGS
)
1815 iso9660_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1818 xfs_mod_SOURCES
= fs
/xfs.c
1819 CLEANFILES
+= xfs.mod mod-xfs.o mod-xfs.c pre-xfs.o xfs_mod-fs_xfs.o def-xfs.lst und-xfs.lst
1820 MOSTLYCLEANFILES
+= xfs_mod-fs_xfs.d
1821 DEFSYMFILES
+= def-xfs.lst
1822 UNDSYMFILES
+= und-xfs.lst
1824 xfs.mod
: pre-xfs.o mod-xfs.o
1826 $(LD
) $(xfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1827 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1829 pre-xfs.o
: xfs_mod-fs_xfs.o
1831 $(LD
) $(xfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
1833 mod-xfs.o
: mod-xfs.c
1834 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -c
-o
$@
$<
1836 mod-xfs.c
: moddep.lst genmodsrc.sh
1837 sh
$(srcdir)/genmodsrc.sh
'xfs' $< > $@ ||
(rm -f
$@
; exit
1)
1839 def-xfs.lst
: pre-xfs.o
1840 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 xfs/' > $@
1842 und-xfs.lst
: pre-xfs.o
1844 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1846 xfs_mod-fs_xfs.o
: fs
/xfs.c
1847 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -c
-o
$@
$<
1849 xfs_mod-fs_xfs.d
: fs
/xfs.c
1850 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
$@
1852 -include xfs_mod-fs_xfs.d
1854 CLEANFILES
+= cmd-xfs.lst fs-xfs.lst
1855 COMMANDFILES
+= cmd-xfs.lst
1856 FSFILES
+= fs-xfs.lst
1858 cmd-xfs.lst
: fs
/xfs.c gencmdlist.sh
1859 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
1861 fs-xfs.lst
: fs
/xfs.c genfslist.sh
1862 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(xfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh xfs
> $@ ||
(rm -f
$@
; exit
1)
1865 xfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1866 xfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1869 affs_mod_SOURCES
= fs
/affs.c
1870 CLEANFILES
+= affs.mod mod-affs.o mod-affs.c pre-affs.o affs_mod-fs_affs.o def-affs.lst und-affs.lst
1871 MOSTLYCLEANFILES
+= affs_mod-fs_affs.d
1872 DEFSYMFILES
+= def-affs.lst
1873 UNDSYMFILES
+= und-affs.lst
1875 affs.mod
: pre-affs.o mod-affs.o
1877 $(LD
) $(affs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1878 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1880 pre-affs.o
: affs_mod-fs_affs.o
1882 $(LD
) $(affs_mod_LDFLAGS
) -r
-d
-o
$@
$^
1884 mod-affs.o
: mod-affs.c
1885 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -c
-o
$@
$<
1887 mod-affs.c
: moddep.lst genmodsrc.sh
1888 sh
$(srcdir)/genmodsrc.sh
'affs' $< > $@ ||
(rm -f
$@
; exit
1)
1890 def-affs.lst
: pre-affs.o
1891 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 affs/' > $@
1893 und-affs.lst
: pre-affs.o
1895 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1897 affs_mod-fs_affs.o
: fs
/affs.c
1898 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -c
-o
$@
$<
1900 affs_mod-fs_affs.d
: fs
/affs.c
1901 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
$@
1903 -include affs_mod-fs_affs.d
1905 CLEANFILES
+= cmd-affs.lst fs-affs.lst
1906 COMMANDFILES
+= cmd-affs.lst
1907 FSFILES
+= fs-affs.lst
1909 cmd-affs.lst
: fs
/affs.c gencmdlist.sh
1910 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
1912 fs-affs.lst
: fs
/affs.c genfslist.sh
1913 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(affs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh affs
> $@ ||
(rm -f
$@
; exit
1)
1916 affs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1917 affs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1920 sfs_mod_SOURCES
= fs
/sfs.c
1921 CLEANFILES
+= sfs.mod mod-sfs.o mod-sfs.c pre-sfs.o sfs_mod-fs_sfs.o def-sfs.lst und-sfs.lst
1922 MOSTLYCLEANFILES
+= sfs_mod-fs_sfs.d
1923 DEFSYMFILES
+= def-sfs.lst
1924 UNDSYMFILES
+= und-sfs.lst
1926 sfs.mod
: pre-sfs.o mod-sfs.o
1928 $(LD
) $(sfs_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1929 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1931 pre-sfs.o
: sfs_mod-fs_sfs.o
1933 $(LD
) $(sfs_mod_LDFLAGS
) -r
-d
-o
$@
$^
1935 mod-sfs.o
: mod-sfs.c
1936 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -c
-o
$@
$<
1938 mod-sfs.c
: moddep.lst genmodsrc.sh
1939 sh
$(srcdir)/genmodsrc.sh
'sfs' $< > $@ ||
(rm -f
$@
; exit
1)
1941 def-sfs.lst
: pre-sfs.o
1942 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sfs/' > $@
1944 und-sfs.lst
: pre-sfs.o
1946 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1948 sfs_mod-fs_sfs.o
: fs
/sfs.c
1949 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -c
-o
$@
$<
1951 sfs_mod-fs_sfs.d
: fs
/sfs.c
1952 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
$@
1954 -include sfs_mod-fs_sfs.d
1956 CLEANFILES
+= cmd-sfs.lst fs-sfs.lst
1957 COMMANDFILES
+= cmd-sfs.lst
1958 FSFILES
+= fs-sfs.lst
1960 cmd-sfs.lst
: fs
/sfs.c gencmdlist.sh
1961 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
1963 fs-sfs.lst
: fs
/sfs.c genfslist.sh
1964 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(sfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh sfs
> $@ ||
(rm -f
$@
; exit
1)
1967 sfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1968 sfs_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1971 _linux_mod_SOURCES
= loader
/i386
/pc/linux.c
1972 CLEANFILES
+= _linux.mod mod-_linux.o mod-_linux.c pre-_linux.o _linux_mod-loader_i386_pc_linux.o def-_linux.lst und-_linux.lst
1973 MOSTLYCLEANFILES
+= _linux_mod-loader_i386_pc_linux.d
1974 DEFSYMFILES
+= def-_linux.lst
1975 UNDSYMFILES
+= und-_linux.lst
1977 _linux.mod
: pre-_linux.o mod-_linux.o
1979 $(LD
) $(_linux_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
1980 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1982 pre-_linux.o
: _linux_mod-loader_i386_pc_linux.o
1984 $(LD
) $(_linux_mod_LDFLAGS
) -r
-d
-o
$@
$^
1986 mod-_linux.o
: mod-_linux.c
1987 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -c
-o
$@
$<
1989 mod-_linux.c
: moddep.lst genmodsrc.sh
1990 sh
$(srcdir)/genmodsrc.sh
'_linux' $< > $@ ||
(rm -f
$@
; exit
1)
1992 def-_linux.lst
: pre-_linux.o
1993 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _linux/' > $@
1995 und-_linux.lst
: pre-_linux.o
1997 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1999 _linux_mod-loader_i386_pc_linux.o
: loader
/i386
/pc/linux.c
2000 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -c
-o
$@
$<
2002 _linux_mod-loader_i386_pc_linux.d
: loader
/i386
/pc/linux.c
2003 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -M
$< | sed
's,linux\.o[ :]*,_linux_mod-loader_i386_pc_linux.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2005 -include _linux_mod-loader_i386_pc_linux.d
2007 CLEANFILES
+= cmd-linux.lst fs-linux.lst
2008 COMMANDFILES
+= cmd-linux.lst
2009 FSFILES
+= fs-linux.lst
2011 cmd-linux.lst
: loader
/i386
/pc/linux.c gencmdlist.sh
2012 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _linux
> $@ ||
(rm -f
$@
; exit
1)
2014 fs-linux.lst
: loader
/i386
/pc/linux.c genfslist.sh
2015 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _linux
> $@ ||
(rm -f
$@
; exit
1)
2018 _linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
2019 _linux_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2022 linux_mod_SOURCES
= loader
/i386
/pc/linux_normal.c
2023 CLEANFILES
+= linux.mod mod-linux.o mod-linux.c pre-linux.o linux_mod-loader_i386_pc_linux_normal.o def-linux.lst und-linux.lst
2024 MOSTLYCLEANFILES
+= linux_mod-loader_i386_pc_linux_normal.d
2025 DEFSYMFILES
+= def-linux.lst
2026 UNDSYMFILES
+= und-linux.lst
2028 linux.mod
: pre-linux.o mod-linux.o
2030 $(LD
) $(linux_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2031 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2033 pre-linux.o
: linux_mod-loader_i386_pc_linux_normal.o
2035 $(LD
) $(linux_mod_LDFLAGS
) -r
-d
-o
$@
$^
2037 mod-linux.o
: mod-linux.c
2038 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -c
-o
$@
$<
2040 mod-linux.c
: moddep.lst genmodsrc.sh
2041 sh
$(srcdir)/genmodsrc.sh
'linux' $< > $@ ||
(rm -f
$@
; exit
1)
2043 def-linux.lst
: pre-linux.o
2044 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 linux/' > $@
2046 und-linux.lst
: pre-linux.o
2048 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2050 linux_mod-loader_i386_pc_linux_normal.o
: loader
/i386
/pc/linux_normal.c
2051 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -c
-o
$@
$<
2053 linux_mod-loader_i386_pc_linux_normal.d
: loader
/i386
/pc/linux_normal.c
2054 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -M
$< | sed
's,linux_normal\.o[ :]*,linux_mod-loader_i386_pc_linux_normal.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2056 -include linux_mod-loader_i386_pc_linux_normal.d
2058 CLEANFILES
+= cmd-linux_normal.lst fs-linux_normal.lst
2059 COMMANDFILES
+= cmd-linux_normal.lst
2060 FSFILES
+= fs-linux_normal.lst
2062 cmd-linux_normal.lst
: loader
/i386
/pc/linux_normal.c gencmdlist.sh
2063 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
2065 fs-linux_normal.lst
: loader
/i386
/pc/linux_normal.c genfslist.sh
2066 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
2069 linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
2070 linux_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2073 normal_mod_SOURCES
= normal
/arg.c normal
/cmdline.c normal
/command.c \
2074 normal
/completion.c normal
/context.c normal
/execute.c \
2075 normal
/function.c normal
/lexer.c normal
/main.c normal
/menu.c \
2076 normal
/menu_entry.c normal
/misc.c grub_script.tab.c \
2077 normal
/script.c normal
/i386
/setjmp.S
2078 CLEANFILES
+= normal.mod mod-normal.o mod-normal.c pre-normal.o normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_context.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o def-normal.lst und-normal.lst
2079 MOSTLYCLEANFILES
+= normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_context.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_i386_setjmp.d
2080 DEFSYMFILES
+= def-normal.lst
2081 UNDSYMFILES
+= und-normal.lst
2083 normal.mod
: pre-normal.o mod-normal.o
2085 $(LD
) $(normal_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2086 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2088 pre-normal.o
: normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_context.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o
2090 $(LD
) $(normal_mod_LDFLAGS
) -r
-d
-o
$@
$^
2092 mod-normal.o
: mod-normal.c
2093 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2095 mod-normal.c
: moddep.lst genmodsrc.sh
2096 sh
$(srcdir)/genmodsrc.sh
'normal' $< > $@ ||
(rm -f
$@
; exit
1)
2098 def-normal.lst
: pre-normal.o
2099 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 normal/' > $@
2101 und-normal.lst
: pre-normal.o
2103 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2105 normal_mod-normal_arg.o
: normal
/arg.c
2106 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2108 normal_mod-normal_arg.d
: normal
/arg.c
2109 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,arg\.o[ :]*,normal_mod-normal_arg.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2111 -include normal_mod-normal_arg.d
2113 CLEANFILES
+= cmd-arg.lst fs-arg.lst
2114 COMMANDFILES
+= cmd-arg.lst
2115 FSFILES
+= fs-arg.lst
2117 cmd-arg.lst
: normal
/arg.c gencmdlist.sh
2118 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2120 fs-arg.lst
: normal
/arg.c genfslist.sh
2121 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2124 normal_mod-normal_cmdline.o
: normal
/cmdline.c
2125 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2127 normal_mod-normal_cmdline.d
: normal
/cmdline.c
2128 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,cmdline\.o[ :]*,normal_mod-normal_cmdline.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2130 -include normal_mod-normal_cmdline.d
2132 CLEANFILES
+= cmd-cmdline.lst fs-cmdline.lst
2133 COMMANDFILES
+= cmd-cmdline.lst
2134 FSFILES
+= fs-cmdline.lst
2136 cmd-cmdline.lst
: normal
/cmdline.c gencmdlist.sh
2137 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2139 fs-cmdline.lst
: normal
/cmdline.c genfslist.sh
2140 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2143 normal_mod-normal_command.o
: normal
/command.c
2144 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2146 normal_mod-normal_command.d
: normal
/command.c
2147 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,command\.o[ :]*,normal_mod-normal_command.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2149 -include normal_mod-normal_command.d
2151 CLEANFILES
+= cmd-command.lst fs-command.lst
2152 COMMANDFILES
+= cmd-command.lst
2153 FSFILES
+= fs-command.lst
2155 cmd-command.lst
: normal
/command.c gencmdlist.sh
2156 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2158 fs-command.lst
: normal
/command.c genfslist.sh
2159 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2162 normal_mod-normal_completion.o
: normal
/completion.c
2163 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2165 normal_mod-normal_completion.d
: normal
/completion.c
2166 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,completion\.o[ :]*,normal_mod-normal_completion.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2168 -include normal_mod-normal_completion.d
2170 CLEANFILES
+= cmd-completion.lst fs-completion.lst
2171 COMMANDFILES
+= cmd-completion.lst
2172 FSFILES
+= fs-completion.lst
2174 cmd-completion.lst
: normal
/completion.c gencmdlist.sh
2175 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2177 fs-completion.lst
: normal
/completion.c genfslist.sh
2178 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2181 normal_mod-normal_context.o
: normal
/context.c
2182 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2184 normal_mod-normal_context.d
: normal
/context.c
2185 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,context\.o[ :]*,normal_mod-normal_context.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2187 -include normal_mod-normal_context.d
2189 CLEANFILES
+= cmd-context.lst fs-context.lst
2190 COMMANDFILES
+= cmd-context.lst
2191 FSFILES
+= fs-context.lst
2193 cmd-context.lst
: normal
/context.c gencmdlist.sh
2194 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2196 fs-context.lst
: normal
/context.c genfslist.sh
2197 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2200 normal_mod-normal_execute.o
: normal
/execute.c
2201 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2203 normal_mod-normal_execute.d
: normal
/execute.c
2204 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,execute\.o[ :]*,normal_mod-normal_execute.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2206 -include normal_mod-normal_execute.d
2208 CLEANFILES
+= cmd-execute.lst fs-execute.lst
2209 COMMANDFILES
+= cmd-execute.lst
2210 FSFILES
+= fs-execute.lst
2212 cmd-execute.lst
: normal
/execute.c gencmdlist.sh
2213 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2215 fs-execute.lst
: normal
/execute.c genfslist.sh
2216 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2219 normal_mod-normal_function.o
: normal
/function.c
2220 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2222 normal_mod-normal_function.d
: normal
/function.c
2223 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,function\.o[ :]*,normal_mod-normal_function.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2225 -include normal_mod-normal_function.d
2227 CLEANFILES
+= cmd-function.lst fs-function.lst
2228 COMMANDFILES
+= cmd-function.lst
2229 FSFILES
+= fs-function.lst
2231 cmd-function.lst
: normal
/function.c gencmdlist.sh
2232 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2234 fs-function.lst
: normal
/function.c genfslist.sh
2235 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2238 normal_mod-normal_lexer.o
: normal
/lexer.c
2239 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2241 normal_mod-normal_lexer.d
: normal
/lexer.c
2242 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,lexer\.o[ :]*,normal_mod-normal_lexer.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2244 -include normal_mod-normal_lexer.d
2246 CLEANFILES
+= cmd-lexer.lst fs-lexer.lst
2247 COMMANDFILES
+= cmd-lexer.lst
2248 FSFILES
+= fs-lexer.lst
2250 cmd-lexer.lst
: normal
/lexer.c gencmdlist.sh
2251 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2253 fs-lexer.lst
: normal
/lexer.c genfslist.sh
2254 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2257 normal_mod-normal_main.o
: normal
/main.c
2258 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2260 normal_mod-normal_main.d
: normal
/main.c
2261 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,main\.o[ :]*,normal_mod-normal_main.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2263 -include normal_mod-normal_main.d
2265 CLEANFILES
+= cmd-main.lst fs-main.lst
2266 COMMANDFILES
+= cmd-main.lst
2267 FSFILES
+= fs-main.lst
2269 cmd-main.lst
: normal
/main.c gencmdlist.sh
2270 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2272 fs-main.lst
: normal
/main.c genfslist.sh
2273 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2276 normal_mod-normal_menu.o
: normal
/menu.c
2277 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2279 normal_mod-normal_menu.d
: normal
/menu.c
2280 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,menu\.o[ :]*,normal_mod-normal_menu.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2282 -include normal_mod-normal_menu.d
2284 CLEANFILES
+= cmd-menu.lst fs-menu.lst
2285 COMMANDFILES
+= cmd-menu.lst
2286 FSFILES
+= fs-menu.lst
2288 cmd-menu.lst
: normal
/menu.c gencmdlist.sh
2289 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2291 fs-menu.lst
: normal
/menu.c genfslist.sh
2292 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2295 normal_mod-normal_menu_entry.o
: normal
/menu_entry.c
2296 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2298 normal_mod-normal_menu_entry.d
: normal
/menu_entry.c
2299 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,menu_entry\.o[ :]*,normal_mod-normal_menu_entry.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2301 -include normal_mod-normal_menu_entry.d
2303 CLEANFILES
+= cmd-menu_entry.lst fs-menu_entry.lst
2304 COMMANDFILES
+= cmd-menu_entry.lst
2305 FSFILES
+= fs-menu_entry.lst
2307 cmd-menu_entry.lst
: normal
/menu_entry.c gencmdlist.sh
2308 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2310 fs-menu_entry.lst
: normal
/menu_entry.c genfslist.sh
2311 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2314 normal_mod-normal_misc.o
: normal
/misc.c
2315 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2317 normal_mod-normal_misc.d
: normal
/misc.c
2318 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,normal_mod-normal_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2320 -include normal_mod-normal_misc.d
2322 CLEANFILES
+= cmd-misc.lst fs-misc.lst
2323 COMMANDFILES
+= cmd-misc.lst
2324 FSFILES
+= fs-misc.lst
2326 cmd-misc.lst
: normal
/misc.c gencmdlist.sh
2327 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2329 fs-misc.lst
: normal
/misc.c genfslist.sh
2330 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2333 normal_mod-grub_script_tab.o
: grub_script.tab.c
2334 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2336 normal_mod-grub_script_tab.d
: grub_script.tab.c
2337 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,grub_script\.tab\.o[ :]*,normal_mod-grub_script_tab.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2339 -include normal_mod-grub_script_tab.d
2341 CLEANFILES
+= cmd-grub_script.tab.lst fs-grub_script.tab.lst
2342 COMMANDFILES
+= cmd-grub_script.tab.lst
2343 FSFILES
+= fs-grub_script.tab.lst
2345 cmd-grub_script.tab.lst
: grub_script.tab.c gencmdlist.sh
2346 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2348 fs-grub_script.tab.lst
: grub_script.tab.c genfslist.sh
2349 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2352 normal_mod-normal_script.o
: normal
/script.c
2353 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
2355 normal_mod-normal_script.d
: normal
/script.c
2356 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,script\.o[ :]*,normal_mod-normal_script.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2358 -include normal_mod-normal_script.d
2360 CLEANFILES
+= cmd-script.lst fs-script.lst
2361 COMMANDFILES
+= cmd-script.lst
2362 FSFILES
+= fs-script.lst
2364 cmd-script.lst
: normal
/script.c gencmdlist.sh
2365 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2367 fs-script.lst
: normal
/script.c genfslist.sh
2368 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2371 normal_mod-normal_i386_setjmp.o
: normal
/i386
/setjmp.S
2372 $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -c
-o
$@
$<
2374 normal_mod-normal_i386_setjmp.d
: normal
/i386
/setjmp.S
2375 set
-e
; $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -M
$< | sed
's,setjmp\.o[ :]*,normal_mod-normal_i386_setjmp.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2377 -include normal_mod-normal_i386_setjmp.d
2379 CLEANFILES
+= cmd-setjmp.lst fs-setjmp.lst
2380 COMMANDFILES
+= cmd-setjmp.lst
2381 FSFILES
+= fs-setjmp.lst
2383 cmd-setjmp.lst
: normal
/i386
/setjmp.S gencmdlist.sh
2384 set
-e
; $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2386 fs-setjmp.lst
: normal
/i386
/setjmp.S genfslist.sh
2387 set
-e
; $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
2390 normal_mod_CFLAGS
= $(COMMON_CFLAGS
)
2391 normal_mod_ASFLAGS
= $(COMMON_ASFLAGS
) -m32
2392 normal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2395 hello_mod_SOURCES
= hello
/hello.c
2396 CLEANFILES
+= hello.mod mod-hello.o mod-hello.c pre-hello.o hello_mod-hello_hello.o def-hello.lst und-hello.lst
2397 MOSTLYCLEANFILES
+= hello_mod-hello_hello.d
2398 DEFSYMFILES
+= def-hello.lst
2399 UNDSYMFILES
+= und-hello.lst
2401 hello.mod
: pre-hello.o mod-hello.o
2403 $(LD
) $(hello_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2404 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2406 pre-hello.o
: hello_mod-hello_hello.o
2408 $(LD
) $(hello_mod_LDFLAGS
) -r
-d
-o
$@
$^
2410 mod-hello.o
: mod-hello.c
2411 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
2413 mod-hello.c
: moddep.lst genmodsrc.sh
2414 sh
$(srcdir)/genmodsrc.sh
'hello' $< > $@ ||
(rm -f
$@
; exit
1)
2416 def-hello.lst
: pre-hello.o
2417 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hello/' > $@
2419 und-hello.lst
: pre-hello.o
2421 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2423 hello_mod-hello_hello.o
: hello
/hello.c
2424 $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
2426 hello_mod-hello_hello.d
: hello
/hello.c
2427 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
$@
2429 -include hello_mod-hello_hello.d
2431 CLEANFILES
+= cmd-hello.lst fs-hello.lst
2432 COMMANDFILES
+= cmd-hello.lst
2433 FSFILES
+= fs-hello.lst
2435 cmd-hello.lst
: hello
/hello.c gencmdlist.sh
2436 set
-e
; $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
2438 fs-hello.lst
: hello
/hello.c genfslist.sh
2439 set
-e
; $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh hello
> $@ ||
(rm -f
$@
; exit
1)
2442 hello_mod_CFLAGS
= $(COMMON_CFLAGS
)
2443 hello_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2446 boot_mod_SOURCES
= commands
/boot.c
2447 CLEANFILES
+= boot.mod mod-boot.o mod-boot.c pre-boot.o boot_mod-commands_boot.o def-boot.lst und-boot.lst
2448 MOSTLYCLEANFILES
+= boot_mod-commands_boot.d
2449 DEFSYMFILES
+= def-boot.lst
2450 UNDSYMFILES
+= und-boot.lst
2452 boot.mod
: pre-boot.o mod-boot.o
2454 $(LD
) $(boot_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2455 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2457 pre-boot.o
: boot_mod-commands_boot.o
2459 $(LD
) $(boot_mod_LDFLAGS
) -r
-d
-o
$@
$^
2461 mod-boot.o
: mod-boot.c
2462 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
2464 mod-boot.c
: moddep.lst genmodsrc.sh
2465 sh
$(srcdir)/genmodsrc.sh
'boot' $< > $@ ||
(rm -f
$@
; exit
1)
2467 def-boot.lst
: pre-boot.o
2468 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 boot/' > $@
2470 und-boot.lst
: pre-boot.o
2472 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2474 boot_mod-commands_boot.o
: commands
/boot.c
2475 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
2477 boot_mod-commands_boot.d
: commands
/boot.c
2478 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
$@
2480 -include boot_mod-commands_boot.d
2482 CLEANFILES
+= cmd-boot.lst fs-boot.lst
2483 COMMANDFILES
+= cmd-boot.lst
2484 FSFILES
+= fs-boot.lst
2486 cmd-boot.lst
: commands
/boot.c gencmdlist.sh
2487 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
2489 fs-boot.lst
: commands
/boot.c genfslist.sh
2490 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
2493 boot_mod_CFLAGS
= $(COMMON_CFLAGS
)
2494 boot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2497 terminal_mod_SOURCES
= commands
/terminal.c
2498 CLEANFILES
+= terminal.mod mod-terminal.o mod-terminal.c pre-terminal.o terminal_mod-commands_terminal.o def-terminal.lst und-terminal.lst
2499 MOSTLYCLEANFILES
+= terminal_mod-commands_terminal.d
2500 DEFSYMFILES
+= def-terminal.lst
2501 UNDSYMFILES
+= und-terminal.lst
2503 terminal.mod
: pre-terminal.o mod-terminal.o
2505 $(LD
) $(terminal_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2506 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2508 pre-terminal.o
: terminal_mod-commands_terminal.o
2510 $(LD
) $(terminal_mod_LDFLAGS
) -r
-d
-o
$@
$^
2512 mod-terminal.o
: mod-terminal.c
2513 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
2515 mod-terminal.c
: moddep.lst genmodsrc.sh
2516 sh
$(srcdir)/genmodsrc.sh
'terminal' $< > $@ ||
(rm -f
$@
; exit
1)
2518 def-terminal.lst
: pre-terminal.o
2519 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 terminal/' > $@
2521 und-terminal.lst
: pre-terminal.o
2522 echo
'terminal' > $@
2523 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2525 terminal_mod-commands_terminal.o
: commands
/terminal.c
2526 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
2528 terminal_mod-commands_terminal.d
: commands
/terminal.c
2529 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
$@
2531 -include terminal_mod-commands_terminal.d
2533 CLEANFILES
+= cmd-terminal.lst fs-terminal.lst
2534 COMMANDFILES
+= cmd-terminal.lst
2535 FSFILES
+= fs-terminal.lst
2537 cmd-terminal.lst
: commands
/terminal.c gencmdlist.sh
2538 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
2540 fs-terminal.lst
: commands
/terminal.c genfslist.sh
2541 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminal
> $@ ||
(rm -f
$@
; exit
1)
2544 terminal_mod_CFLAGS
= $(COMMON_CFLAGS
)
2545 terminal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2548 ls_mod_SOURCES
= commands
/ls.c
2549 CLEANFILES
+= ls.mod mod-ls.o mod-ls.c pre-ls.o ls_mod-commands_ls.o def-ls.lst und-ls.lst
2550 MOSTLYCLEANFILES
+= ls_mod-commands_ls.d
2551 DEFSYMFILES
+= def-ls.lst
2552 UNDSYMFILES
+= und-ls.lst
2554 ls.mod
: pre-ls.o mod-ls.o
2556 $(LD
) $(ls_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2557 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2559 pre-ls.o
: ls_mod-commands_ls.o
2561 $(LD
) $(ls_mod_LDFLAGS
) -r
-d
-o
$@
$^
2564 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
2566 mod-ls.c
: moddep.lst genmodsrc.sh
2567 sh
$(srcdir)/genmodsrc.sh
'ls' $< > $@ ||
(rm -f
$@
; exit
1)
2569 def-ls.lst
: pre-ls.o
2570 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ls/' > $@
2572 und-ls.lst
: pre-ls.o
2574 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2576 ls_mod-commands_ls.o
: commands
/ls.c
2577 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
2579 ls_mod-commands_ls.d
: commands
/ls.c
2580 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
$@
2582 -include ls_mod-commands_ls.d
2584 CLEANFILES
+= cmd-ls.lst fs-ls.lst
2585 COMMANDFILES
+= cmd-ls.lst
2586 FSFILES
+= fs-ls.lst
2588 cmd-ls.lst
: commands
/ls.c gencmdlist.sh
2589 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
2591 fs-ls.lst
: commands
/ls.c genfslist.sh
2592 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh ls
> $@ ||
(rm -f
$@
; exit
1)
2595 ls_mod_CFLAGS
= $(COMMON_CFLAGS
)
2596 ls_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2599 cmp_mod_SOURCES
= commands
/cmp.c
2600 CLEANFILES
+= cmp.mod mod-cmp.o mod-cmp.c pre-cmp.o cmp_mod-commands_cmp.o def-cmp.lst und-cmp.lst
2601 MOSTLYCLEANFILES
+= cmp_mod-commands_cmp.d
2602 DEFSYMFILES
+= def-cmp.lst
2603 UNDSYMFILES
+= und-cmp.lst
2605 cmp.mod
: pre-cmp.o mod-cmp.o
2607 $(LD
) $(cmp_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2608 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2610 pre-cmp.o
: cmp_mod-commands_cmp.o
2612 $(LD
) $(cmp_mod_LDFLAGS
) -r
-d
-o
$@
$^
2614 mod-cmp.o
: mod-cmp.c
2615 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
2617 mod-cmp.c
: moddep.lst genmodsrc.sh
2618 sh
$(srcdir)/genmodsrc.sh
'cmp' $< > $@ ||
(rm -f
$@
; exit
1)
2620 def-cmp.lst
: pre-cmp.o
2621 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cmp/' > $@
2623 und-cmp.lst
: pre-cmp.o
2625 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2627 cmp_mod-commands_cmp.o
: commands
/cmp.c
2628 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
2630 cmp_mod-commands_cmp.d
: commands
/cmp.c
2631 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
$@
2633 -include cmp_mod-commands_cmp.d
2635 CLEANFILES
+= cmd-cmp.lst fs-cmp.lst
2636 COMMANDFILES
+= cmd-cmp.lst
2637 FSFILES
+= fs-cmp.lst
2639 cmd-cmp.lst
: commands
/cmp.c gencmdlist.sh
2640 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
2642 fs-cmp.lst
: commands
/cmp.c genfslist.sh
2643 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cmp
> $@ ||
(rm -f
$@
; exit
1)
2646 cmp_mod_CFLAGS
= $(COMMON_CFLAGS
)
2647 cmp_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2650 cat_mod_SOURCES
= commands
/cat.c
2651 CLEANFILES
+= cat.mod mod-cat.o mod-cat.c pre-cat.o cat_mod-commands_cat.o def-cat.lst und-cat.lst
2652 MOSTLYCLEANFILES
+= cat_mod-commands_cat.d
2653 DEFSYMFILES
+= def-cat.lst
2654 UNDSYMFILES
+= und-cat.lst
2656 cat.mod
: pre-cat.o mod-cat.o
2658 $(LD
) $(cat_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2659 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2661 pre-cat.o
: cat_mod-commands_cat.o
2663 $(LD
) $(cat_mod_LDFLAGS
) -r
-d
-o
$@
$^
2665 mod-cat.o
: mod-cat.c
2666 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
2668 mod-cat.c
: moddep.lst genmodsrc.sh
2669 sh
$(srcdir)/genmodsrc.sh
'cat' $< > $@ ||
(rm -f
$@
; exit
1)
2671 def-cat.lst
: pre-cat.o
2672 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cat/' > $@
2674 und-cat.lst
: pre-cat.o
2676 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2678 cat_mod-commands_cat.o
: commands
/cat.c
2679 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
2681 cat_mod-commands_cat.d
: commands
/cat.c
2682 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
$@
2684 -include cat_mod-commands_cat.d
2686 CLEANFILES
+= cmd-cat.lst fs-cat.lst
2687 COMMANDFILES
+= cmd-cat.lst
2688 FSFILES
+= fs-cat.lst
2690 cmd-cat.lst
: commands
/cat.c gencmdlist.sh
2691 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
2693 fs-cat.lst
: commands
/cat.c genfslist.sh
2694 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh cat
> $@ ||
(rm -f
$@
; exit
1)
2697 cat_mod_CFLAGS
= $(COMMON_CFLAGS
)
2698 cat_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2701 help_mod_SOURCES
= commands
/help.c
2702 CLEANFILES
+= help.mod mod-help.o mod-help.c pre-help.o help_mod-commands_help.o def-help.lst und-help.lst
2703 MOSTLYCLEANFILES
+= help_mod-commands_help.d
2704 DEFSYMFILES
+= def-help.lst
2705 UNDSYMFILES
+= und-help.lst
2707 help.mod
: pre-help.o mod-help.o
2709 $(LD
) $(help_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2710 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2712 pre-help.o
: help_mod-commands_help.o
2714 $(LD
) $(help_mod_LDFLAGS
) -r
-d
-o
$@
$^
2716 mod-help.o
: mod-help.c
2717 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
2719 mod-help.c
: moddep.lst genmodsrc.sh
2720 sh
$(srcdir)/genmodsrc.sh
'help' $< > $@ ||
(rm -f
$@
; exit
1)
2722 def-help.lst
: pre-help.o
2723 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 help/' > $@
2725 und-help.lst
: pre-help.o
2727 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2729 help_mod-commands_help.o
: commands
/help.c
2730 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
2732 help_mod-commands_help.d
: commands
/help.c
2733 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
$@
2735 -include help_mod-commands_help.d
2737 CLEANFILES
+= cmd-help.lst fs-help.lst
2738 COMMANDFILES
+= cmd-help.lst
2739 FSFILES
+= fs-help.lst
2741 cmd-help.lst
: commands
/help.c gencmdlist.sh
2742 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh help
> $@ ||
(rm -f
$@
; exit
1)
2744 fs-help.lst
: commands
/help.c genfslist.sh
2745 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh help
> $@ ||
(rm -f
$@
; exit
1)
2748 help_mod_CFLAGS
= $(COMMON_CFLAGS
)
2749 help_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2752 reboot_mod_SOURCES
= commands
/i386
/pc/reboot.c
2753 CLEANFILES
+= reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-commands_i386_pc_reboot.o def-reboot.lst und-reboot.lst
2754 MOSTLYCLEANFILES
+= reboot_mod-commands_i386_pc_reboot.d
2755 DEFSYMFILES
+= def-reboot.lst
2756 UNDSYMFILES
+= und-reboot.lst
2758 reboot.mod
: pre-reboot.o mod-reboot.o
2760 $(LD
) $(reboot_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2761 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2763 pre-reboot.o
: reboot_mod-commands_i386_pc_reboot.o
2765 $(LD
) $(reboot_mod_LDFLAGS
) -r
-d
-o
$@
$^
2767 mod-reboot.o
: mod-reboot.c
2768 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
2770 mod-reboot.c
: moddep.lst genmodsrc.sh
2771 sh
$(srcdir)/genmodsrc.sh
'reboot' $< > $@ ||
(rm -f
$@
; exit
1)
2773 def-reboot.lst
: pre-reboot.o
2774 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
2776 und-reboot.lst
: pre-reboot.o
2778 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2780 reboot_mod-commands_i386_pc_reboot.o
: commands
/i386
/pc/reboot.c
2781 $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
2783 reboot_mod-commands_i386_pc_reboot.d
: commands
/i386
/pc/reboot.c
2784 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -M
$< | sed
's,reboot\.o[ :]*,reboot_mod-commands_i386_pc_reboot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2786 -include reboot_mod-commands_i386_pc_reboot.d
2788 CLEANFILES
+= cmd-reboot.lst fs-reboot.lst
2789 COMMANDFILES
+= cmd-reboot.lst
2790 FSFILES
+= fs-reboot.lst
2792 cmd-reboot.lst
: commands
/i386
/pc/reboot.c gencmdlist.sh
2793 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
2795 fs-reboot.lst
: commands
/i386
/pc/reboot.c genfslist.sh
2796 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
2799 reboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
2800 reboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2803 halt_mod_SOURCES
= commands
/i386
/pc/halt.c
2804 CLEANFILES
+= halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_i386_pc_halt.o def-halt.lst und-halt.lst
2805 MOSTLYCLEANFILES
+= halt_mod-commands_i386_pc_halt.d
2806 DEFSYMFILES
+= def-halt.lst
2807 UNDSYMFILES
+= und-halt.lst
2809 halt.mod
: pre-halt.o mod-halt.o
2811 $(LD
) $(halt_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2812 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2814 pre-halt.o
: halt_mod-commands_i386_pc_halt.o
2816 $(LD
) $(halt_mod_LDFLAGS
) -r
-d
-o
$@
$^
2818 mod-halt.o
: mod-halt.c
2819 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
2821 mod-halt.c
: moddep.lst genmodsrc.sh
2822 sh
$(srcdir)/genmodsrc.sh
'halt' $< > $@ ||
(rm -f
$@
; exit
1)
2824 def-halt.lst
: pre-halt.o
2825 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 halt/' > $@
2827 und-halt.lst
: pre-halt.o
2829 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2831 halt_mod-commands_i386_pc_halt.o
: commands
/i386
/pc/halt.c
2832 $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
2834 halt_mod-commands_i386_pc_halt.d
: commands
/i386
/pc/halt.c
2835 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -M
$< | sed
's,halt\.o[ :]*,halt_mod-commands_i386_pc_halt.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2837 -include halt_mod-commands_i386_pc_halt.d
2839 CLEANFILES
+= cmd-halt.lst fs-halt.lst
2840 COMMANDFILES
+= cmd-halt.lst
2841 FSFILES
+= fs-halt.lst
2843 cmd-halt.lst
: commands
/i386
/pc/halt.c gencmdlist.sh
2844 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
2846 fs-halt.lst
: commands
/i386
/pc/halt.c genfslist.sh
2847 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
2850 halt_mod_CFLAGS
= $(COMMON_CFLAGS
)
2851 halt_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2854 vga_mod_SOURCES
= term
/i386
/pc/vga.c
2855 CLEANFILES
+= vga.mod mod-vga.o mod-vga.c pre-vga.o vga_mod-term_i386_pc_vga.o def-vga.lst und-vga.lst
2856 MOSTLYCLEANFILES
+= vga_mod-term_i386_pc_vga.d
2857 DEFSYMFILES
+= def-vga.lst
2858 UNDSYMFILES
+= und-vga.lst
2860 vga.mod
: pre-vga.o mod-vga.o
2862 $(LD
) $(vga_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2863 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2865 pre-vga.o
: vga_mod-term_i386_pc_vga.o
2867 $(LD
) $(vga_mod_LDFLAGS
) -r
-d
-o
$@
$^
2869 mod-vga.o
: mod-vga.c
2870 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -c
-o
$@
$<
2872 mod-vga.c
: moddep.lst genmodsrc.sh
2873 sh
$(srcdir)/genmodsrc.sh
'vga' $< > $@ ||
(rm -f
$@
; exit
1)
2875 def-vga.lst
: pre-vga.o
2876 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 vga/' > $@
2878 und-vga.lst
: pre-vga.o
2880 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2882 vga_mod-term_i386_pc_vga.o
: term
/i386
/pc/vga.c
2883 $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -c
-o
$@
$<
2885 vga_mod-term_i386_pc_vga.d
: term
/i386
/pc/vga.c
2886 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -M
$< | sed
's,vga\.o[ :]*,vga_mod-term_i386_pc_vga.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
2888 -include vga_mod-term_i386_pc_vga.d
2890 CLEANFILES
+= cmd-vga.lst fs-vga.lst
2891 COMMANDFILES
+= cmd-vga.lst
2892 FSFILES
+= fs-vga.lst
2894 cmd-vga.lst
: term
/i386
/pc/vga.c gencmdlist.sh
2895 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh vga
> $@ ||
(rm -f
$@
; exit
1)
2897 fs-vga.lst
: term
/i386
/pc/vga.c genfslist.sh
2898 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh vga
> $@ ||
(rm -f
$@
; exit
1)
2901 vga_mod_CFLAGS
= $(COMMON_CFLAGS
)
2902 vga_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2905 font_mod_SOURCES
= font
/manager.c
2906 CLEANFILES
+= font.mod mod-font.o mod-font.c pre-font.o font_mod-font_manager.o def-font.lst und-font.lst
2907 MOSTLYCLEANFILES
+= font_mod-font_manager.d
2908 DEFSYMFILES
+= def-font.lst
2909 UNDSYMFILES
+= und-font.lst
2911 font.mod
: pre-font.o mod-font.o
2913 $(LD
) $(font_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2914 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2916 pre-font.o
: font_mod-font_manager.o
2918 $(LD
) $(font_mod_LDFLAGS
) -r
-d
-o
$@
$^
2920 mod-font.o
: mod-font.c
2921 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
2923 mod-font.c
: moddep.lst genmodsrc.sh
2924 sh
$(srcdir)/genmodsrc.sh
'font' $< > $@ ||
(rm -f
$@
; exit
1)
2926 def-font.lst
: pre-font.o
2927 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 font/' > $@
2929 und-font.lst
: pre-font.o
2931 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2933 font_mod-font_manager.o
: font
/manager.c
2934 $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
2936 font_mod-font_manager.d
: font
/manager.c
2937 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
$@
2939 -include font_mod-font_manager.d
2941 CLEANFILES
+= cmd-manager.lst fs-manager.lst
2942 COMMANDFILES
+= cmd-manager.lst
2943 FSFILES
+= fs-manager.lst
2945 cmd-manager.lst
: font
/manager.c gencmdlist.sh
2946 set
-e
; $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh font
> $@ ||
(rm -f
$@
; exit
1)
2948 fs-manager.lst
: font
/manager.c genfslist.sh
2949 set
-e
; $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh font
> $@ ||
(rm -f
$@
; exit
1)
2952 font_mod_CFLAGS
= $(COMMON_CFLAGS
)
2953 font_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
2956 terminfo_mod_SOURCES
= term
/terminfo.c term
/tparm.c
2957 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
2958 MOSTLYCLEANFILES
+= terminfo_mod-term_terminfo.d terminfo_mod-term_tparm.d
2959 DEFSYMFILES
+= def-terminfo.lst
2960 UNDSYMFILES
+= und-terminfo.lst
2962 terminfo.mod
: pre-terminfo.o mod-terminfo.o
2964 $(LD
) $(terminfo_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
2965 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2967 pre-terminfo.o
: terminfo_mod-term_terminfo.o terminfo_mod-term_tparm.o
2969 $(LD
) $(terminfo_mod_LDFLAGS
) -r
-d
-o
$@
$^
2971 mod-terminfo.o
: mod-terminfo.c
2972 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -c
-o
$@
$<
2974 mod-terminfo.c
: moddep.lst genmodsrc.sh
2975 sh
$(srcdir)/genmodsrc.sh
'terminfo' $< > $@ ||
(rm -f
$@
; exit
1)
2977 def-terminfo.lst
: pre-terminfo.o
2978 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 terminfo/' > $@
2980 und-terminfo.lst
: pre-terminfo.o
2981 echo
'terminfo' > $@
2982 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2984 terminfo_mod-term_terminfo.o
: term
/terminfo.c
2985 $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -c
-o
$@
$<
2987 terminfo_mod-term_terminfo.d
: term
/terminfo.c
2988 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
$@
2990 -include terminfo_mod-term_terminfo.d
2992 CLEANFILES
+= cmd-terminfo.lst fs-terminfo.lst
2993 COMMANDFILES
+= cmd-terminfo.lst
2994 FSFILES
+= fs-terminfo.lst
2996 cmd-terminfo.lst
: term
/terminfo.c gencmdlist.sh
2997 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
2999 fs-terminfo.lst
: term
/terminfo.c genfslist.sh
3000 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
3003 terminfo_mod-term_tparm.o
: term
/tparm.c
3004 $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -c
-o
$@
$<
3006 terminfo_mod-term_tparm.d
: term
/tparm.c
3007 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
$@
3009 -include terminfo_mod-term_tparm.d
3011 CLEANFILES
+= cmd-tparm.lst fs-tparm.lst
3012 COMMANDFILES
+= cmd-tparm.lst
3013 FSFILES
+= fs-tparm.lst
3015 cmd-tparm.lst
: term
/tparm.c gencmdlist.sh
3016 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
3018 fs-tparm.lst
: term
/tparm.c genfslist.sh
3019 set
-e
; $(CC
) -Iterm
-I
$(srcdir)/term
$(CPPFLAGS
) $(CFLAGS
) $(terminfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh terminfo
> $@ ||
(rm -f
$@
; exit
1)
3022 terminfo_mod_CFLAGS
= $(COMMON_CFLAGS
)
3023 terminfo_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3026 serial_mod_SOURCES
= term
/i386
/pc/serial.c
3027 CLEANFILES
+= serial.mod mod-serial.o mod-serial.c pre-serial.o serial_mod-term_i386_pc_serial.o def-serial.lst und-serial.lst
3028 MOSTLYCLEANFILES
+= serial_mod-term_i386_pc_serial.d
3029 DEFSYMFILES
+= def-serial.lst
3030 UNDSYMFILES
+= und-serial.lst
3032 serial.mod
: pre-serial.o mod-serial.o
3034 $(LD
) $(serial_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3035 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3037 pre-serial.o
: serial_mod-term_i386_pc_serial.o
3039 $(LD
) $(serial_mod_LDFLAGS
) -r
-d
-o
$@
$^
3041 mod-serial.o
: mod-serial.c
3042 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(serial_mod_CFLAGS
) -c
-o
$@
$<
3044 mod-serial.c
: moddep.lst genmodsrc.sh
3045 sh
$(srcdir)/genmodsrc.sh
'serial' $< > $@ ||
(rm -f
$@
; exit
1)
3047 def-serial.lst
: pre-serial.o
3048 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 serial/' > $@
3050 und-serial.lst
: pre-serial.o
3052 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3054 serial_mod-term_i386_pc_serial.o
: term
/i386
/pc/serial.c
3055 $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(serial_mod_CFLAGS
) -c
-o
$@
$<
3057 serial_mod-term_i386_pc_serial.d
: term
/i386
/pc/serial.c
3058 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(serial_mod_CFLAGS
) -M
$< | sed
's,serial\.o[ :]*,serial_mod-term_i386_pc_serial.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3060 -include serial_mod-term_i386_pc_serial.d
3062 CLEANFILES
+= cmd-serial.lst fs-serial.lst
3063 COMMANDFILES
+= cmd-serial.lst
3064 FSFILES
+= fs-serial.lst
3066 cmd-serial.lst
: term
/i386
/pc/serial.c gencmdlist.sh
3067 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
3069 fs-serial.lst
: term
/i386
/pc/serial.c genfslist.sh
3070 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
3073 serial_mod_CFLAGS
= $(COMMON_CFLAGS
)
3074 serial_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3076 # For _multiboot.mod.
3077 _multiboot_mod_SOURCES
= loader
/i386
/pc/multiboot.c
3078 CLEANFILES
+= _multiboot.mod mod-_multiboot.o mod-_multiboot.c pre-_multiboot.o _multiboot_mod-loader_i386_pc_multiboot.o def-_multiboot.lst und-_multiboot.lst
3079 MOSTLYCLEANFILES
+= _multiboot_mod-loader_i386_pc_multiboot.d
3080 DEFSYMFILES
+= def-_multiboot.lst
3081 UNDSYMFILES
+= und-_multiboot.lst
3083 _multiboot.mod
: pre-_multiboot.o mod-_multiboot.o
3085 $(LD
) $(_multiboot_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3086 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3088 pre-_multiboot.o
: _multiboot_mod-loader_i386_pc_multiboot.o
3090 $(LD
) $(_multiboot_mod_LDFLAGS
) -r
-d
-o
$@
$^
3092 mod-_multiboot.o
: mod-_multiboot.c
3093 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -c
-o
$@
$<
3095 mod-_multiboot.c
: moddep.lst genmodsrc.sh
3096 sh
$(srcdir)/genmodsrc.sh
'_multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
3098 def-_multiboot.lst
: pre-_multiboot.o
3099 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _multiboot/' > $@
3101 und-_multiboot.lst
: pre-_multiboot.o
3102 echo
'_multiboot' > $@
3103 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3105 _multiboot_mod-loader_i386_pc_multiboot.o
: loader
/i386
/pc/multiboot.c
3106 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -c
-o
$@
$<
3108 _multiboot_mod-loader_i386_pc_multiboot.d
: loader
/i386
/pc/multiboot.c
3109 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -M
$< | sed
's,multiboot\.o[ :]*,_multiboot_mod-loader_i386_pc_multiboot.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3111 -include _multiboot_mod-loader_i386_pc_multiboot.d
3113 CLEANFILES
+= cmd-multiboot.lst fs-multiboot.lst
3114 COMMANDFILES
+= cmd-multiboot.lst
3115 FSFILES
+= fs-multiboot.lst
3117 cmd-multiboot.lst
: loader
/i386
/pc/multiboot.c gencmdlist.sh
3118 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
3120 fs-multiboot.lst
: loader
/i386
/pc/multiboot.c genfslist.sh
3121 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh _multiboot
> $@ ||
(rm -f
$@
; exit
1)
3124 _multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
3125 _multiboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3127 # For multiboot.mod.
3128 multiboot_mod_SOURCES
= loader
/i386
/pc/multiboot_normal.c
3129 CLEANFILES
+= multiboot.mod mod-multiboot.o mod-multiboot.c pre-multiboot.o multiboot_mod-loader_i386_pc_multiboot_normal.o def-multiboot.lst und-multiboot.lst
3130 MOSTLYCLEANFILES
+= multiboot_mod-loader_i386_pc_multiboot_normal.d
3131 DEFSYMFILES
+= def-multiboot.lst
3132 UNDSYMFILES
+= und-multiboot.lst
3134 multiboot.mod
: pre-multiboot.o mod-multiboot.o
3136 $(LD
) $(multiboot_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3137 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3139 pre-multiboot.o
: multiboot_mod-loader_i386_pc_multiboot_normal.o
3141 $(LD
) $(multiboot_mod_LDFLAGS
) -r
-d
-o
$@
$^
3143 mod-multiboot.o
: mod-multiboot.c
3144 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -c
-o
$@
$<
3146 mod-multiboot.c
: moddep.lst genmodsrc.sh
3147 sh
$(srcdir)/genmodsrc.sh
'multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
3149 def-multiboot.lst
: pre-multiboot.o
3150 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 multiboot/' > $@
3152 und-multiboot.lst
: pre-multiboot.o
3153 echo
'multiboot' > $@
3154 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3156 multiboot_mod-loader_i386_pc_multiboot_normal.o
: loader
/i386
/pc/multiboot_normal.c
3157 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -c
-o
$@
$<
3159 multiboot_mod-loader_i386_pc_multiboot_normal.d
: loader
/i386
/pc/multiboot_normal.c
3160 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -M
$< | sed
's,multiboot_normal\.o[ :]*,multiboot_mod-loader_i386_pc_multiboot_normal.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3162 -include multiboot_mod-loader_i386_pc_multiboot_normal.d
3164 CLEANFILES
+= cmd-multiboot_normal.lst fs-multiboot_normal.lst
3165 COMMANDFILES
+= cmd-multiboot_normal.lst
3166 FSFILES
+= fs-multiboot_normal.lst
3168 cmd-multiboot_normal.lst
: loader
/i386
/pc/multiboot_normal.c gencmdlist.sh
3169 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh multiboot
> $@ ||
(rm -f
$@
; exit
1)
3171 fs-multiboot_normal.lst
: loader
/i386
/pc/multiboot_normal.c genfslist.sh
3172 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh multiboot
> $@ ||
(rm -f
$@
; exit
1)
3175 multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
3176 multiboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3179 amiga_mod_SOURCES
= partmap
/amiga.c
3180 CLEANFILES
+= amiga.mod mod-amiga.o mod-amiga.c pre-amiga.o amiga_mod-partmap_amiga.o def-amiga.lst und-amiga.lst
3181 MOSTLYCLEANFILES
+= amiga_mod-partmap_amiga.d
3182 DEFSYMFILES
+= def-amiga.lst
3183 UNDSYMFILES
+= und-amiga.lst
3185 amiga.mod
: pre-amiga.o mod-amiga.o
3187 $(LD
) $(amiga_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3188 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3190 pre-amiga.o
: amiga_mod-partmap_amiga.o
3192 $(LD
) $(amiga_mod_LDFLAGS
) -r
-d
-o
$@
$^
3194 mod-amiga.o
: mod-amiga.c
3195 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
3197 mod-amiga.c
: moddep.lst genmodsrc.sh
3198 sh
$(srcdir)/genmodsrc.sh
'amiga' $< > $@ ||
(rm -f
$@
; exit
1)
3200 def-amiga.lst
: pre-amiga.o
3201 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 amiga/' > $@
3203 und-amiga.lst
: pre-amiga.o
3205 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3207 amiga_mod-partmap_amiga.o
: partmap
/amiga.c
3208 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
3210 amiga_mod-partmap_amiga.d
: partmap
/amiga.c
3211 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
$@
3213 -include amiga_mod-partmap_amiga.d
3215 CLEANFILES
+= cmd-amiga.lst fs-amiga.lst
3216 COMMANDFILES
+= cmd-amiga.lst
3217 FSFILES
+= fs-amiga.lst
3219 cmd-amiga.lst
: partmap
/amiga.c gencmdlist.sh
3220 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
3222 fs-amiga.lst
: partmap
/amiga.c genfslist.sh
3223 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh amiga
> $@ ||
(rm -f
$@
; exit
1)
3226 amiga_mod_CFLAGS
= $(COMMON_CFLAGS
)
3227 amiga_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3230 apple_mod_SOURCES
= partmap
/apple.c
3231 CLEANFILES
+= apple.mod mod-apple.o mod-apple.c pre-apple.o apple_mod-partmap_apple.o def-apple.lst und-apple.lst
3232 MOSTLYCLEANFILES
+= apple_mod-partmap_apple.d
3233 DEFSYMFILES
+= def-apple.lst
3234 UNDSYMFILES
+= und-apple.lst
3236 apple.mod
: pre-apple.o mod-apple.o
3238 $(LD
) $(apple_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3239 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3241 pre-apple.o
: apple_mod-partmap_apple.o
3243 $(LD
) $(apple_mod_LDFLAGS
) -r
-d
-o
$@
$^
3245 mod-apple.o
: mod-apple.c
3246 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
3248 mod-apple.c
: moddep.lst genmodsrc.sh
3249 sh
$(srcdir)/genmodsrc.sh
'apple' $< > $@ ||
(rm -f
$@
; exit
1)
3251 def-apple.lst
: pre-apple.o
3252 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 apple/' > $@
3254 und-apple.lst
: pre-apple.o
3256 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3258 apple_mod-partmap_apple.o
: partmap
/apple.c
3259 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
3261 apple_mod-partmap_apple.d
: partmap
/apple.c
3262 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
$@
3264 -include apple_mod-partmap_apple.d
3266 CLEANFILES
+= cmd-apple.lst fs-apple.lst
3267 COMMANDFILES
+= cmd-apple.lst
3268 FSFILES
+= fs-apple.lst
3270 cmd-apple.lst
: partmap
/apple.c gencmdlist.sh
3271 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
3273 fs-apple.lst
: partmap
/apple.c genfslist.sh
3274 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh apple
> $@ ||
(rm -f
$@
; exit
1)
3277 apple_mod_CFLAGS
= $(COMMON_CFLAGS
)
3278 apple_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3281 pc_mod_SOURCES
= partmap
/pc.c
3282 CLEANFILES
+= pc.mod mod-pc.o mod-pc.c pre-pc.o pc_mod-partmap_pc.o def-pc.lst und-pc.lst
3283 MOSTLYCLEANFILES
+= pc_mod-partmap_pc.d
3284 DEFSYMFILES
+= def-pc.lst
3285 UNDSYMFILES
+= und-pc.lst
3287 pc.mod
: pre-pc.o mod-pc.o
3289 $(LD
) $(pc_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3290 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3292 pre-pc.o
: pc_mod-partmap_pc.o
3294 $(LD
) $(pc_mod_LDFLAGS
) -r
-d
-o
$@
$^
3297 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
3299 mod-pc.c
: moddep.lst genmodsrc.sh
3300 sh
$(srcdir)/genmodsrc.sh
'pc' $< > $@ ||
(rm -f
$@
; exit
1)
3302 def-pc.lst
: pre-pc.o
3303 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 pc/' > $@
3305 und-pc.lst
: pre-pc.o
3307 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3309 pc_mod-partmap_pc.o
: partmap
/pc.c
3310 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
3312 pc_mod-partmap_pc.d
: partmap
/pc.c
3313 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
$@
3315 -include pc_mod-partmap_pc.d
3317 CLEANFILES
+= cmd-pc.lst fs-pc.lst
3318 COMMANDFILES
+= cmd-pc.lst
3319 FSFILES
+= fs-pc.lst
3321 cmd-pc.lst
: partmap
/pc.c gencmdlist.sh
3322 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
3324 fs-pc.lst
: partmap
/pc.c genfslist.sh
3325 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh
pc > $@ ||
(rm -f
$@
; exit
1)
3328 pc_mod_CFLAGS
= $(COMMON_CFLAGS
)
3329 pc_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3332 sun_mod_SOURCES
= partmap
/sun.c
3333 CLEANFILES
+= sun.mod mod-sun.o mod-sun.c pre-sun.o sun_mod-partmap_sun.o def-sun.lst und-sun.lst
3334 MOSTLYCLEANFILES
+= sun_mod-partmap_sun.d
3335 DEFSYMFILES
+= def-sun.lst
3336 UNDSYMFILES
+= und-sun.lst
3338 sun.mod
: pre-sun.o mod-sun.o
3340 $(LD
) $(sun_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3341 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3343 pre-sun.o
: sun_mod-partmap_sun.o
3345 $(LD
) $(sun_mod_LDFLAGS
) -r
-d
-o
$@
$^
3347 mod-sun.o
: mod-sun.c
3348 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
3350 mod-sun.c
: moddep.lst genmodsrc.sh
3351 sh
$(srcdir)/genmodsrc.sh
'sun' $< > $@ ||
(rm -f
$@
; exit
1)
3353 def-sun.lst
: pre-sun.o
3354 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sun/' > $@
3356 und-sun.lst
: pre-sun.o
3358 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3360 sun_mod-partmap_sun.o
: partmap
/sun.c
3361 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
3363 sun_mod-partmap_sun.d
: partmap
/sun.c
3364 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
$@
3366 -include sun_mod-partmap_sun.d
3368 CLEANFILES
+= cmd-sun.lst fs-sun.lst
3369 COMMANDFILES
+= cmd-sun.lst
3370 FSFILES
+= fs-sun.lst
3372 cmd-sun.lst
: partmap
/sun.c gencmdlist.sh
3373 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
3375 fs-sun.lst
: partmap
/sun.c genfslist.sh
3376 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh sun
> $@ ||
(rm -f
$@
; exit
1)
3379 sun_mod_CFLAGS
= $(COMMON_CFLAGS
)
3380 sun_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3383 loopback_mod_SOURCES
= disk
/loopback.c
3384 CLEANFILES
+= loopback.mod mod-loopback.o mod-loopback.c pre-loopback.o loopback_mod-disk_loopback.o def-loopback.lst und-loopback.lst
3385 MOSTLYCLEANFILES
+= loopback_mod-disk_loopback.d
3386 DEFSYMFILES
+= def-loopback.lst
3387 UNDSYMFILES
+= und-loopback.lst
3389 loopback.mod
: pre-loopback.o mod-loopback.o
3391 $(LD
) $(loopback_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3392 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3394 pre-loopback.o
: loopback_mod-disk_loopback.o
3396 $(LD
) $(loopback_mod_LDFLAGS
) -r
-d
-o
$@
$^
3398 mod-loopback.o
: mod-loopback.c
3399 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
3401 mod-loopback.c
: moddep.lst genmodsrc.sh
3402 sh
$(srcdir)/genmodsrc.sh
'loopback' $< > $@ ||
(rm -f
$@
; exit
1)
3404 def-loopback.lst
: pre-loopback.o
3405 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 loopback/' > $@
3407 und-loopback.lst
: pre-loopback.o
3408 echo
'loopback' > $@
3409 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3411 loopback_mod-disk_loopback.o
: disk
/loopback.c
3412 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
3414 loopback_mod-disk_loopback.d
: disk
/loopback.c
3415 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
$@
3417 -include loopback_mod-disk_loopback.d
3419 CLEANFILES
+= cmd-loopback.lst fs-loopback.lst
3420 COMMANDFILES
+= cmd-loopback.lst
3421 FSFILES
+= fs-loopback.lst
3423 cmd-loopback.lst
: disk
/loopback.c gencmdlist.sh
3424 set
-e
; $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
3426 fs-loopback.lst
: disk
/loopback.c genfslist.sh
3427 set
-e
; $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh loopback
> $@ ||
(rm -f
$@
; exit
1)
3430 loopback_mod_CFLAGS
= $(COMMON_CFLAGS
)
3431 loopback_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3434 default_mod_SOURCES
= commands
/default.c
3435 CLEANFILES
+= default.mod mod-default.o mod-default.c pre-default.o default_mod-commands_default.o def-default.lst und-default.lst
3436 MOSTLYCLEANFILES
+= default_mod-commands_default.d
3437 DEFSYMFILES
+= def-default.lst
3438 UNDSYMFILES
+= und-default.lst
3440 default.mod
: pre-default.o mod-default.o
3442 $(LD
) $(default_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3443 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3445 pre-default.o
: default_mod-commands_default.o
3447 $(LD
) $(default_mod_LDFLAGS
) -r
-d
-o
$@
$^
3449 mod-default.o
: mod-default.c
3450 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -c
-o
$@
$<
3452 mod-default.c
: moddep.lst genmodsrc.sh
3453 sh
$(srcdir)/genmodsrc.sh
'default' $< > $@ ||
(rm -f
$@
; exit
1)
3455 def-default.lst
: pre-default.o
3456 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 default/' > $@
3458 und-default.lst
: pre-default.o
3460 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3462 default_mod-commands_default.o
: commands
/default.c
3463 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -c
-o
$@
$<
3465 default_mod-commands_default.d
: commands
/default.c
3466 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
$@
3468 -include default_mod-commands_default.d
3470 CLEANFILES
+= cmd-default.lst fs-default.lst
3471 COMMANDFILES
+= cmd-default.lst
3472 FSFILES
+= fs-default.lst
3474 cmd-default.lst
: commands
/default.c gencmdlist.sh
3475 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh default
> $@ ||
(rm -f
$@
; exit
1)
3477 fs-default.lst
: commands
/default.c genfslist.sh
3478 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh default
> $@ ||
(rm -f
$@
; exit
1)
3481 default_mod_CFLAGS
= $(COMMON_CFLAGS
)
3482 default_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3485 timeout_mod_SOURCES
= commands
/timeout.c
3486 CLEANFILES
+= timeout.mod mod-timeout.o mod-timeout.c pre-timeout.o timeout_mod-commands_timeout.o def-timeout.lst und-timeout.lst
3487 MOSTLYCLEANFILES
+= timeout_mod-commands_timeout.d
3488 DEFSYMFILES
+= def-timeout.lst
3489 UNDSYMFILES
+= und-timeout.lst
3491 timeout.mod
: pre-timeout.o mod-timeout.o
3493 $(LD
) $(timeout_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3494 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3496 pre-timeout.o
: timeout_mod-commands_timeout.o
3498 $(LD
) $(timeout_mod_LDFLAGS
) -r
-d
-o
$@
$^
3500 mod-timeout.o
: mod-timeout.c
3501 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -c
-o
$@
$<
3503 mod-timeout.c
: moddep.lst genmodsrc.sh
3504 sh
$(srcdir)/genmodsrc.sh
'timeout' $< > $@ ||
(rm -f
$@
; exit
1)
3506 def-timeout.lst
: pre-timeout.o
3507 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 timeout/' > $@
3509 und-timeout.lst
: pre-timeout.o
3511 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3513 timeout_mod-commands_timeout.o
: commands
/timeout.c
3514 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -c
-o
$@
$<
3516 timeout_mod-commands_timeout.d
: commands
/timeout.c
3517 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
$@
3519 -include timeout_mod-commands_timeout.d
3521 CLEANFILES
+= cmd-timeout.lst fs-timeout.lst
3522 COMMANDFILES
+= cmd-timeout.lst
3523 FSFILES
+= fs-timeout.lst
3525 cmd-timeout.lst
: commands
/timeout.c gencmdlist.sh
3526 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh timeout
> $@ ||
(rm -f
$@
; exit
1)
3528 fs-timeout.lst
: commands
/timeout.c genfslist.sh
3529 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh timeout
> $@ ||
(rm -f
$@
; exit
1)
3532 timeout_mod_CFLAGS
= $(COMMON_CFLAGS
)
3533 timeout_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3535 # For configfile.mod
3536 configfile_mod_SOURCES
= commands
/configfile.c
3537 CLEANFILES
+= configfile.mod mod-configfile.o mod-configfile.c pre-configfile.o configfile_mod-commands_configfile.o def-configfile.lst und-configfile.lst
3538 MOSTLYCLEANFILES
+= configfile_mod-commands_configfile.d
3539 DEFSYMFILES
+= def-configfile.lst
3540 UNDSYMFILES
+= und-configfile.lst
3542 configfile.mod
: pre-configfile.o mod-configfile.o
3544 $(LD
) $(configfile_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3545 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3547 pre-configfile.o
: configfile_mod-commands_configfile.o
3549 $(LD
) $(configfile_mod_LDFLAGS
) -r
-d
-o
$@
$^
3551 mod-configfile.o
: mod-configfile.c
3552 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
3554 mod-configfile.c
: moddep.lst genmodsrc.sh
3555 sh
$(srcdir)/genmodsrc.sh
'configfile' $< > $@ ||
(rm -f
$@
; exit
1)
3557 def-configfile.lst
: pre-configfile.o
3558 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 configfile/' > $@
3560 und-configfile.lst
: pre-configfile.o
3561 echo
'configfile' > $@
3562 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3564 configfile_mod-commands_configfile.o
: commands
/configfile.c
3565 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
3567 configfile_mod-commands_configfile.d
: commands
/configfile.c
3568 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
$@
3570 -include configfile_mod-commands_configfile.d
3572 CLEANFILES
+= cmd-configfile.lst fs-configfile.lst
3573 COMMANDFILES
+= cmd-configfile.lst
3574 FSFILES
+= fs-configfile.lst
3576 cmd-configfile.lst
: commands
/configfile.c gencmdlist.sh
3577 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
3579 fs-configfile.lst
: commands
/configfile.c genfslist.sh
3580 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh configfile
> $@ ||
(rm -f
$@
; exit
1)
3583 configfile_mod_CFLAGS
= $(COMMON_CFLAGS
)
3584 configfile_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3587 vbe_mod_SOURCES
= video
/i386
/pc/vbe.c
3588 CLEANFILES
+= vbe.mod mod-vbe.o mod-vbe.c pre-vbe.o vbe_mod-video_i386_pc_vbe.o def-vbe.lst und-vbe.lst
3589 MOSTLYCLEANFILES
+= vbe_mod-video_i386_pc_vbe.d
3590 DEFSYMFILES
+= def-vbe.lst
3591 UNDSYMFILES
+= und-vbe.lst
3593 vbe.mod
: pre-vbe.o mod-vbe.o
3595 $(LD
) $(vbe_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3596 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3598 pre-vbe.o
: vbe_mod-video_i386_pc_vbe.o
3600 $(LD
) $(vbe_mod_LDFLAGS
) -r
-d
-o
$@
$^
3602 mod-vbe.o
: mod-vbe.c
3603 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(vbe_mod_CFLAGS
) -c
-o
$@
$<
3605 mod-vbe.c
: moddep.lst genmodsrc.sh
3606 sh
$(srcdir)/genmodsrc.sh
'vbe' $< > $@ ||
(rm -f
$@
; exit
1)
3608 def-vbe.lst
: pre-vbe.o
3609 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 vbe/' > $@
3611 und-vbe.lst
: pre-vbe.o
3613 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3615 vbe_mod-video_i386_pc_vbe.o
: video
/i386
/pc/vbe.c
3616 $(CC
) -Ivideo
/i386
/pc -I
$(srcdir)/video
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbe_mod_CFLAGS
) -c
-o
$@
$<
3618 vbe_mod-video_i386_pc_vbe.d
: video
/i386
/pc/vbe.c
3619 set
-e
; $(CC
) -Ivideo
/i386
/pc -I
$(srcdir)/video
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbe_mod_CFLAGS
) -M
$< | sed
's,vbe\.o[ :]*,vbe_mod-video_i386_pc_vbe.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3621 -include vbe_mod-video_i386_pc_vbe.d
3623 CLEANFILES
+= cmd-vbe.lst fs-vbe.lst
3624 COMMANDFILES
+= cmd-vbe.lst
3625 FSFILES
+= fs-vbe.lst
3627 cmd-vbe.lst
: video
/i386
/pc/vbe.c gencmdlist.sh
3628 set
-e
; $(CC
) -Ivideo
/i386
/pc -I
$(srcdir)/video
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbe_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh vbe
> $@ ||
(rm -f
$@
; exit
1)
3630 fs-vbe.lst
: video
/i386
/pc/vbe.c genfslist.sh
3631 set
-e
; $(CC
) -Ivideo
/i386
/pc -I
$(srcdir)/video
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbe_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh vbe
> $@ ||
(rm -f
$@
; exit
1)
3634 vbe_mod_CFLAGS
= $(COMMON_CFLAGS
)
3635 vbe_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3638 vesafb_mod_SOURCES
= term
/i386
/pc/vesafb.c
3639 CLEANFILES
+= vesafb.mod mod-vesafb.o mod-vesafb.c pre-vesafb.o vesafb_mod-term_i386_pc_vesafb.o def-vesafb.lst und-vesafb.lst
3640 MOSTLYCLEANFILES
+= vesafb_mod-term_i386_pc_vesafb.d
3641 DEFSYMFILES
+= def-vesafb.lst
3642 UNDSYMFILES
+= und-vesafb.lst
3644 vesafb.mod
: pre-vesafb.o mod-vesafb.o
3646 $(LD
) $(vesafb_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3647 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3649 pre-vesafb.o
: vesafb_mod-term_i386_pc_vesafb.o
3651 $(LD
) $(vesafb_mod_LDFLAGS
) -r
-d
-o
$@
$^
3653 mod-vesafb.o
: mod-vesafb.c
3654 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(vesafb_mod_CFLAGS
) -c
-o
$@
$<
3656 mod-vesafb.c
: moddep.lst genmodsrc.sh
3657 sh
$(srcdir)/genmodsrc.sh
'vesafb' $< > $@ ||
(rm -f
$@
; exit
1)
3659 def-vesafb.lst
: pre-vesafb.o
3660 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 vesafb/' > $@
3662 und-vesafb.lst
: pre-vesafb.o
3664 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3666 vesafb_mod-term_i386_pc_vesafb.o
: term
/i386
/pc/vesafb.c
3667 $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vesafb_mod_CFLAGS
) -c
-o
$@
$<
3669 vesafb_mod-term_i386_pc_vesafb.d
: term
/i386
/pc/vesafb.c
3670 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vesafb_mod_CFLAGS
) -M
$< | sed
's,vesafb\.o[ :]*,vesafb_mod-term_i386_pc_vesafb.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3672 -include vesafb_mod-term_i386_pc_vesafb.d
3674 CLEANFILES
+= cmd-vesafb.lst fs-vesafb.lst
3675 COMMANDFILES
+= cmd-vesafb.lst
3676 FSFILES
+= fs-vesafb.lst
3678 cmd-vesafb.lst
: term
/i386
/pc/vesafb.c gencmdlist.sh
3679 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vesafb_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh vesafb
> $@ ||
(rm -f
$@
; exit
1)
3681 fs-vesafb.lst
: term
/i386
/pc/vesafb.c genfslist.sh
3682 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vesafb_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh vesafb
> $@ ||
(rm -f
$@
; exit
1)
3685 vesafb_mod_CFLAGS
= $(COMMON_CFLAGS
)
3686 vesafb_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3689 vbeinfo_mod_SOURCES
= commands
/i386
/pc/vbeinfo.c
3690 CLEANFILES
+= vbeinfo.mod mod-vbeinfo.o mod-vbeinfo.c pre-vbeinfo.o vbeinfo_mod-commands_i386_pc_vbeinfo.o def-vbeinfo.lst und-vbeinfo.lst
3691 MOSTLYCLEANFILES
+= vbeinfo_mod-commands_i386_pc_vbeinfo.d
3692 DEFSYMFILES
+= def-vbeinfo.lst
3693 UNDSYMFILES
+= und-vbeinfo.lst
3695 vbeinfo.mod
: pre-vbeinfo.o mod-vbeinfo.o
3697 $(LD
) $(vbeinfo_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3698 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3700 pre-vbeinfo.o
: vbeinfo_mod-commands_i386_pc_vbeinfo.o
3702 $(LD
) $(vbeinfo_mod_LDFLAGS
) -r
-d
-o
$@
$^
3704 mod-vbeinfo.o
: mod-vbeinfo.c
3705 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(vbeinfo_mod_CFLAGS
) -c
-o
$@
$<
3707 mod-vbeinfo.c
: moddep.lst genmodsrc.sh
3708 sh
$(srcdir)/genmodsrc.sh
'vbeinfo' $< > $@ ||
(rm -f
$@
; exit
1)
3710 def-vbeinfo.lst
: pre-vbeinfo.o
3711 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 vbeinfo/' > $@
3713 und-vbeinfo.lst
: pre-vbeinfo.o
3715 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3717 vbeinfo_mod-commands_i386_pc_vbeinfo.o
: commands
/i386
/pc/vbeinfo.c
3718 $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbeinfo_mod_CFLAGS
) -c
-o
$@
$<
3720 vbeinfo_mod-commands_i386_pc_vbeinfo.d
: commands
/i386
/pc/vbeinfo.c
3721 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbeinfo_mod_CFLAGS
) -M
$< | sed
's,vbeinfo\.o[ :]*,vbeinfo_mod-commands_i386_pc_vbeinfo.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3723 -include vbeinfo_mod-commands_i386_pc_vbeinfo.d
3725 CLEANFILES
+= cmd-vbeinfo.lst fs-vbeinfo.lst
3726 COMMANDFILES
+= cmd-vbeinfo.lst
3727 FSFILES
+= fs-vbeinfo.lst
3729 cmd-vbeinfo.lst
: commands
/i386
/pc/vbeinfo.c gencmdlist.sh
3730 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbeinfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh vbeinfo
> $@ ||
(rm -f
$@
; exit
1)
3732 fs-vbeinfo.lst
: commands
/i386
/pc/vbeinfo.c genfslist.sh
3733 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbeinfo_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh vbeinfo
> $@ ||
(rm -f
$@
; exit
1)
3736 vbeinfo_mod_CFLAGS
= $(COMMON_CFLAGS
)
3737 vbeinfo_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3740 vbetest_mod_SOURCES
= commands
/i386
/pc/vbetest.c
3741 CLEANFILES
+= vbetest.mod mod-vbetest.o mod-vbetest.c pre-vbetest.o vbetest_mod-commands_i386_pc_vbetest.o def-vbetest.lst und-vbetest.lst
3742 MOSTLYCLEANFILES
+= vbetest_mod-commands_i386_pc_vbetest.d
3743 DEFSYMFILES
+= def-vbetest.lst
3744 UNDSYMFILES
+= und-vbetest.lst
3746 vbetest.mod
: pre-vbetest.o mod-vbetest.o
3748 $(LD
) $(vbetest_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3749 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3751 pre-vbetest.o
: vbetest_mod-commands_i386_pc_vbetest.o
3753 $(LD
) $(vbetest_mod_LDFLAGS
) -r
-d
-o
$@
$^
3755 mod-vbetest.o
: mod-vbetest.c
3756 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(vbetest_mod_CFLAGS
) -c
-o
$@
$<
3758 mod-vbetest.c
: moddep.lst genmodsrc.sh
3759 sh
$(srcdir)/genmodsrc.sh
'vbetest' $< > $@ ||
(rm -f
$@
; exit
1)
3761 def-vbetest.lst
: pre-vbetest.o
3762 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 vbetest/' > $@
3764 und-vbetest.lst
: pre-vbetest.o
3766 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3768 vbetest_mod-commands_i386_pc_vbetest.o
: commands
/i386
/pc/vbetest.c
3769 $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbetest_mod_CFLAGS
) -c
-o
$@
$<
3771 vbetest_mod-commands_i386_pc_vbetest.d
: commands
/i386
/pc/vbetest.c
3772 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbetest_mod_CFLAGS
) -M
$< | sed
's,vbetest\.o[ :]*,vbetest_mod-commands_i386_pc_vbetest.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3774 -include vbetest_mod-commands_i386_pc_vbetest.d
3776 CLEANFILES
+= cmd-vbetest.lst fs-vbetest.lst
3777 COMMANDFILES
+= cmd-vbetest.lst
3778 FSFILES
+= fs-vbetest.lst
3780 cmd-vbetest.lst
: commands
/i386
/pc/vbetest.c gencmdlist.sh
3781 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbetest_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh vbetest
> $@ ||
(rm -f
$@
; exit
1)
3783 fs-vbetest.lst
: commands
/i386
/pc/vbetest.c genfslist.sh
3784 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vbetest_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh vbetest
> $@ ||
(rm -f
$@
; exit
1)
3787 vbetest_mod_CFLAGS
= $(COMMON_CFLAGS
)
3788 vbetest_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3791 search_mod_SOURCES
= commands
/search.c
3792 CLEANFILES
+= search.mod mod-search.o mod-search.c pre-search.o search_mod-commands_search.o def-search.lst und-search.lst
3793 MOSTLYCLEANFILES
+= search_mod-commands_search.d
3794 DEFSYMFILES
+= def-search.lst
3795 UNDSYMFILES
+= und-search.lst
3797 search.mod
: pre-search.o mod-search.o
3799 $(LD
) $(search_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3800 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3802 pre-search.o
: search_mod-commands_search.o
3804 $(LD
) $(search_mod_LDFLAGS
) -r
-d
-o
$@
$^
3806 mod-search.o
: mod-search.c
3807 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -c
-o
$@
$<
3809 mod-search.c
: moddep.lst genmodsrc.sh
3810 sh
$(srcdir)/genmodsrc.sh
'search' $< > $@ ||
(rm -f
$@
; exit
1)
3812 def-search.lst
: pre-search.o
3813 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 search/' > $@
3815 und-search.lst
: pre-search.o
3817 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3819 search_mod-commands_search.o
: commands
/search.c
3820 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -c
-o
$@
$<
3822 search_mod-commands_search.d
: commands
/search.c
3823 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
$@
3825 -include search_mod-commands_search.d
3827 CLEANFILES
+= cmd-search.lst fs-search.lst
3828 COMMANDFILES
+= cmd-search.lst
3829 FSFILES
+= fs-search.lst
3831 cmd-search.lst
: commands
/search.c gencmdlist.sh
3832 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh search
> $@ ||
(rm -f
$@
; exit
1)
3834 fs-search.lst
: commands
/search.c genfslist.sh
3835 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(search_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh search
> $@ ||
(rm -f
$@
; exit
1)
3838 search_mod_CFLAGS
= $(COMMON_CFLAGS
)
3839 search_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3842 gzio_mod_SOURCES
= io
/gzio.c
3843 CLEANFILES
+= gzio.mod mod-gzio.o mod-gzio.c pre-gzio.o gzio_mod-io_gzio.o def-gzio.lst und-gzio.lst
3844 MOSTLYCLEANFILES
+= gzio_mod-io_gzio.d
3845 DEFSYMFILES
+= def-gzio.lst
3846 UNDSYMFILES
+= und-gzio.lst
3848 gzio.mod
: pre-gzio.o mod-gzio.o
3850 $(LD
) $(gzio_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3851 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3853 pre-gzio.o
: gzio_mod-io_gzio.o
3855 $(LD
) $(gzio_mod_LDFLAGS
) -r
-d
-o
$@
$^
3857 mod-gzio.o
: mod-gzio.c
3858 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -c
-o
$@
$<
3860 mod-gzio.c
: moddep.lst genmodsrc.sh
3861 sh
$(srcdir)/genmodsrc.sh
'gzio' $< > $@ ||
(rm -f
$@
; exit
1)
3863 def-gzio.lst
: pre-gzio.o
3864 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 gzio/' > $@
3866 und-gzio.lst
: pre-gzio.o
3868 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3870 gzio_mod-io_gzio.o
: io
/gzio.c
3871 $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -c
-o
$@
$<
3873 gzio_mod-io_gzio.d
: io
/gzio.c
3874 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
$@
3876 -include gzio_mod-io_gzio.d
3878 CLEANFILES
+= cmd-gzio.lst fs-gzio.lst
3879 COMMANDFILES
+= cmd-gzio.lst
3880 FSFILES
+= fs-gzio.lst
3882 cmd-gzio.lst
: io
/gzio.c gencmdlist.sh
3883 set
-e
; $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
3885 fs-gzio.lst
: io
/gzio.c genfslist.sh
3886 set
-e
; $(CC
) -Iio
-I
$(srcdir)/io
$(CPPFLAGS
) $(CFLAGS
) $(gzio_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh gzio
> $@ ||
(rm -f
$@
; exit
1)
3889 gzio_mod_CFLAGS
= $(COMMON_CFLAGS
)
3890 gzio_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3893 test_mod_SOURCES
= commands
/test.c
3894 CLEANFILES
+= test.mod mod-test.o mod-test.c pre-test.o test_mod-commands_test.o def-test.lst und-test.lst
3895 MOSTLYCLEANFILES
+= test_mod-commands_test.d
3896 DEFSYMFILES
+= def-test.lst
3897 UNDSYMFILES
+= und-test.lst
3899 test.mod
: pre-test.o mod-test.o
3901 $(LD
) $(test_mod_LDFLAGS
) $(LDFLAGS
) -r
-d
-o
$@
$^
3902 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
3904 pre-test.o
: test_mod-commands_test.o
3906 $(LD
) $(test_mod_LDFLAGS
) -r
-d
-o
$@
$^
3908 mod-test.o
: mod-test.c
3909 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(test_mod_CFLAGS
) -c
-o
$@
$<
3911 mod-test.c
: moddep.lst genmodsrc.sh
3912 sh
$(srcdir)/genmodsrc.sh
'test' $< > $@ ||
(rm -f
$@
; exit
1)
3914 def-test.lst
: pre-test.o
3915 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 test/' > $@
3917 und-test.lst
: pre-test.o
3919 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
3921 test_mod-commands_test.o
: commands
/test.c
3922 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(test_mod_CFLAGS
) -c
-o
$@
$<
3924 test_mod-commands_test.d
: commands
/test.c
3925 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(test_mod_CFLAGS
) -M
$< | sed
's,test\.o[ :]*,test_mod-commands_test.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
3927 -include test_mod-commands_test.d
3929 CLEANFILES
+= cmd-test.lst fs-test.lst
3930 COMMANDFILES
+= cmd-test.lst
3931 FSFILES
+= fs-test.lst
3933 cmd-test.lst
: commands
/test.c gencmdlist.sh
3934 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(test_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh
test > $@ ||
(rm -f
$@
; exit
1)
3936 fs-test.lst
: commands
/test.c genfslist.sh
3937 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(test_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh
test > $@ ||
(rm -f
$@
; exit
1)
3940 test_mod_CFLAGS
= $(COMMON_CFLAGS
)
3941 test_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
3942 CLEANFILES
+= moddep.lst command.lst fs.lst
3943 pkgdata_DATA
+= moddep.lst command.lst fs.lst
3944 moddep.lst
: $(DEFSYMFILES
) $(UNDSYMFILES
) genmoddep
3945 cat
$(DEFSYMFILES
) /dev
/null | .
/genmoddep
$(UNDSYMFILES
) > $@ \
3946 ||
(rm -f
$@
; exit
1)
3948 command.lst
: $(COMMANDFILES
)
3949 cat
$^
/dev
/null |
sort > $@
3952 cat
$^
/dev
/null |
sort > $@