3 COMMON_ASFLAGS
= -nostdinc
-fno-builtin
4 COMMON_CFLAGS
= -fno-builtin
-mrtd
-mregparm
=3
7 pkgdata_IMAGES
= boot.img diskboot.img kernel.img pxeboot.img
10 boot_img_SOURCES
= boot
/i386
/pc/boot.S
11 CLEANFILES
+= boot.img boot.exec boot_img-boot_i386_pc_boot.o
12 MOSTLYCLEANFILES
+= boot_img-boot_i386_pc_boot.d
15 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
17 boot.exec
: boot_img-boot_i386_pc_boot.o
18 $(CC
) -o
$@
$^
$(LDFLAGS
) $(boot_img_LDFLAGS
)
20 boot_img-boot_i386_pc_boot.o
: boot
/i386
/pc/boot.S
21 $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(boot_img_ASFLAGS
) -c
-o
$@
$<
23 boot_img-boot_i386_pc_boot.d
: boot
/i386
/pc/boot.S
24 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
$@
26 -include boot_img-boot_i386_pc_boot.d
28 boot_img_ASFLAGS
= $(COMMON_ASFLAGS
)
29 boot_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,7C00
32 pxeboot_img_SOURCES
= boot
/i386
/pc/pxeboot.S
33 CLEANFILES
+= pxeboot.img pxeboot.exec pxeboot_img-boot_i386_pc_pxeboot.o
34 MOSTLYCLEANFILES
+= pxeboot_img-boot_i386_pc_pxeboot.d
36 pxeboot.img
: pxeboot.exec
37 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
39 pxeboot.exec
: pxeboot_img-boot_i386_pc_pxeboot.o
40 $(CC
) -o
$@
$^
$(LDFLAGS
) $(pxeboot_img_LDFLAGS
)
42 pxeboot_img-boot_i386_pc_pxeboot.o
: boot
/i386
/pc/pxeboot.S
43 $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(pxeboot_img_ASFLAGS
) -c
-o
$@
$<
45 pxeboot_img-boot_i386_pc_pxeboot.d
: boot
/i386
/pc/pxeboot.S
46 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
$@
48 -include pxeboot_img-boot_i386_pc_pxeboot.d
50 pxeboot_img_ASFLAGS
= $(COMMON_ASFLAGS
)
51 pxeboot_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,8000
54 diskboot_img_SOURCES
= boot
/i386
/pc/diskboot.S
55 CLEANFILES
+= diskboot.img diskboot.exec diskboot_img-boot_i386_pc_diskboot.o
56 MOSTLYCLEANFILES
+= diskboot_img-boot_i386_pc_diskboot.d
58 diskboot.img
: diskboot.exec
59 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
61 diskboot.exec
: diskboot_img-boot_i386_pc_diskboot.o
62 $(CC
) -o
$@
$^
$(LDFLAGS
) $(diskboot_img_LDFLAGS
)
64 diskboot_img-boot_i386_pc_diskboot.o
: boot
/i386
/pc/diskboot.S
65 $(CC
) -Iboot
/i386
/pc -I
$(srcdir)/boot
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(diskboot_img_ASFLAGS
) -c
-o
$@
$<
67 diskboot_img-boot_i386_pc_diskboot.d
: boot
/i386
/pc/diskboot.S
68 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
$@
70 -include diskboot_img-boot_i386_pc_diskboot.d
72 diskboot_img_ASFLAGS
= $(COMMON_ASFLAGS
)
73 diskboot_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,8000
76 kernel_img_SOURCES
= kern
/i386
/pc/startup.S kern
/main.c kern
/device.c \
77 kern
/disk.c kern
/dl.c kern
/file.c kern
/fs.c kern
/err.c \
78 kern
/misc.c kern
/mm.c kern
/loader.c kern
/rescue.c kern
/term.c \
79 kern
/i386
/dl.c kern
/i386
/pc/init.c kern
/partition.c \
80 kern
/env.c disk
/i386
/pc/biosdisk.c \
81 term
/i386
/pc/console.c \
83 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_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
84 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_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
86 kernel.img
: kernel.exec
87 $(OBJCOPY
) -O binary
-R .note
-R .comment
$< $@
89 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_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
90 $(CC
) -o
$@
$^
$(LDFLAGS
) $(kernel_img_LDFLAGS
)
92 kernel_img-kern_i386_pc_startup.o
: kern
/i386
/pc/startup.S
93 $(CC
) -Ikern
/i386
/pc -I
$(srcdir)/kern
/i386
/pc $(CPPFLAGS
) -DASM_FILE
=1 $(ASFLAGS
) $(kernel_img_ASFLAGS
) -c
-o
$@
$<
95 kernel_img-kern_i386_pc_startup.d
: kern
/i386
/pc/startup.S
96 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
$@
98 -include kernel_img-kern_i386_pc_startup.d
100 kernel_img-kern_main.o
: kern
/main.c
101 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
103 kernel_img-kern_main.d
: kern
/main.c
104 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
$@
106 -include kernel_img-kern_main.d
108 kernel_img-kern_device.o
: kern
/device.c
109 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
111 kernel_img-kern_device.d
: kern
/device.c
112 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
$@
114 -include kernel_img-kern_device.d
116 kernel_img-kern_disk.o
: kern
/disk.c
117 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
119 kernel_img-kern_disk.d
: kern
/disk.c
120 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
$@
122 -include kernel_img-kern_disk.d
124 kernel_img-kern_dl.o
: kern
/dl.c
125 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
127 kernel_img-kern_dl.d
: kern
/dl.c
128 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
$@
130 -include kernel_img-kern_dl.d
132 kernel_img-kern_file.o
: kern
/file.c
133 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
135 kernel_img-kern_file.d
: kern
/file.c
136 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
$@
138 -include kernel_img-kern_file.d
140 kernel_img-kern_fs.o
: kern
/fs.c
141 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
143 kernel_img-kern_fs.d
: kern
/fs.c
144 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
$@
146 -include kernel_img-kern_fs.d
148 kernel_img-kern_err.o
: kern
/err.c
149 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
151 kernel_img-kern_err.d
: kern
/err.c
152 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
$@
154 -include kernel_img-kern_err.d
156 kernel_img-kern_misc.o
: kern
/misc.c
157 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
159 kernel_img-kern_misc.d
: kern
/misc.c
160 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
$@
162 -include kernel_img-kern_misc.d
164 kernel_img-kern_mm.o
: kern
/mm.c
165 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
167 kernel_img-kern_mm.d
: kern
/mm.c
168 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
$@
170 -include kernel_img-kern_mm.d
172 kernel_img-kern_loader.o
: kern
/loader.c
173 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
175 kernel_img-kern_loader.d
: kern
/loader.c
176 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
$@
178 -include kernel_img-kern_loader.d
180 kernel_img-kern_rescue.o
: kern
/rescue.c
181 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
183 kernel_img-kern_rescue.d
: kern
/rescue.c
184 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
$@
186 -include kernel_img-kern_rescue.d
188 kernel_img-kern_term.o
: kern
/term.c
189 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
191 kernel_img-kern_term.d
: kern
/term.c
192 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
$@
194 -include kernel_img-kern_term.d
196 kernel_img-kern_i386_dl.o
: kern
/i386
/dl.c
197 $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
199 kernel_img-kern_i386_dl.d
: kern
/i386
/dl.c
200 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
$@
202 -include kernel_img-kern_i386_dl.d
204 kernel_img-kern_i386_pc_init.o
: kern
/i386
/pc/init.c
205 $(CC
) -Ikern
/i386
/pc -I
$(srcdir)/kern
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
207 kernel_img-kern_i386_pc_init.d
: kern
/i386
/pc/init.c
208 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
$@
210 -include kernel_img-kern_i386_pc_init.d
212 kernel_img-kern_partition.o
: kern
/partition.c
213 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
215 kernel_img-kern_partition.d
: kern
/partition.c
216 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
$@
218 -include kernel_img-kern_partition.d
220 kernel_img-kern_env.o
: kern
/env.c
221 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
223 kernel_img-kern_env.d
: kern
/env.c
224 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
$@
226 -include kernel_img-kern_env.d
228 kernel_img-disk_i386_pc_biosdisk.o
: disk
/i386
/pc/biosdisk.c
229 $(CC
) -Idisk
/i386
/pc -I
$(srcdir)/disk
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
231 kernel_img-disk_i386_pc_biosdisk.d
: disk
/i386
/pc/biosdisk.c
232 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
$@
234 -include kernel_img-disk_i386_pc_biosdisk.d
236 kernel_img-term_i386_pc_console.o
: term
/i386
/pc/console.c
237 $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
239 kernel_img-term_i386_pc_console.d
: term
/i386
/pc/console.c
240 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
$@
242 -include kernel_img-term_i386_pc_console.d
244 kernel_img-symlist.o
: symlist.c
245 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -c
-o
$@
$<
247 kernel_img-symlist.d
: symlist.c
248 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_img_CFLAGS
) -M
$< | sed
's,symlist\.o[ :]*,kernel_img-symlist.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
250 -include kernel_img-symlist.d
252 kernel_img_HEADERS
= arg.h boot.h device.h disk.h dl.h elf.h env.h err.h \
253 file.h fs.h kernel.h loader.h misc.h mm.h net.h rescue.h symbol.h \
254 term.h types.h machine
/biosdisk.h machine
/boot.h \
255 machine
/console.h machine
/init.h machine
/memory.h \
256 machine
/loader.h partition.h pc_partition.h machine
/time.h machine
/vga.h
257 kernel_img_CFLAGS
= $(COMMON_CFLAGS
)
258 kernel_img_ASFLAGS
= $(COMMON_ASFLAGS
)
259 kernel_img_LDFLAGS
= -nostdlib
-Wl
,-N
,-Ttext
,8200
261 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
262 DEFSYMFILES
+= kernel_syms.lst
264 symlist.c
: $(addprefix include/grub
/,$(kernel_img_HEADERS
)) gensymlist.sh
265 sh
$(srcdir)/gensymlist.sh
$(filter %.h
,$^
) > $@
267 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_img_HEADERS
)) genkernsyms.sh
268 sh
$(srcdir)/genkernsyms.sh
$(filter %h
,$^
) > $@
271 bin_UTILITIES
= grub-mkimage
272 sbin_UTILITIES
= grub-setup grub-emu
273 noinst_UTILITIES
= genmoddep
276 grub_mkimage_SOURCES
= util
/i386
/pc/grub-mkimage.c util
/misc.c \
278 CLEANFILES
+= grub-mkimage grub_mkimage-util_i386_pc_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
279 MOSTLYCLEANFILES
+= grub_mkimage-util_i386_pc_grub_mkimage.d grub_mkimage-util_misc.d grub_mkimage-util_resolve.d
281 grub-mkimage
: grub_mkimage-util_i386_pc_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
282 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_mkimage_LDFLAGS
)
284 grub_mkimage-util_i386_pc_grub_mkimage.o
: util
/i386
/pc/grub-mkimage.c
285 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
287 grub_mkimage-util_i386_pc_grub_mkimage.d
: util
/i386
/pc/grub-mkimage.c
288 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
$@
290 -include grub_mkimage-util_i386_pc_grub_mkimage.d
292 grub_mkimage-util_misc.o
: util
/misc.c
293 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
295 grub_mkimage-util_misc.d
: util
/misc.c
296 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
$@
298 -include grub_mkimage-util_misc.d
300 grub_mkimage-util_resolve.o
: util
/resolve.c
301 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
303 grub_mkimage-util_resolve.d
: util
/resolve.c
304 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
$@
306 -include grub_mkimage-util_resolve.d
308 grub_mkimage_LDFLAGS
= -llzo
311 grub_setup_SOURCES
= util
/i386
/pc/grub-setup.c util
/i386
/pc/biosdisk.c \
312 util
/misc.c util
/i386
/pc/getroot.c kern
/device.c kern
/disk.c \
313 kern
/err.c kern
/misc.c fs
/fat.c fs
/ext2.c \
314 kern
/partition.c partmap
/amiga.c partmap
/apple.c partmap
/pc.c partmap
/sun.c \
315 fs
/ufs.c fs
/minix.c fs
/hfs.c fs
/jfs.c kern
/file.c kern
/fs.c kern
/env.c fs
/fshelp.c
316 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-kern_partition.o grub_setup-partmap_amiga.o grub_setup-partmap_apple.o grub_setup-partmap_pc.o grub_setup-partmap_sun.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
317 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-kern_partition.d grub_setup-partmap_amiga.d grub_setup-partmap_apple.d grub_setup-partmap_pc.d grub_setup-partmap_sun.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
319 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-kern_partition.o grub_setup-partmap_amiga.o grub_setup-partmap_apple.o grub_setup-partmap_pc.o grub_setup-partmap_sun.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
320 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_setup_LDFLAGS
)
322 grub_setup-util_i386_pc_grub_setup.o
: util
/i386
/pc/grub-setup.c
323 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
325 grub_setup-util_i386_pc_grub_setup.d
: util
/i386
/pc/grub-setup.c
326 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
$@
328 -include grub_setup-util_i386_pc_grub_setup.d
330 grub_setup-util_i386_pc_biosdisk.o
: util
/i386
/pc/biosdisk.c
331 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
333 grub_setup-util_i386_pc_biosdisk.d
: util
/i386
/pc/biosdisk.c
334 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
$@
336 -include grub_setup-util_i386_pc_biosdisk.d
338 grub_setup-util_misc.o
: util
/misc.c
339 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
341 grub_setup-util_misc.d
: util
/misc.c
342 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
$@
344 -include grub_setup-util_misc.d
346 grub_setup-util_i386_pc_getroot.o
: util
/i386
/pc/getroot.c
347 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
349 grub_setup-util_i386_pc_getroot.d
: util
/i386
/pc/getroot.c
350 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
$@
352 -include grub_setup-util_i386_pc_getroot.d
354 grub_setup-kern_device.o
: kern
/device.c
355 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
357 grub_setup-kern_device.d
: kern
/device.c
358 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
$@
360 -include grub_setup-kern_device.d
362 grub_setup-kern_disk.o
: kern
/disk.c
363 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
365 grub_setup-kern_disk.d
: kern
/disk.c
366 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
$@
368 -include grub_setup-kern_disk.d
370 grub_setup-kern_err.o
: kern
/err.c
371 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
373 grub_setup-kern_err.d
: kern
/err.c
374 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
$@
376 -include grub_setup-kern_err.d
378 grub_setup-kern_misc.o
: kern
/misc.c
379 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
381 grub_setup-kern_misc.d
: kern
/misc.c
382 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
$@
384 -include grub_setup-kern_misc.d
386 grub_setup-fs_fat.o
: fs
/fat.c
387 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
389 grub_setup-fs_fat.d
: fs
/fat.c
390 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
$@
392 -include grub_setup-fs_fat.d
394 grub_setup-fs_ext2.o
: fs
/ext2.c
395 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
397 grub_setup-fs_ext2.d
: fs
/ext2.c
398 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
$@
400 -include grub_setup-fs_ext2.d
402 grub_setup-kern_partition.o
: kern
/partition.c
403 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
405 grub_setup-kern_partition.d
: kern
/partition.c
406 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
$@
408 -include grub_setup-kern_partition.d
410 grub_setup-partmap_amiga.o
: partmap
/amiga.c
411 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
413 grub_setup-partmap_amiga.d
: partmap
/amiga.c
414 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,amiga\.o[ :]*,grub_setup-partmap_amiga.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
416 -include grub_setup-partmap_amiga.d
418 grub_setup-partmap_apple.o
: partmap
/apple.c
419 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
421 grub_setup-partmap_apple.d
: partmap
/apple.c
422 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,apple\.o[ :]*,grub_setup-partmap_apple.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
424 -include grub_setup-partmap_apple.d
426 grub_setup-partmap_pc.o
: partmap
/pc.c
427 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
429 grub_setup-partmap_pc.d
: partmap
/pc.c
430 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
$@
432 -include grub_setup-partmap_pc.d
434 grub_setup-partmap_sun.o
: partmap
/sun.c
435 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
437 grub_setup-partmap_sun.d
: partmap
/sun.c
438 set
-e
; $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -M
$< | sed
's,sun\.o[ :]*,grub_setup-partmap_sun.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
440 -include grub_setup-partmap_sun.d
442 grub_setup-fs_ufs.o
: fs
/ufs.c
443 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
445 grub_setup-fs_ufs.d
: fs
/ufs.c
446 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
$@
448 -include grub_setup-fs_ufs.d
450 grub_setup-fs_minix.o
: fs
/minix.c
451 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
453 grub_setup-fs_minix.d
: fs
/minix.c
454 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
$@
456 -include grub_setup-fs_minix.d
458 grub_setup-fs_hfs.o
: fs
/hfs.c
459 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
461 grub_setup-fs_hfs.d
: fs
/hfs.c
462 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
$@
464 -include grub_setup-fs_hfs.d
466 grub_setup-fs_jfs.o
: fs
/jfs.c
467 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
469 grub_setup-fs_jfs.d
: fs
/jfs.c
470 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
$@
472 -include grub_setup-fs_jfs.d
474 grub_setup-kern_file.o
: kern
/file.c
475 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
477 grub_setup-kern_file.d
: kern
/file.c
478 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
$@
480 -include grub_setup-kern_file.d
482 grub_setup-kern_fs.o
: kern
/fs.c
483 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
485 grub_setup-kern_fs.d
: kern
/fs.c
486 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
$@
488 -include grub_setup-kern_fs.d
490 grub_setup-kern_env.o
: kern
/env.c
491 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
493 grub_setup-kern_env.d
: kern
/env.c
494 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
$@
496 -include grub_setup-kern_env.d
498 grub_setup-fs_fshelp.o
: fs
/fshelp.c
499 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_setup_CFLAGS
) -c
-o
$@
$<
501 grub_setup-fs_fshelp.d
: fs
/fshelp.c
502 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
$@
504 -include grub_setup-fs_fshelp.d
508 grub_emu_SOURCES
= commands
/boot.c commands
/cat.c commands
/cmp.c \
509 commands
/configfile.c commands
/default.c commands
/help.c \
510 commands
/terminal.c commands
/ls.c commands
/timeout.c \
511 commands
/i386
/pc/halt.c commands
/i386
/pc/reboot.c \
513 fs
/ext2.c fs
/fat.c fs
/fshelp.c fs
/hfs.c fs
/iso9660.c fs
/jfs.c \
514 fs
/minix.c fs
/ufs.c \
515 kern
/device.c kern
/disk.c kern
/dl.c kern
/env.c kern
/err.c \
516 kern
/file.c kern
/fs.c kern
/loader.c kern
/main.c kern
/misc.c \
517 kern
/partition.c kern
/rescue.c kern
/term.c \
518 normal
/arg.c normal
/cmdline.c normal
/command.c normal
/context.c \
519 normal
/main.c normal
/menu.c normal
/menu_entry.c \
520 partmap
/amiga.c partmap
/apple.c partmap
/pc.c partmap
/sun.c \
521 util
/console.c util
/grub-emu.c util
/misc.c \
522 util
/i386
/pc/biosdisk.c util
/i386
/pc/getroot.c \
524 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_timeout.o grub_emu-commands_i386_pc_halt.o grub_emu-commands_i386_pc_reboot.o grub_emu-disk_loopback.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_ufs.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-kern_file.o grub_emu-kern_fs.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.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_context.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.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
525 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_timeout.d grub_emu-commands_i386_pc_halt.d grub_emu-commands_i386_pc_reboot.d grub_emu-disk_loopback.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_ufs.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-kern_file.d grub_emu-kern_fs.d grub_emu-kern_loader.d grub_emu-kern_main.d grub_emu-kern_misc.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_context.d grub_emu-normal_main.d grub_emu-normal_menu.d grub_emu-normal_menu_entry.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
527 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_timeout.o grub_emu-commands_i386_pc_halt.o grub_emu-commands_i386_pc_reboot.o grub_emu-disk_loopback.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_ufs.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-kern_file.o grub_emu-kern_fs.o grub_emu-kern_loader.o grub_emu-kern_main.o grub_emu-kern_misc.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_context.o grub_emu-normal_main.o grub_emu-normal_menu.o grub_emu-normal_menu_entry.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
528 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_emu_LDFLAGS
)
530 grub_emu-commands_boot.o
: commands
/boot.c
531 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
533 grub_emu-commands_boot.d
: commands
/boot.c
534 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
$@
536 -include grub_emu-commands_boot.d
538 grub_emu-commands_cat.o
: commands
/cat.c
539 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
541 grub_emu-commands_cat.d
: commands
/cat.c
542 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
$@
544 -include grub_emu-commands_cat.d
546 grub_emu-commands_cmp.o
: commands
/cmp.c
547 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
549 grub_emu-commands_cmp.d
: commands
/cmp.c
550 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
$@
552 -include grub_emu-commands_cmp.d
554 grub_emu-commands_configfile.o
: commands
/configfile.c
555 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
557 grub_emu-commands_configfile.d
: commands
/configfile.c
558 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
$@
560 -include grub_emu-commands_configfile.d
562 grub_emu-commands_default.o
: commands
/default.c
563 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
565 grub_emu-commands_default.d
: commands
/default.c
566 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
$@
568 -include grub_emu-commands_default.d
570 grub_emu-commands_help.o
: commands
/help.c
571 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
573 grub_emu-commands_help.d
: commands
/help.c
574 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
$@
576 -include grub_emu-commands_help.d
578 grub_emu-commands_terminal.o
: commands
/terminal.c
579 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
581 grub_emu-commands_terminal.d
: commands
/terminal.c
582 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
$@
584 -include grub_emu-commands_terminal.d
586 grub_emu-commands_ls.o
: commands
/ls.c
587 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
589 grub_emu-commands_ls.d
: commands
/ls.c
590 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
$@
592 -include grub_emu-commands_ls.d
594 grub_emu-commands_timeout.o
: commands
/timeout.c
595 $(BUILD_CC
) -Icommands
-I
$(srcdir)/commands
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
597 grub_emu-commands_timeout.d
: commands
/timeout.c
598 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
$@
600 -include grub_emu-commands_timeout.d
602 grub_emu-commands_i386_pc_halt.o
: commands
/i386
/pc/halt.c
603 $(BUILD_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
605 grub_emu-commands_i386_pc_halt.d
: commands
/i386
/pc/halt.c
606 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
$@
608 -include grub_emu-commands_i386_pc_halt.d
610 grub_emu-commands_i386_pc_reboot.o
: commands
/i386
/pc/reboot.c
611 $(BUILD_CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
613 grub_emu-commands_i386_pc_reboot.d
: commands
/i386
/pc/reboot.c
614 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
$@
616 -include grub_emu-commands_i386_pc_reboot.d
618 grub_emu-disk_loopback.o
: disk
/loopback.c
619 $(BUILD_CC
) -Idisk
-I
$(srcdir)/disk
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
621 grub_emu-disk_loopback.d
: disk
/loopback.c
622 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
$@
624 -include grub_emu-disk_loopback.d
626 grub_emu-fs_ext2.o
: fs
/ext2.c
627 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
629 grub_emu-fs_ext2.d
: fs
/ext2.c
630 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
$@
632 -include grub_emu-fs_ext2.d
634 grub_emu-fs_fat.o
: fs
/fat.c
635 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
637 grub_emu-fs_fat.d
: fs
/fat.c
638 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
$@
640 -include grub_emu-fs_fat.d
642 grub_emu-fs_fshelp.o
: fs
/fshelp.c
643 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
645 grub_emu-fs_fshelp.d
: fs
/fshelp.c
646 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
$@
648 -include grub_emu-fs_fshelp.d
650 grub_emu-fs_hfs.o
: fs
/hfs.c
651 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
653 grub_emu-fs_hfs.d
: fs
/hfs.c
654 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
$@
656 -include grub_emu-fs_hfs.d
658 grub_emu-fs_iso9660.o
: fs
/iso9660.c
659 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
661 grub_emu-fs_iso9660.d
: fs
/iso9660.c
662 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
$@
664 -include grub_emu-fs_iso9660.d
666 grub_emu-fs_jfs.o
: fs
/jfs.c
667 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
669 grub_emu-fs_jfs.d
: fs
/jfs.c
670 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
$@
672 -include grub_emu-fs_jfs.d
674 grub_emu-fs_minix.o
: fs
/minix.c
675 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
677 grub_emu-fs_minix.d
: fs
/minix.c
678 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
$@
680 -include grub_emu-fs_minix.d
682 grub_emu-fs_ufs.o
: fs
/ufs.c
683 $(BUILD_CC
) -Ifs
-I
$(srcdir)/fs
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
685 grub_emu-fs_ufs.d
: fs
/ufs.c
686 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
$@
688 -include grub_emu-fs_ufs.d
690 grub_emu-kern_device.o
: kern
/device.c
691 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
693 grub_emu-kern_device.d
: kern
/device.c
694 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
$@
696 -include grub_emu-kern_device.d
698 grub_emu-kern_disk.o
: kern
/disk.c
699 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
701 grub_emu-kern_disk.d
: kern
/disk.c
702 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
$@
704 -include grub_emu-kern_disk.d
706 grub_emu-kern_dl.o
: kern
/dl.c
707 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
709 grub_emu-kern_dl.d
: kern
/dl.c
710 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
$@
712 -include grub_emu-kern_dl.d
714 grub_emu-kern_env.o
: kern
/env.c
715 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
717 grub_emu-kern_env.d
: kern
/env.c
718 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
$@
720 -include grub_emu-kern_env.d
722 grub_emu-kern_err.o
: kern
/err.c
723 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
725 grub_emu-kern_err.d
: kern
/err.c
726 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
$@
728 -include grub_emu-kern_err.d
730 grub_emu-kern_file.o
: kern
/file.c
731 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
733 grub_emu-kern_file.d
: kern
/file.c
734 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
$@
736 -include grub_emu-kern_file.d
738 grub_emu-kern_fs.o
: kern
/fs.c
739 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
741 grub_emu-kern_fs.d
: kern
/fs.c
742 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
$@
744 -include grub_emu-kern_fs.d
746 grub_emu-kern_loader.o
: kern
/loader.c
747 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
749 grub_emu-kern_loader.d
: kern
/loader.c
750 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
$@
752 -include grub_emu-kern_loader.d
754 grub_emu-kern_main.o
: kern
/main.c
755 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
757 grub_emu-kern_main.d
: kern
/main.c
758 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
$@
760 -include grub_emu-kern_main.d
762 grub_emu-kern_misc.o
: kern
/misc.c
763 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
765 grub_emu-kern_misc.d
: kern
/misc.c
766 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
$@
768 -include grub_emu-kern_misc.d
770 grub_emu-kern_partition.o
: kern
/partition.c
771 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
773 grub_emu-kern_partition.d
: kern
/partition.c
774 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
$@
776 -include grub_emu-kern_partition.d
778 grub_emu-kern_rescue.o
: kern
/rescue.c
779 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
781 grub_emu-kern_rescue.d
: kern
/rescue.c
782 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
$@
784 -include grub_emu-kern_rescue.d
786 grub_emu-kern_term.o
: kern
/term.c
787 $(BUILD_CC
) -Ikern
-I
$(srcdir)/kern
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
789 grub_emu-kern_term.d
: kern
/term.c
790 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
$@
792 -include grub_emu-kern_term.d
794 grub_emu-normal_arg.o
: normal
/arg.c
795 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
797 grub_emu-normal_arg.d
: normal
/arg.c
798 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
$@
800 -include grub_emu-normal_arg.d
802 grub_emu-normal_cmdline.o
: normal
/cmdline.c
803 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
805 grub_emu-normal_cmdline.d
: normal
/cmdline.c
806 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
$@
808 -include grub_emu-normal_cmdline.d
810 grub_emu-normal_command.o
: normal
/command.c
811 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
813 grub_emu-normal_command.d
: normal
/command.c
814 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
$@
816 -include grub_emu-normal_command.d
818 grub_emu-normal_context.o
: normal
/context.c
819 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
821 grub_emu-normal_context.d
: normal
/context.c
822 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
$@
824 -include grub_emu-normal_context.d
826 grub_emu-normal_main.o
: normal
/main.c
827 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
829 grub_emu-normal_main.d
: normal
/main.c
830 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
$@
832 -include grub_emu-normal_main.d
834 grub_emu-normal_menu.o
: normal
/menu.c
835 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
837 grub_emu-normal_menu.d
: normal
/menu.c
838 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
$@
840 -include grub_emu-normal_menu.d
842 grub_emu-normal_menu_entry.o
: normal
/menu_entry.c
843 $(BUILD_CC
) -Inormal
-I
$(srcdir)/normal
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
845 grub_emu-normal_menu_entry.d
: normal
/menu_entry.c
846 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
$@
848 -include grub_emu-normal_menu_entry.d
850 grub_emu-partmap_amiga.o
: partmap
/amiga.c
851 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
853 grub_emu-partmap_amiga.d
: partmap
/amiga.c
854 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
$@
856 -include grub_emu-partmap_amiga.d
858 grub_emu-partmap_apple.o
: partmap
/apple.c
859 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
861 grub_emu-partmap_apple.d
: partmap
/apple.c
862 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
$@
864 -include grub_emu-partmap_apple.d
866 grub_emu-partmap_pc.o
: partmap
/pc.c
867 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
869 grub_emu-partmap_pc.d
: partmap
/pc.c
870 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
$@
872 -include grub_emu-partmap_pc.d
874 grub_emu-partmap_sun.o
: partmap
/sun.c
875 $(BUILD_CC
) -Ipartmap
-I
$(srcdir)/partmap
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
877 grub_emu-partmap_sun.d
: partmap
/sun.c
878 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
$@
880 -include grub_emu-partmap_sun.d
882 grub_emu-util_console.o
: util
/console.c
883 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
885 grub_emu-util_console.d
: util
/console.c
886 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
$@
888 -include grub_emu-util_console.d
890 grub_emu-util_grub_emu.o
: util
/grub-emu.c
891 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
893 grub_emu-util_grub_emu.d
: util
/grub-emu.c
894 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
$@
896 -include grub_emu-util_grub_emu.d
898 grub_emu-util_misc.o
: util
/misc.c
899 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
901 grub_emu-util_misc.d
: util
/misc.c
902 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
$@
904 -include grub_emu-util_misc.d
906 grub_emu-util_i386_pc_biosdisk.o
: util
/i386
/pc/biosdisk.c
907 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
909 grub_emu-util_i386_pc_biosdisk.d
: util
/i386
/pc/biosdisk.c
910 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
$@
912 -include grub_emu-util_i386_pc_biosdisk.d
914 grub_emu-util_i386_pc_getroot.o
: util
/i386
/pc/getroot.c
915 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
917 grub_emu-util_i386_pc_getroot.d
: util
/i386
/pc/getroot.c
918 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
$@
920 -include grub_emu-util_i386_pc_getroot.d
922 grub_emu-util_i386_pc_misc.o
: util
/i386
/pc/misc.c
923 $(BUILD_CC
) -Iutil
/i386
/pc -I
$(srcdir)/util
/i386
/pc $(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_emu_CFLAGS
) -c
-o
$@
$<
925 grub_emu-util_i386_pc_misc.d
: util
/i386
/pc/misc.c
926 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
$@
928 -include grub_emu-util_i386_pc_misc.d
931 grub_emu_LDFLAGS
= -lncurses
934 genmoddep_SOURCES
= util
/genmoddep.c
935 CLEANFILES
+= genmoddep genmoddep-util_genmoddep.o
936 MOSTLYCLEANFILES
+= genmoddep-util_genmoddep.d
938 genmoddep
: genmoddep-util_genmoddep.o
939 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(genmoddep_LDFLAGS
)
941 genmoddep-util_genmoddep.o
: util
/genmoddep.c
942 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(genmoddep_CFLAGS
) -c
-o
$@
$<
944 genmoddep-util_genmoddep.d
: util
/genmoddep.c
945 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
$@
947 -include genmoddep-util_genmoddep.d
951 pkgdata_MODULES
= _chain.mod _linux.mod linux.mod fat.mod ufs.mod \
952 ext2.mod minix.mod hfs.mod jfs.mod normal.mod hello.mod vga.mod \
953 font.mod _multiboot.mod ls.mod boot.mod cmp.mod cat.mod \
954 terminal.mod fshelp.mod chain.mod multiboot.mod amiga.mod \
955 apple.mod
pc.mod sun.mod loopback.mod reboot.mod halt.mod \
956 help.mod default.mod timeout.mod configfile.mod
959 _chain_mod_SOURCES
= loader
/i386
/pc/chainloader.c
960 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
961 MOSTLYCLEANFILES
+= _chain_mod-loader_i386_pc_chainloader.d
962 DEFSYMFILES
+= def-_chain.lst
963 UNDSYMFILES
+= und-_chain.lst
965 _chain.mod
: pre-_chain.o mod-_chain.o
968 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
970 pre-_chain.o
: _chain_mod-loader_i386_pc_chainloader.o
974 mod-_chain.o
: mod-_chain.c
975 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -c
-o
$@
$<
977 mod-_chain.c
: moddep.lst genmodsrc.sh
978 sh
$(srcdir)/genmodsrc.sh
'_chain' $< > $@ ||
(rm -f
$@
; exit
1)
980 def-_chain.lst
: pre-_chain.o
981 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _chain/' > $@
983 und-_chain.lst
: pre-_chain.o
985 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
987 _chain_mod-loader_i386_pc_chainloader.o
: loader
/i386
/pc/chainloader.c
988 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -c
-o
$@
$<
990 _chain_mod-loader_i386_pc_chainloader.d
: loader
/i386
/pc/chainloader.c
991 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
$@
993 -include _chain_mod-loader_i386_pc_chainloader.d
995 CLEANFILES
+= cmd-chainloader.lst
996 COMMANDFILES
+= cmd-chainloader.lst
998 cmd-chainloader.lst
: loader
/i386
/pc/chainloader.c gencmdlist.sh
999 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_chain_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _chain.mod
> $@ ||
(rm -f
$@
; exit
1)
1001 _chain_mod_CFLAGS
= $(COMMON_CFLAGS
)
1004 chain_mod_SOURCES
= loader
/i386
/pc/chainloader_normal.c
1005 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
1006 MOSTLYCLEANFILES
+= chain_mod-loader_i386_pc_chainloader_normal.d
1007 DEFSYMFILES
+= def-chain.lst
1008 UNDSYMFILES
+= und-chain.lst
1010 chain.mod
: pre-chain.o mod-chain.o
1012 $(LD
) -r
-d
-o
$@
$^
1013 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1015 pre-chain.o
: chain_mod-loader_i386_pc_chainloader_normal.o
1017 $(LD
) -r
-d
-o
$@
$^
1019 mod-chain.o
: mod-chain.c
1020 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -c
-o
$@
$<
1022 mod-chain.c
: moddep.lst genmodsrc.sh
1023 sh
$(srcdir)/genmodsrc.sh
'chain' $< > $@ ||
(rm -f
$@
; exit
1)
1025 def-chain.lst
: pre-chain.o
1026 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 chain/' > $@
1028 und-chain.lst
: pre-chain.o
1030 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1032 chain_mod-loader_i386_pc_chainloader_normal.o
: loader
/i386
/pc/chainloader_normal.c
1033 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -c
-o
$@
$<
1035 chain_mod-loader_i386_pc_chainloader_normal.d
: loader
/i386
/pc/chainloader_normal.c
1036 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
$@
1038 -include chain_mod-loader_i386_pc_chainloader_normal.d
1040 CLEANFILES
+= cmd-chainloader_normal.lst
1041 COMMANDFILES
+= cmd-chainloader_normal.lst
1043 cmd-chainloader_normal.lst
: loader
/i386
/pc/chainloader_normal.c gencmdlist.sh
1044 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(chain_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh chain.mod
> $@ ||
(rm -f
$@
; exit
1)
1046 chain_mod_CFLAGS
= $(COMMON_CFLAGS
)
1049 fshelp_mod_SOURCES
= fs
/fshelp.c
1050 CLEANFILES
+= fshelp.mod mod-fshelp.o mod-fshelp.c pre-fshelp.o fshelp_mod-fs_fshelp.o def-fshelp.lst und-fshelp.lst
1051 MOSTLYCLEANFILES
+= fshelp_mod-fs_fshelp.d
1052 DEFSYMFILES
+= def-fshelp.lst
1053 UNDSYMFILES
+= und-fshelp.lst
1055 fshelp.mod
: pre-fshelp.o mod-fshelp.o
1057 $(LD
) -r
-d
-o
$@
$^
1058 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1060 pre-fshelp.o
: fshelp_mod-fs_fshelp.o
1062 $(LD
) -r
-d
-o
$@
$^
1064 mod-fshelp.o
: mod-fshelp.c
1065 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
1067 mod-fshelp.c
: moddep.lst genmodsrc.sh
1068 sh
$(srcdir)/genmodsrc.sh
'fshelp' $< > $@ ||
(rm -f
$@
; exit
1)
1070 def-fshelp.lst
: pre-fshelp.o
1071 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fshelp/' > $@
1073 und-fshelp.lst
: pre-fshelp.o
1075 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1077 fshelp_mod-fs_fshelp.o
: fs
/fshelp.c
1078 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -c
-o
$@
$<
1080 fshelp_mod-fs_fshelp.d
: fs
/fshelp.c
1081 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
$@
1083 -include fshelp_mod-fs_fshelp.d
1085 CLEANFILES
+= cmd-fshelp.lst
1086 COMMANDFILES
+= cmd-fshelp.lst
1088 cmd-fshelp.lst
: fs
/fshelp.c gencmdlist.sh
1089 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fshelp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fshelp.mod
> $@ ||
(rm -f
$@
; exit
1)
1091 fshelp_mod_CFLAGS
= $(COMMON_CFLAGS
)
1094 fat_mod_SOURCES
= fs
/fat.c
1095 CLEANFILES
+= fat.mod mod-fat.o mod-fat.c pre-fat.o fat_mod-fs_fat.o def-fat.lst und-fat.lst
1096 MOSTLYCLEANFILES
+= fat_mod-fs_fat.d
1097 DEFSYMFILES
+= def-fat.lst
1098 UNDSYMFILES
+= und-fat.lst
1100 fat.mod
: pre-fat.o mod-fat.o
1102 $(LD
) -r
-d
-o
$@
$^
1103 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1105 pre-fat.o
: fat_mod-fs_fat.o
1107 $(LD
) -r
-d
-o
$@
$^
1109 mod-fat.o
: mod-fat.c
1110 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
1112 mod-fat.c
: moddep.lst genmodsrc.sh
1113 sh
$(srcdir)/genmodsrc.sh
'fat' $< > $@ ||
(rm -f
$@
; exit
1)
1115 def-fat.lst
: pre-fat.o
1116 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 fat/' > $@
1118 und-fat.lst
: pre-fat.o
1120 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1122 fat_mod-fs_fat.o
: fs
/fat.c
1123 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -c
-o
$@
$<
1125 fat_mod-fs_fat.d
: fs
/fat.c
1126 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
$@
1128 -include fat_mod-fs_fat.d
1130 CLEANFILES
+= cmd-fat.lst
1131 COMMANDFILES
+= cmd-fat.lst
1133 cmd-fat.lst
: fs
/fat.c gencmdlist.sh
1134 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(fat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh fat.mod
> $@ ||
(rm -f
$@
; exit
1)
1136 fat_mod_CFLAGS
= $(COMMON_CFLAGS
)
1139 ext2_mod_SOURCES
= fs
/ext2.c
1140 CLEANFILES
+= ext2.mod mod-ext2.o mod-ext2.c pre-ext2.o ext2_mod-fs_ext2.o def-ext2.lst und-ext2.lst
1141 MOSTLYCLEANFILES
+= ext2_mod-fs_ext2.d
1142 DEFSYMFILES
+= def-ext2.lst
1143 UNDSYMFILES
+= und-ext2.lst
1145 ext2.mod
: pre-ext2.o mod-ext2.o
1147 $(LD
) -r
-d
-o
$@
$^
1148 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1150 pre-ext2.o
: ext2_mod-fs_ext2.o
1152 $(LD
) -r
-d
-o
$@
$^
1154 mod-ext2.o
: mod-ext2.c
1155 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
1157 mod-ext2.c
: moddep.lst genmodsrc.sh
1158 sh
$(srcdir)/genmodsrc.sh
'ext2' $< > $@ ||
(rm -f
$@
; exit
1)
1160 def-ext2.lst
: pre-ext2.o
1161 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ext2/' > $@
1163 und-ext2.lst
: pre-ext2.o
1165 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1167 ext2_mod-fs_ext2.o
: fs
/ext2.c
1168 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -c
-o
$@
$<
1170 ext2_mod-fs_ext2.d
: fs
/ext2.c
1171 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
$@
1173 -include ext2_mod-fs_ext2.d
1175 CLEANFILES
+= cmd-ext2.lst
1176 COMMANDFILES
+= cmd-ext2.lst
1178 cmd-ext2.lst
: fs
/ext2.c gencmdlist.sh
1179 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ext2_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ext2.mod
> $@ ||
(rm -f
$@
; exit
1)
1181 ext2_mod_CFLAGS
= $(COMMON_CFLAGS
)
1184 ufs_mod_SOURCES
= fs
/ufs.c
1185 CLEANFILES
+= ufs.mod mod-ufs.o mod-ufs.c pre-ufs.o ufs_mod-fs_ufs.o def-ufs.lst und-ufs.lst
1186 MOSTLYCLEANFILES
+= ufs_mod-fs_ufs.d
1187 DEFSYMFILES
+= def-ufs.lst
1188 UNDSYMFILES
+= und-ufs.lst
1190 ufs.mod
: pre-ufs.o mod-ufs.o
1192 $(LD
) -r
-d
-o
$@
$^
1193 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1195 pre-ufs.o
: ufs_mod-fs_ufs.o
1197 $(LD
) -r
-d
-o
$@
$^
1199 mod-ufs.o
: mod-ufs.c
1200 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
1202 mod-ufs.c
: moddep.lst genmodsrc.sh
1203 sh
$(srcdir)/genmodsrc.sh
'ufs' $< > $@ ||
(rm -f
$@
; exit
1)
1205 def-ufs.lst
: pre-ufs.o
1206 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ufs/' > $@
1208 und-ufs.lst
: pre-ufs.o
1210 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1212 ufs_mod-fs_ufs.o
: fs
/ufs.c
1213 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -c
-o
$@
$<
1215 ufs_mod-fs_ufs.d
: fs
/ufs.c
1216 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
$@
1218 -include ufs_mod-fs_ufs.d
1220 CLEANFILES
+= cmd-ufs.lst
1221 COMMANDFILES
+= cmd-ufs.lst
1223 cmd-ufs.lst
: fs
/ufs.c gencmdlist.sh
1224 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(ufs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ufs.mod
> $@ ||
(rm -f
$@
; exit
1)
1226 ufs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1229 minix_mod_SOURCES
= fs
/minix.c
1230 CLEANFILES
+= minix.mod mod-minix.o mod-minix.c pre-minix.o minix_mod-fs_minix.o def-minix.lst und-minix.lst
1231 MOSTLYCLEANFILES
+= minix_mod-fs_minix.d
1232 DEFSYMFILES
+= def-minix.lst
1233 UNDSYMFILES
+= und-minix.lst
1235 minix.mod
: pre-minix.o mod-minix.o
1237 $(LD
) -r
-d
-o
$@
$^
1238 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1240 pre-minix.o
: minix_mod-fs_minix.o
1242 $(LD
) -r
-d
-o
$@
$^
1244 mod-minix.o
: mod-minix.c
1245 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
1247 mod-minix.c
: moddep.lst genmodsrc.sh
1248 sh
$(srcdir)/genmodsrc.sh
'minix' $< > $@ ||
(rm -f
$@
; exit
1)
1250 def-minix.lst
: pre-minix.o
1251 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 minix/' > $@
1253 und-minix.lst
: pre-minix.o
1255 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1257 minix_mod-fs_minix.o
: fs
/minix.c
1258 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -c
-o
$@
$<
1260 minix_mod-fs_minix.d
: fs
/minix.c
1261 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
$@
1263 -include minix_mod-fs_minix.d
1265 CLEANFILES
+= cmd-minix.lst
1266 COMMANDFILES
+= cmd-minix.lst
1268 cmd-minix.lst
: fs
/minix.c gencmdlist.sh
1269 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(minix_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh minix.mod
> $@ ||
(rm -f
$@
; exit
1)
1271 minix_mod_CFLAGS
= $(COMMON_CFLAGS
)
1274 hfs_mod_SOURCES
= fs
/hfs.c
1275 CLEANFILES
+= hfs.mod mod-hfs.o mod-hfs.c pre-hfs.o hfs_mod-fs_hfs.o def-hfs.lst und-hfs.lst
1276 MOSTLYCLEANFILES
+= hfs_mod-fs_hfs.d
1277 DEFSYMFILES
+= def-hfs.lst
1278 UNDSYMFILES
+= und-hfs.lst
1280 hfs.mod
: pre-hfs.o mod-hfs.o
1282 $(LD
) -r
-d
-o
$@
$^
1283 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1285 pre-hfs.o
: hfs_mod-fs_hfs.o
1287 $(LD
) -r
-d
-o
$@
$^
1289 mod-hfs.o
: mod-hfs.c
1290 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
1292 mod-hfs.c
: moddep.lst genmodsrc.sh
1293 sh
$(srcdir)/genmodsrc.sh
'hfs' $< > $@ ||
(rm -f
$@
; exit
1)
1295 def-hfs.lst
: pre-hfs.o
1296 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hfs/' > $@
1298 und-hfs.lst
: pre-hfs.o
1300 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1302 hfs_mod-fs_hfs.o
: fs
/hfs.c
1303 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -c
-o
$@
$<
1305 hfs_mod-fs_hfs.d
: fs
/hfs.c
1306 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
$@
1308 -include hfs_mod-fs_hfs.d
1310 CLEANFILES
+= cmd-hfs.lst
1311 COMMANDFILES
+= cmd-hfs.lst
1313 cmd-hfs.lst
: fs
/hfs.c gencmdlist.sh
1314 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(hfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hfs.mod
> $@ ||
(rm -f
$@
; exit
1)
1316 hfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1319 jfs_mod_SOURCES
= fs
/jfs.c
1320 CLEANFILES
+= jfs.mod mod-jfs.o mod-jfs.c pre-jfs.o jfs_mod-fs_jfs.o def-jfs.lst und-jfs.lst
1321 MOSTLYCLEANFILES
+= jfs_mod-fs_jfs.d
1322 DEFSYMFILES
+= def-jfs.lst
1323 UNDSYMFILES
+= und-jfs.lst
1325 jfs.mod
: pre-jfs.o mod-jfs.o
1327 $(LD
) -r
-d
-o
$@
$^
1328 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1330 pre-jfs.o
: jfs_mod-fs_jfs.o
1332 $(LD
) -r
-d
-o
$@
$^
1334 mod-jfs.o
: mod-jfs.c
1335 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
1337 mod-jfs.c
: moddep.lst genmodsrc.sh
1338 sh
$(srcdir)/genmodsrc.sh
'jfs' $< > $@ ||
(rm -f
$@
; exit
1)
1340 def-jfs.lst
: pre-jfs.o
1341 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 jfs/' > $@
1343 und-jfs.lst
: pre-jfs.o
1345 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1347 jfs_mod-fs_jfs.o
: fs
/jfs.c
1348 $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -c
-o
$@
$<
1350 jfs_mod-fs_jfs.d
: fs
/jfs.c
1351 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
$@
1353 -include jfs_mod-fs_jfs.d
1355 CLEANFILES
+= cmd-jfs.lst
1356 COMMANDFILES
+= cmd-jfs.lst
1358 cmd-jfs.lst
: fs
/jfs.c gencmdlist.sh
1359 set
-e
; $(CC
) -Ifs
-I
$(srcdir)/fs
$(CPPFLAGS
) $(CFLAGS
) $(jfs_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh jfs.mod
> $@ ||
(rm -f
$@
; exit
1)
1361 jfs_mod_CFLAGS
= $(COMMON_CFLAGS
)
1364 iso9660_mod_SOURCES
= fs
/iso9660.c
1365 iso9660_mod_CFLAGS
= $(COMMON_CFLAGS
)
1368 _linux_mod_SOURCES
= loader
/i386
/pc/linux.c
1369 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
1370 MOSTLYCLEANFILES
+= _linux_mod-loader_i386_pc_linux.d
1371 DEFSYMFILES
+= def-_linux.lst
1372 UNDSYMFILES
+= und-_linux.lst
1374 _linux.mod
: pre-_linux.o mod-_linux.o
1376 $(LD
) -r
-d
-o
$@
$^
1377 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1379 pre-_linux.o
: _linux_mod-loader_i386_pc_linux.o
1381 $(LD
) -r
-d
-o
$@
$^
1383 mod-_linux.o
: mod-_linux.c
1384 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -c
-o
$@
$<
1386 mod-_linux.c
: moddep.lst genmodsrc.sh
1387 sh
$(srcdir)/genmodsrc.sh
'_linux' $< > $@ ||
(rm -f
$@
; exit
1)
1389 def-_linux.lst
: pre-_linux.o
1390 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _linux/' > $@
1392 und-_linux.lst
: pre-_linux.o
1394 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1396 _linux_mod-loader_i386_pc_linux.o
: loader
/i386
/pc/linux.c
1397 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -c
-o
$@
$<
1399 _linux_mod-loader_i386_pc_linux.d
: loader
/i386
/pc/linux.c
1400 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
$@
1402 -include _linux_mod-loader_i386_pc_linux.d
1404 CLEANFILES
+= cmd-linux.lst
1405 COMMANDFILES
+= cmd-linux.lst
1407 cmd-linux.lst
: loader
/i386
/pc/linux.c gencmdlist.sh
1408 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _linux.mod
> $@ ||
(rm -f
$@
; exit
1)
1410 _linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
1413 linux_mod_SOURCES
= loader
/i386
/pc/linux_normal.c
1414 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
1415 MOSTLYCLEANFILES
+= linux_mod-loader_i386_pc_linux_normal.d
1416 DEFSYMFILES
+= def-linux.lst
1417 UNDSYMFILES
+= und-linux.lst
1419 linux.mod
: pre-linux.o mod-linux.o
1421 $(LD
) -r
-d
-o
$@
$^
1422 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1424 pre-linux.o
: linux_mod-loader_i386_pc_linux_normal.o
1426 $(LD
) -r
-d
-o
$@
$^
1428 mod-linux.o
: mod-linux.c
1429 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -c
-o
$@
$<
1431 mod-linux.c
: moddep.lst genmodsrc.sh
1432 sh
$(srcdir)/genmodsrc.sh
'linux' $< > $@ ||
(rm -f
$@
; exit
1)
1434 def-linux.lst
: pre-linux.o
1435 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 linux/' > $@
1437 und-linux.lst
: pre-linux.o
1439 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1441 linux_mod-loader_i386_pc_linux_normal.o
: loader
/i386
/pc/linux_normal.c
1442 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -c
-o
$@
$<
1444 linux_mod-loader_i386_pc_linux_normal.d
: loader
/i386
/pc/linux_normal.c
1445 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
$@
1447 -include linux_mod-loader_i386_pc_linux_normal.d
1449 CLEANFILES
+= cmd-linux_normal.lst
1450 COMMANDFILES
+= cmd-linux_normal.lst
1452 cmd-linux_normal.lst
: loader
/i386
/pc/linux_normal.c gencmdlist.sh
1453 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh linux.mod
> $@ ||
(rm -f
$@
; exit
1)
1455 linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
1458 normal_mod_SOURCES
= normal
/arg.c normal
/cmdline.c normal
/command.c \
1459 normal
/context.c normal
/main.c normal
/menu.c \
1460 normal
/menu_entry.c normal
/i386
/setjmp.S
1461 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_context.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_i386_setjmp.o def-normal.lst und-normal.lst
1462 MOSTLYCLEANFILES
+= normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_context.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_i386_setjmp.d
1463 DEFSYMFILES
+= def-normal.lst
1464 UNDSYMFILES
+= und-normal.lst
1466 normal.mod
: pre-normal.o mod-normal.o
1468 $(LD
) -r
-d
-o
$@
$^
1469 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1471 pre-normal.o
: normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_context.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_i386_setjmp.o
1473 $(LD
) -r
-d
-o
$@
$^
1475 mod-normal.o
: mod-normal.c
1476 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1478 mod-normal.c
: moddep.lst genmodsrc.sh
1479 sh
$(srcdir)/genmodsrc.sh
'normal' $< > $@ ||
(rm -f
$@
; exit
1)
1481 def-normal.lst
: pre-normal.o
1482 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 normal/' > $@
1484 und-normal.lst
: pre-normal.o
1486 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1488 normal_mod-normal_arg.o
: normal
/arg.c
1489 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1491 normal_mod-normal_arg.d
: normal
/arg.c
1492 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
$@
1494 -include normal_mod-normal_arg.d
1496 CLEANFILES
+= cmd-arg.lst
1497 COMMANDFILES
+= cmd-arg.lst
1499 cmd-arg.lst
: normal
/arg.c gencmdlist.sh
1500 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1502 normal_mod-normal_cmdline.o
: normal
/cmdline.c
1503 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1505 normal_mod-normal_cmdline.d
: normal
/cmdline.c
1506 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
$@
1508 -include normal_mod-normal_cmdline.d
1510 CLEANFILES
+= cmd-cmdline.lst
1511 COMMANDFILES
+= cmd-cmdline.lst
1513 cmd-cmdline.lst
: normal
/cmdline.c gencmdlist.sh
1514 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1516 normal_mod-normal_command.o
: normal
/command.c
1517 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1519 normal_mod-normal_command.d
: normal
/command.c
1520 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
$@
1522 -include normal_mod-normal_command.d
1524 CLEANFILES
+= cmd-command.lst
1525 COMMANDFILES
+= cmd-command.lst
1527 cmd-command.lst
: normal
/command.c gencmdlist.sh
1528 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1530 normal_mod-normal_context.o
: normal
/context.c
1531 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1533 normal_mod-normal_context.d
: normal
/context.c
1534 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
$@
1536 -include normal_mod-normal_context.d
1538 CLEANFILES
+= cmd-context.lst
1539 COMMANDFILES
+= cmd-context.lst
1541 cmd-context.lst
: normal
/context.c gencmdlist.sh
1542 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1544 normal_mod-normal_main.o
: normal
/main.c
1545 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1547 normal_mod-normal_main.d
: normal
/main.c
1548 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
$@
1550 -include normal_mod-normal_main.d
1552 CLEANFILES
+= cmd-main.lst
1553 COMMANDFILES
+= cmd-main.lst
1555 cmd-main.lst
: normal
/main.c gencmdlist.sh
1556 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1558 normal_mod-normal_menu.o
: normal
/menu.c
1559 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1561 normal_mod-normal_menu.d
: normal
/menu.c
1562 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
$@
1564 -include normal_mod-normal_menu.d
1566 CLEANFILES
+= cmd-menu.lst
1567 COMMANDFILES
+= cmd-menu.lst
1569 cmd-menu.lst
: normal
/menu.c gencmdlist.sh
1570 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1572 normal_mod-normal_menu_entry.o
: normal
/menu_entry.c
1573 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
1575 normal_mod-normal_menu_entry.d
: normal
/menu_entry.c
1576 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
$@
1578 -include normal_mod-normal_menu_entry.d
1580 CLEANFILES
+= cmd-menu_entry.lst
1581 COMMANDFILES
+= cmd-menu_entry.lst
1583 cmd-menu_entry.lst
: normal
/menu_entry.c gencmdlist.sh
1584 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1586 normal_mod-normal_i386_setjmp.o
: normal
/i386
/setjmp.S
1587 $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -c
-o
$@
$<
1589 normal_mod-normal_i386_setjmp.d
: normal
/i386
/setjmp.S
1590 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
$@
1592 -include normal_mod-normal_i386_setjmp.d
1594 CLEANFILES
+= cmd-setjmp.lst
1595 COMMANDFILES
+= cmd-setjmp.lst
1597 cmd-setjmp.lst
: normal
/i386
/setjmp.S gencmdlist.sh
1598 set
-e
; $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal.mod
> $@ ||
(rm -f
$@
; exit
1)
1600 normal_mod_CFLAGS
= $(COMMON_CFLAGS
)
1601 normal_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
1604 hello_mod_SOURCES
= hello
/hello.c
1605 CLEANFILES
+= hello.mod mod-hello.o mod-hello.c pre-hello.o hello_mod-hello_hello.o def-hello.lst und-hello.lst
1606 MOSTLYCLEANFILES
+= hello_mod-hello_hello.d
1607 DEFSYMFILES
+= def-hello.lst
1608 UNDSYMFILES
+= und-hello.lst
1610 hello.mod
: pre-hello.o mod-hello.o
1612 $(LD
) -r
-d
-o
$@
$^
1613 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1615 pre-hello.o
: hello_mod-hello_hello.o
1617 $(LD
) -r
-d
-o
$@
$^
1619 mod-hello.o
: mod-hello.c
1620 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
1622 mod-hello.c
: moddep.lst genmodsrc.sh
1623 sh
$(srcdir)/genmodsrc.sh
'hello' $< > $@ ||
(rm -f
$@
; exit
1)
1625 def-hello.lst
: pre-hello.o
1626 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 hello/' > $@
1628 und-hello.lst
: pre-hello.o
1630 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1632 hello_mod-hello_hello.o
: hello
/hello.c
1633 $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -c
-o
$@
$<
1635 hello_mod-hello_hello.d
: hello
/hello.c
1636 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
$@
1638 -include hello_mod-hello_hello.d
1640 CLEANFILES
+= cmd-hello.lst
1641 COMMANDFILES
+= cmd-hello.lst
1643 cmd-hello.lst
: hello
/hello.c gencmdlist.sh
1644 set
-e
; $(CC
) -Ihello
-I
$(srcdir)/hello
$(CPPFLAGS
) $(CFLAGS
) $(hello_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh hello.mod
> $@ ||
(rm -f
$@
; exit
1)
1646 hello_mod_CFLAGS
= $(COMMON_CFLAGS
)
1649 boot_mod_SOURCES
= commands
/boot.c
1650 CLEANFILES
+= boot.mod mod-boot.o mod-boot.c pre-boot.o boot_mod-commands_boot.o def-boot.lst und-boot.lst
1651 MOSTLYCLEANFILES
+= boot_mod-commands_boot.d
1652 DEFSYMFILES
+= def-boot.lst
1653 UNDSYMFILES
+= und-boot.lst
1655 boot.mod
: pre-boot.o mod-boot.o
1657 $(LD
) -r
-d
-o
$@
$^
1658 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1660 pre-boot.o
: boot_mod-commands_boot.o
1662 $(LD
) -r
-d
-o
$@
$^
1664 mod-boot.o
: mod-boot.c
1665 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
1667 mod-boot.c
: moddep.lst genmodsrc.sh
1668 sh
$(srcdir)/genmodsrc.sh
'boot' $< > $@ ||
(rm -f
$@
; exit
1)
1670 def-boot.lst
: pre-boot.o
1671 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 boot/' > $@
1673 und-boot.lst
: pre-boot.o
1675 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1677 boot_mod-commands_boot.o
: commands
/boot.c
1678 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
1680 boot_mod-commands_boot.d
: commands
/boot.c
1681 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
$@
1683 -include boot_mod-commands_boot.d
1685 CLEANFILES
+= cmd-boot.lst
1686 COMMANDFILES
+= cmd-boot.lst
1688 cmd-boot.lst
: commands
/boot.c gencmdlist.sh
1689 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh boot.mod
> $@ ||
(rm -f
$@
; exit
1)
1691 boot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1694 terminal_mod_SOURCES
= commands
/terminal.c
1695 CLEANFILES
+= terminal.mod mod-terminal.o mod-terminal.c pre-terminal.o terminal_mod-commands_terminal.o def-terminal.lst und-terminal.lst
1696 MOSTLYCLEANFILES
+= terminal_mod-commands_terminal.d
1697 DEFSYMFILES
+= def-terminal.lst
1698 UNDSYMFILES
+= und-terminal.lst
1700 terminal.mod
: pre-terminal.o mod-terminal.o
1702 $(LD
) -r
-d
-o
$@
$^
1703 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1705 pre-terminal.o
: terminal_mod-commands_terminal.o
1707 $(LD
) -r
-d
-o
$@
$^
1709 mod-terminal.o
: mod-terminal.c
1710 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
1712 mod-terminal.c
: moddep.lst genmodsrc.sh
1713 sh
$(srcdir)/genmodsrc.sh
'terminal' $< > $@ ||
(rm -f
$@
; exit
1)
1715 def-terminal.lst
: pre-terminal.o
1716 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 terminal/' > $@
1718 und-terminal.lst
: pre-terminal.o
1719 echo
'terminal' > $@
1720 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1722 terminal_mod-commands_terminal.o
: commands
/terminal.c
1723 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -c
-o
$@
$<
1725 terminal_mod-commands_terminal.d
: commands
/terminal.c
1726 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
$@
1728 -include terminal_mod-commands_terminal.d
1730 CLEANFILES
+= cmd-terminal.lst
1731 COMMANDFILES
+= cmd-terminal.lst
1733 cmd-terminal.lst
: commands
/terminal.c gencmdlist.sh
1734 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(terminal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh terminal.mod
> $@ ||
(rm -f
$@
; exit
1)
1736 terminal_mod_CFLAGS
= $(COMMON_CFLAGS
)
1739 ls_mod_SOURCES
= commands
/ls.c
1740 CLEANFILES
+= ls.mod mod-ls.o mod-ls.c pre-ls.o ls_mod-commands_ls.o def-ls.lst und-ls.lst
1741 MOSTLYCLEANFILES
+= ls_mod-commands_ls.d
1742 DEFSYMFILES
+= def-ls.lst
1743 UNDSYMFILES
+= und-ls.lst
1745 ls.mod
: pre-ls.o mod-ls.o
1747 $(LD
) -r
-d
-o
$@
$^
1748 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1750 pre-ls.o
: ls_mod-commands_ls.o
1752 $(LD
) -r
-d
-o
$@
$^
1755 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
1757 mod-ls.c
: moddep.lst genmodsrc.sh
1758 sh
$(srcdir)/genmodsrc.sh
'ls' $< > $@ ||
(rm -f
$@
; exit
1)
1760 def-ls.lst
: pre-ls.o
1761 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 ls/' > $@
1763 und-ls.lst
: pre-ls.o
1765 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1767 ls_mod-commands_ls.o
: commands
/ls.c
1768 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -c
-o
$@
$<
1770 ls_mod-commands_ls.d
: commands
/ls.c
1771 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
$@
1773 -include ls_mod-commands_ls.d
1775 CLEANFILES
+= cmd-ls.lst
1776 COMMANDFILES
+= cmd-ls.lst
1778 cmd-ls.lst
: commands
/ls.c gencmdlist.sh
1779 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(ls_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh ls.mod
> $@ ||
(rm -f
$@
; exit
1)
1781 ls_mod_CFLAGS
= $(COMMON_CFLAGS
)
1784 cmp_mod_SOURCES
= commands
/cmp.c
1785 CLEANFILES
+= cmp.mod mod-cmp.o mod-cmp.c pre-cmp.o cmp_mod-commands_cmp.o def-cmp.lst und-cmp.lst
1786 MOSTLYCLEANFILES
+= cmp_mod-commands_cmp.d
1787 DEFSYMFILES
+= def-cmp.lst
1788 UNDSYMFILES
+= und-cmp.lst
1790 cmp.mod
: pre-cmp.o mod-cmp.o
1792 $(LD
) -r
-d
-o
$@
$^
1793 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1795 pre-cmp.o
: cmp_mod-commands_cmp.o
1797 $(LD
) -r
-d
-o
$@
$^
1799 mod-cmp.o
: mod-cmp.c
1800 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
1802 mod-cmp.c
: moddep.lst genmodsrc.sh
1803 sh
$(srcdir)/genmodsrc.sh
'cmp' $< > $@ ||
(rm -f
$@
; exit
1)
1805 def-cmp.lst
: pre-cmp.o
1806 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cmp/' > $@
1808 und-cmp.lst
: pre-cmp.o
1810 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1812 cmp_mod-commands_cmp.o
: commands
/cmp.c
1813 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -c
-o
$@
$<
1815 cmp_mod-commands_cmp.d
: commands
/cmp.c
1816 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
$@
1818 -include cmp_mod-commands_cmp.d
1820 CLEANFILES
+= cmd-cmp.lst
1821 COMMANDFILES
+= cmd-cmp.lst
1823 cmd-cmp.lst
: commands
/cmp.c gencmdlist.sh
1824 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cmp_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cmp.mod
> $@ ||
(rm -f
$@
; exit
1)
1826 cmp_mod_CFLAGS
= $(COMMON_CFLAGS
)
1829 cat_mod_SOURCES
= commands
/cat.c
1830 CLEANFILES
+= cat.mod mod-cat.o mod-cat.c pre-cat.o cat_mod-commands_cat.o def-cat.lst und-cat.lst
1831 MOSTLYCLEANFILES
+= cat_mod-commands_cat.d
1832 DEFSYMFILES
+= def-cat.lst
1833 UNDSYMFILES
+= und-cat.lst
1835 cat.mod
: pre-cat.o mod-cat.o
1837 $(LD
) -r
-d
-o
$@
$^
1838 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1840 pre-cat.o
: cat_mod-commands_cat.o
1842 $(LD
) -r
-d
-o
$@
$^
1844 mod-cat.o
: mod-cat.c
1845 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
1847 mod-cat.c
: moddep.lst genmodsrc.sh
1848 sh
$(srcdir)/genmodsrc.sh
'cat' $< > $@ ||
(rm -f
$@
; exit
1)
1850 def-cat.lst
: pre-cat.o
1851 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 cat/' > $@
1853 und-cat.lst
: pre-cat.o
1855 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1857 cat_mod-commands_cat.o
: commands
/cat.c
1858 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -c
-o
$@
$<
1860 cat_mod-commands_cat.d
: commands
/cat.c
1861 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
$@
1863 -include cat_mod-commands_cat.d
1865 CLEANFILES
+= cmd-cat.lst
1866 COMMANDFILES
+= cmd-cat.lst
1868 cmd-cat.lst
: commands
/cat.c gencmdlist.sh
1869 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(cat_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh cat.mod
> $@ ||
(rm -f
$@
; exit
1)
1871 cat_mod_CFLAGS
= $(COMMON_CFLAGS
)
1874 help_mod_SOURCES
= commands
/help.c
1875 CLEANFILES
+= help.mod mod-help.o mod-help.c pre-help.o help_mod-commands_help.o def-help.lst und-help.lst
1876 MOSTLYCLEANFILES
+= help_mod-commands_help.d
1877 DEFSYMFILES
+= def-help.lst
1878 UNDSYMFILES
+= und-help.lst
1880 help.mod
: pre-help.o mod-help.o
1882 $(LD
) -r
-d
-o
$@
$^
1883 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1885 pre-help.o
: help_mod-commands_help.o
1887 $(LD
) -r
-d
-o
$@
$^
1889 mod-help.o
: mod-help.c
1890 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
1892 mod-help.c
: moddep.lst genmodsrc.sh
1893 sh
$(srcdir)/genmodsrc.sh
'help' $< > $@ ||
(rm -f
$@
; exit
1)
1895 def-help.lst
: pre-help.o
1896 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 help/' > $@
1898 und-help.lst
: pre-help.o
1900 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1902 help_mod-commands_help.o
: commands
/help.c
1903 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -c
-o
$@
$<
1905 help_mod-commands_help.d
: commands
/help.c
1906 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
$@
1908 -include help_mod-commands_help.d
1910 CLEANFILES
+= cmd-help.lst
1911 COMMANDFILES
+= cmd-help.lst
1913 cmd-help.lst
: commands
/help.c gencmdlist.sh
1914 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(help_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh help.mod
> $@ ||
(rm -f
$@
; exit
1)
1916 help_mod_CFLAGS
= $(COMMON_CFLAGS
)
1919 reboot_mod_SOURCES
= commands
/i386
/pc/reboot.c
1920 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
1921 MOSTLYCLEANFILES
+= reboot_mod-commands_i386_pc_reboot.d
1922 DEFSYMFILES
+= def-reboot.lst
1923 UNDSYMFILES
+= und-reboot.lst
1925 reboot.mod
: pre-reboot.o mod-reboot.o
1927 $(LD
) -r
-d
-o
$@
$^
1928 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1930 pre-reboot.o
: reboot_mod-commands_i386_pc_reboot.o
1932 $(LD
) -r
-d
-o
$@
$^
1934 mod-reboot.o
: mod-reboot.c
1935 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
1937 mod-reboot.c
: moddep.lst genmodsrc.sh
1938 sh
$(srcdir)/genmodsrc.sh
'reboot' $< > $@ ||
(rm -f
$@
; exit
1)
1940 def-reboot.lst
: pre-reboot.o
1941 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
1943 und-reboot.lst
: pre-reboot.o
1945 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1947 reboot_mod-commands_i386_pc_reboot.o
: commands
/i386
/pc/reboot.c
1948 $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
1950 reboot_mod-commands_i386_pc_reboot.d
: commands
/i386
/pc/reboot.c
1951 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
$@
1953 -include reboot_mod-commands_i386_pc_reboot.d
1955 CLEANFILES
+= cmd-reboot.lst
1956 COMMANDFILES
+= cmd-reboot.lst
1958 cmd-reboot.lst
: commands
/i386
/pc/reboot.c gencmdlist.sh
1959 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh reboot.mod
> $@ ||
(rm -f
$@
; exit
1)
1961 reboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
1964 halt_mod_SOURCES
= commands
/i386
/pc/halt.c
1965 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
1966 MOSTLYCLEANFILES
+= halt_mod-commands_i386_pc_halt.d
1967 DEFSYMFILES
+= def-halt.lst
1968 UNDSYMFILES
+= und-halt.lst
1970 halt.mod
: pre-halt.o mod-halt.o
1972 $(LD
) -r
-d
-o
$@
$^
1973 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
1975 pre-halt.o
: halt_mod-commands_i386_pc_halt.o
1977 $(LD
) -r
-d
-o
$@
$^
1979 mod-halt.o
: mod-halt.c
1980 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
1982 mod-halt.c
: moddep.lst genmodsrc.sh
1983 sh
$(srcdir)/genmodsrc.sh
'halt' $< > $@ ||
(rm -f
$@
; exit
1)
1985 def-halt.lst
: pre-halt.o
1986 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 halt/' > $@
1988 und-halt.lst
: pre-halt.o
1990 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1992 halt_mod-commands_i386_pc_halt.o
: commands
/i386
/pc/halt.c
1993 $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
1995 halt_mod-commands_i386_pc_halt.d
: commands
/i386
/pc/halt.c
1996 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
$@
1998 -include halt_mod-commands_i386_pc_halt.d
2000 CLEANFILES
+= cmd-halt.lst
2001 COMMANDFILES
+= cmd-halt.lst
2003 cmd-halt.lst
: commands
/i386
/pc/halt.c gencmdlist.sh
2004 set
-e
; $(CC
) -Icommands
/i386
/pc -I
$(srcdir)/commands
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh halt.mod
> $@ ||
(rm -f
$@
; exit
1)
2006 halt_mod_CFLAGS
= $(COMMON_CFLAGS
)
2009 vga_mod_SOURCES
= term
/i386
/pc/vga.c
2010 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
2011 MOSTLYCLEANFILES
+= vga_mod-term_i386_pc_vga.d
2012 DEFSYMFILES
+= def-vga.lst
2013 UNDSYMFILES
+= und-vga.lst
2015 vga.mod
: pre-vga.o mod-vga.o
2017 $(LD
) -r
-d
-o
$@
$^
2018 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2020 pre-vga.o
: vga_mod-term_i386_pc_vga.o
2022 $(LD
) -r
-d
-o
$@
$^
2024 mod-vga.o
: mod-vga.c
2025 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -c
-o
$@
$<
2027 mod-vga.c
: moddep.lst genmodsrc.sh
2028 sh
$(srcdir)/genmodsrc.sh
'vga' $< > $@ ||
(rm -f
$@
; exit
1)
2030 def-vga.lst
: pre-vga.o
2031 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 vga/' > $@
2033 und-vga.lst
: pre-vga.o
2035 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2037 vga_mod-term_i386_pc_vga.o
: term
/i386
/pc/vga.c
2038 $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -c
-o
$@
$<
2040 vga_mod-term_i386_pc_vga.d
: term
/i386
/pc/vga.c
2041 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
$@
2043 -include vga_mod-term_i386_pc_vga.d
2045 CLEANFILES
+= cmd-vga.lst
2046 COMMANDFILES
+= cmd-vga.lst
2048 cmd-vga.lst
: term
/i386
/pc/vga.c gencmdlist.sh
2049 set
-e
; $(CC
) -Iterm
/i386
/pc -I
$(srcdir)/term
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(vga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh vga.mod
> $@ ||
(rm -f
$@
; exit
1)
2051 vga_mod_CFLAGS
= $(COMMON_CFLAGS
)
2054 font_mod_SOURCES
= font
/manager.c
2055 CLEANFILES
+= font.mod mod-font.o mod-font.c pre-font.o font_mod-font_manager.o def-font.lst und-font.lst
2056 MOSTLYCLEANFILES
+= font_mod-font_manager.d
2057 DEFSYMFILES
+= def-font.lst
2058 UNDSYMFILES
+= und-font.lst
2060 font.mod
: pre-font.o mod-font.o
2062 $(LD
) -r
-d
-o
$@
$^
2063 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2065 pre-font.o
: font_mod-font_manager.o
2067 $(LD
) -r
-d
-o
$@
$^
2069 mod-font.o
: mod-font.c
2070 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
2072 mod-font.c
: moddep.lst genmodsrc.sh
2073 sh
$(srcdir)/genmodsrc.sh
'font' $< > $@ ||
(rm -f
$@
; exit
1)
2075 def-font.lst
: pre-font.o
2076 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 font/' > $@
2078 und-font.lst
: pre-font.o
2080 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2082 font_mod-font_manager.o
: font
/manager.c
2083 $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -c
-o
$@
$<
2085 font_mod-font_manager.d
: font
/manager.c
2086 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
$@
2088 -include font_mod-font_manager.d
2090 CLEANFILES
+= cmd-manager.lst
2091 COMMANDFILES
+= cmd-manager.lst
2093 cmd-manager.lst
: font
/manager.c gencmdlist.sh
2094 set
-e
; $(CC
) -Ifont
-I
$(srcdir)/font
$(CPPFLAGS
) $(CFLAGS
) $(font_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh font.mod
> $@ ||
(rm -f
$@
; exit
1)
2096 font_mod_CFLAGS
= $(COMMON_CFLAGS
)
2098 # For _multiboot.mod.
2099 _multiboot_mod_SOURCES
= loader
/i386
/pc/multiboot.c
2100 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
2101 MOSTLYCLEANFILES
+= _multiboot_mod-loader_i386_pc_multiboot.d
2102 DEFSYMFILES
+= def-_multiboot.lst
2103 UNDSYMFILES
+= und-_multiboot.lst
2105 _multiboot.mod
: pre-_multiboot.o mod-_multiboot.o
2107 $(LD
) -r
-d
-o
$@
$^
2108 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2110 pre-_multiboot.o
: _multiboot_mod-loader_i386_pc_multiboot.o
2112 $(LD
) -r
-d
-o
$@
$^
2114 mod-_multiboot.o
: mod-_multiboot.c
2115 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -c
-o
$@
$<
2117 mod-_multiboot.c
: moddep.lst genmodsrc.sh
2118 sh
$(srcdir)/genmodsrc.sh
'_multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
2120 def-_multiboot.lst
: pre-_multiboot.o
2121 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 _multiboot/' > $@
2123 und-_multiboot.lst
: pre-_multiboot.o
2124 echo
'_multiboot' > $@
2125 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2127 _multiboot_mod-loader_i386_pc_multiboot.o
: loader
/i386
/pc/multiboot.c
2128 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -c
-o
$@
$<
2130 _multiboot_mod-loader_i386_pc_multiboot.d
: loader
/i386
/pc/multiboot.c
2131 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
$@
2133 -include _multiboot_mod-loader_i386_pc_multiboot.d
2135 CLEANFILES
+= cmd-multiboot.lst
2136 COMMANDFILES
+= cmd-multiboot.lst
2138 cmd-multiboot.lst
: loader
/i386
/pc/multiboot.c gencmdlist.sh
2139 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(_multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh _multiboot.mod
> $@ ||
(rm -f
$@
; exit
1)
2141 _multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
2143 # For multiboot.mod.
2144 multiboot_mod_SOURCES
= loader
/i386
/pc/multiboot_normal.c
2145 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
2146 MOSTLYCLEANFILES
+= multiboot_mod-loader_i386_pc_multiboot_normal.d
2147 DEFSYMFILES
+= def-multiboot.lst
2148 UNDSYMFILES
+= und-multiboot.lst
2150 multiboot.mod
: pre-multiboot.o mod-multiboot.o
2152 $(LD
) -r
-d
-o
$@
$^
2153 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2155 pre-multiboot.o
: multiboot_mod-loader_i386_pc_multiboot_normal.o
2157 $(LD
) -r
-d
-o
$@
$^
2159 mod-multiboot.o
: mod-multiboot.c
2160 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -c
-o
$@
$<
2162 mod-multiboot.c
: moddep.lst genmodsrc.sh
2163 sh
$(srcdir)/genmodsrc.sh
'multiboot' $< > $@ ||
(rm -f
$@
; exit
1)
2165 def-multiboot.lst
: pre-multiboot.o
2166 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 multiboot/' > $@
2168 und-multiboot.lst
: pre-multiboot.o
2169 echo
'multiboot' > $@
2170 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2172 multiboot_mod-loader_i386_pc_multiboot_normal.o
: loader
/i386
/pc/multiboot_normal.c
2173 $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -c
-o
$@
$<
2175 multiboot_mod-loader_i386_pc_multiboot_normal.d
: loader
/i386
/pc/multiboot_normal.c
2176 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
$@
2178 -include multiboot_mod-loader_i386_pc_multiboot_normal.d
2180 CLEANFILES
+= cmd-multiboot_normal.lst
2181 COMMANDFILES
+= cmd-multiboot_normal.lst
2183 cmd-multiboot_normal.lst
: loader
/i386
/pc/multiboot_normal.c gencmdlist.sh
2184 set
-e
; $(CC
) -Iloader
/i386
/pc -I
$(srcdir)/loader
/i386
/pc $(CPPFLAGS
) $(CFLAGS
) $(multiboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh multiboot.mod
> $@ ||
(rm -f
$@
; exit
1)
2186 multiboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
2189 amiga_mod_SOURCES
= partmap
/amiga.c
2190 CLEANFILES
+= amiga.mod mod-amiga.o mod-amiga.c pre-amiga.o amiga_mod-partmap_amiga.o def-amiga.lst und-amiga.lst
2191 MOSTLYCLEANFILES
+= amiga_mod-partmap_amiga.d
2192 DEFSYMFILES
+= def-amiga.lst
2193 UNDSYMFILES
+= und-amiga.lst
2195 amiga.mod
: pre-amiga.o mod-amiga.o
2197 $(LD
) -r
-d
-o
$@
$^
2198 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2200 pre-amiga.o
: amiga_mod-partmap_amiga.o
2202 $(LD
) -r
-d
-o
$@
$^
2204 mod-amiga.o
: mod-amiga.c
2205 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
2207 mod-amiga.c
: moddep.lst genmodsrc.sh
2208 sh
$(srcdir)/genmodsrc.sh
'amiga' $< > $@ ||
(rm -f
$@
; exit
1)
2210 def-amiga.lst
: pre-amiga.o
2211 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 amiga/' > $@
2213 und-amiga.lst
: pre-amiga.o
2215 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2217 amiga_mod-partmap_amiga.o
: partmap
/amiga.c
2218 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -c
-o
$@
$<
2220 amiga_mod-partmap_amiga.d
: partmap
/amiga.c
2221 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
$@
2223 -include amiga_mod-partmap_amiga.d
2225 CLEANFILES
+= cmd-amiga.lst
2226 COMMANDFILES
+= cmd-amiga.lst
2228 cmd-amiga.lst
: partmap
/amiga.c gencmdlist.sh
2229 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(amiga_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh amiga.mod
> $@ ||
(rm -f
$@
; exit
1)
2231 amiga_mod_CFLAGS
= $(COMMON_CFLAGS
)
2234 apple_mod_SOURCES
= partmap
/apple.c
2235 CLEANFILES
+= apple.mod mod-apple.o mod-apple.c pre-apple.o apple_mod-partmap_apple.o def-apple.lst und-apple.lst
2236 MOSTLYCLEANFILES
+= apple_mod-partmap_apple.d
2237 DEFSYMFILES
+= def-apple.lst
2238 UNDSYMFILES
+= und-apple.lst
2240 apple.mod
: pre-apple.o mod-apple.o
2242 $(LD
) -r
-d
-o
$@
$^
2243 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2245 pre-apple.o
: apple_mod-partmap_apple.o
2247 $(LD
) -r
-d
-o
$@
$^
2249 mod-apple.o
: mod-apple.c
2250 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
2252 mod-apple.c
: moddep.lst genmodsrc.sh
2253 sh
$(srcdir)/genmodsrc.sh
'apple' $< > $@ ||
(rm -f
$@
; exit
1)
2255 def-apple.lst
: pre-apple.o
2256 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 apple/' > $@
2258 und-apple.lst
: pre-apple.o
2260 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2262 apple_mod-partmap_apple.o
: partmap
/apple.c
2263 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -c
-o
$@
$<
2265 apple_mod-partmap_apple.d
: partmap
/apple.c
2266 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
$@
2268 -include apple_mod-partmap_apple.d
2270 CLEANFILES
+= cmd-apple.lst
2271 COMMANDFILES
+= cmd-apple.lst
2273 cmd-apple.lst
: partmap
/apple.c gencmdlist.sh
2274 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(apple_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh apple.mod
> $@ ||
(rm -f
$@
; exit
1)
2276 apple_mod_CFLAGS
= $(COMMON_CFLAGS
)
2279 pc_mod_SOURCES
= partmap
/pc.c
2280 CLEANFILES
+= pc.mod mod-pc.o mod-pc.c pre-pc.o pc_mod-partmap_pc.o def-pc.lst und-pc.lst
2281 MOSTLYCLEANFILES
+= pc_mod-partmap_pc.d
2282 DEFSYMFILES
+= def-pc.lst
2283 UNDSYMFILES
+= und-pc.lst
2285 pc.mod
: pre-pc.o mod-pc.o
2287 $(LD
) -r
-d
-o
$@
$^
2288 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2290 pre-pc.o
: pc_mod-partmap_pc.o
2292 $(LD
) -r
-d
-o
$@
$^
2295 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
2297 mod-pc.c
: moddep.lst genmodsrc.sh
2298 sh
$(srcdir)/genmodsrc.sh
'pc' $< > $@ ||
(rm -f
$@
; exit
1)
2300 def-pc.lst
: pre-pc.o
2301 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 pc/' > $@
2303 und-pc.lst
: pre-pc.o
2305 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2307 pc_mod-partmap_pc.o
: partmap
/pc.c
2308 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -c
-o
$@
$<
2310 pc_mod-partmap_pc.d
: partmap
/pc.c
2311 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
$@
2313 -include pc_mod-partmap_pc.d
2315 CLEANFILES
+= cmd-pc.lst
2316 COMMANDFILES
+= cmd-pc.lst
2318 cmd-pc.lst
: partmap
/pc.c gencmdlist.sh
2319 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(pc_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh
pc.mod
> $@ ||
(rm -f
$@
; exit
1)
2321 pc_mod_CFLAGS
= $(COMMON_CFLAGS
)
2324 sun_mod_SOURCES
= partmap
/sun.c
2325 CLEANFILES
+= sun.mod mod-sun.o mod-sun.c pre-sun.o sun_mod-partmap_sun.o def-sun.lst und-sun.lst
2326 MOSTLYCLEANFILES
+= sun_mod-partmap_sun.d
2327 DEFSYMFILES
+= def-sun.lst
2328 UNDSYMFILES
+= und-sun.lst
2330 sun.mod
: pre-sun.o mod-sun.o
2332 $(LD
) -r
-d
-o
$@
$^
2333 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2335 pre-sun.o
: sun_mod-partmap_sun.o
2337 $(LD
) -r
-d
-o
$@
$^
2339 mod-sun.o
: mod-sun.c
2340 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
2342 mod-sun.c
: moddep.lst genmodsrc.sh
2343 sh
$(srcdir)/genmodsrc.sh
'sun' $< > $@ ||
(rm -f
$@
; exit
1)
2345 def-sun.lst
: pre-sun.o
2346 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 sun/' > $@
2348 und-sun.lst
: pre-sun.o
2350 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2352 sun_mod-partmap_sun.o
: partmap
/sun.c
2353 $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -c
-o
$@
$<
2355 sun_mod-partmap_sun.d
: partmap
/sun.c
2356 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
$@
2358 -include sun_mod-partmap_sun.d
2360 CLEANFILES
+= cmd-sun.lst
2361 COMMANDFILES
+= cmd-sun.lst
2363 cmd-sun.lst
: partmap
/sun.c gencmdlist.sh
2364 set
-e
; $(CC
) -Ipartmap
-I
$(srcdir)/partmap
$(CPPFLAGS
) $(CFLAGS
) $(sun_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh sun.mod
> $@ ||
(rm -f
$@
; exit
1)
2366 sun_mod_CFLAGS
= $(COMMON_CFLAGS
)
2369 loopback_mod_SOURCES
= disk
/loopback.c
2370 CLEANFILES
+= loopback.mod mod-loopback.o mod-loopback.c pre-loopback.o loopback_mod-disk_loopback.o def-loopback.lst und-loopback.lst
2371 MOSTLYCLEANFILES
+= loopback_mod-disk_loopback.d
2372 DEFSYMFILES
+= def-loopback.lst
2373 UNDSYMFILES
+= und-loopback.lst
2375 loopback.mod
: pre-loopback.o mod-loopback.o
2377 $(LD
) -r
-d
-o
$@
$^
2378 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2380 pre-loopback.o
: loopback_mod-disk_loopback.o
2382 $(LD
) -r
-d
-o
$@
$^
2384 mod-loopback.o
: mod-loopback.c
2385 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
2387 mod-loopback.c
: moddep.lst genmodsrc.sh
2388 sh
$(srcdir)/genmodsrc.sh
'loopback' $< > $@ ||
(rm -f
$@
; exit
1)
2390 def-loopback.lst
: pre-loopback.o
2391 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 loopback/' > $@
2393 und-loopback.lst
: pre-loopback.o
2394 echo
'loopback' > $@
2395 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2397 loopback_mod-disk_loopback.o
: disk
/loopback.c
2398 $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -c
-o
$@
$<
2400 loopback_mod-disk_loopback.d
: disk
/loopback.c
2401 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
$@
2403 -include loopback_mod-disk_loopback.d
2405 CLEANFILES
+= cmd-loopback.lst
2406 COMMANDFILES
+= cmd-loopback.lst
2408 cmd-loopback.lst
: disk
/loopback.c gencmdlist.sh
2409 set
-e
; $(CC
) -Idisk
-I
$(srcdir)/disk
$(CPPFLAGS
) $(CFLAGS
) $(loopback_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh loopback.mod
> $@ ||
(rm -f
$@
; exit
1)
2411 loopback_mod_CFLAGS
= $(COMMON_CFLAGS
)
2414 default_mod_SOURCES
= commands
/default.c
2415 CLEANFILES
+= default.mod mod-default.o mod-default.c pre-default.o default_mod-commands_default.o def-default.lst und-default.lst
2416 MOSTLYCLEANFILES
+= default_mod-commands_default.d
2417 DEFSYMFILES
+= def-default.lst
2418 UNDSYMFILES
+= und-default.lst
2420 default.mod
: pre-default.o mod-default.o
2422 $(LD
) -r
-d
-o
$@
$^
2423 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2425 pre-default.o
: default_mod-commands_default.o
2427 $(LD
) -r
-d
-o
$@
$^
2429 mod-default.o
: mod-default.c
2430 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -c
-o
$@
$<
2432 mod-default.c
: moddep.lst genmodsrc.sh
2433 sh
$(srcdir)/genmodsrc.sh
'default' $< > $@ ||
(rm -f
$@
; exit
1)
2435 def-default.lst
: pre-default.o
2436 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 default/' > $@
2438 und-default.lst
: pre-default.o
2440 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2442 default_mod-commands_default.o
: commands
/default.c
2443 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -c
-o
$@
$<
2445 default_mod-commands_default.d
: commands
/default.c
2446 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
$@
2448 -include default_mod-commands_default.d
2450 CLEANFILES
+= cmd-default.lst
2451 COMMANDFILES
+= cmd-default.lst
2453 cmd-default.lst
: commands
/default.c gencmdlist.sh
2454 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(default_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh default.mod
> $@ ||
(rm -f
$@
; exit
1)
2456 default_mod_CFLAGS
= $(COMMON_CFLAGS
)
2459 timeout_mod_SOURCES
= commands
/timeout.c
2460 CLEANFILES
+= timeout.mod mod-timeout.o mod-timeout.c pre-timeout.o timeout_mod-commands_timeout.o def-timeout.lst und-timeout.lst
2461 MOSTLYCLEANFILES
+= timeout_mod-commands_timeout.d
2462 DEFSYMFILES
+= def-timeout.lst
2463 UNDSYMFILES
+= und-timeout.lst
2465 timeout.mod
: pre-timeout.o mod-timeout.o
2467 $(LD
) -r
-d
-o
$@
$^
2468 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2470 pre-timeout.o
: timeout_mod-commands_timeout.o
2472 $(LD
) -r
-d
-o
$@
$^
2474 mod-timeout.o
: mod-timeout.c
2475 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -c
-o
$@
$<
2477 mod-timeout.c
: moddep.lst genmodsrc.sh
2478 sh
$(srcdir)/genmodsrc.sh
'timeout' $< > $@ ||
(rm -f
$@
; exit
1)
2480 def-timeout.lst
: pre-timeout.o
2481 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 timeout/' > $@
2483 und-timeout.lst
: pre-timeout.o
2485 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2487 timeout_mod-commands_timeout.o
: commands
/timeout.c
2488 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -c
-o
$@
$<
2490 timeout_mod-commands_timeout.d
: commands
/timeout.c
2491 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
$@
2493 -include timeout_mod-commands_timeout.d
2495 CLEANFILES
+= cmd-timeout.lst
2496 COMMANDFILES
+= cmd-timeout.lst
2498 cmd-timeout.lst
: commands
/timeout.c gencmdlist.sh
2499 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(timeout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh timeout.mod
> $@ ||
(rm -f
$@
; exit
1)
2501 timeout_mod_CFLAGS
= $(COMMON_CFLAGS
)
2503 # For configfile.mod
2504 configfile_mod_SOURCES
= commands
/configfile.c
2505 CLEANFILES
+= configfile.mod mod-configfile.o mod-configfile.c pre-configfile.o configfile_mod-commands_configfile.o def-configfile.lst und-configfile.lst
2506 MOSTLYCLEANFILES
+= configfile_mod-commands_configfile.d
2507 DEFSYMFILES
+= def-configfile.lst
2508 UNDSYMFILES
+= und-configfile.lst
2510 configfile.mod
: pre-configfile.o mod-configfile.o
2512 $(LD
) -r
-d
-o
$@
$^
2513 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
2515 pre-configfile.o
: configfile_mod-commands_configfile.o
2517 $(LD
) -r
-d
-o
$@
$^
2519 mod-configfile.o
: mod-configfile.c
2520 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
2522 mod-configfile.c
: moddep.lst genmodsrc.sh
2523 sh
$(srcdir)/genmodsrc.sh
'configfile' $< > $@ ||
(rm -f
$@
; exit
1)
2525 def-configfile.lst
: pre-configfile.o
2526 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 configfile/' > $@
2528 und-configfile.lst
: pre-configfile.o
2529 echo
'configfile' > $@
2530 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
2532 configfile_mod-commands_configfile.o
: commands
/configfile.c
2533 $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -c
-o
$@
$<
2535 configfile_mod-commands_configfile.d
: commands
/configfile.c
2536 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
$@
2538 -include configfile_mod-commands_configfile.d
2540 CLEANFILES
+= cmd-configfile.lst
2541 COMMANDFILES
+= cmd-configfile.lst
2543 cmd-configfile.lst
: commands
/configfile.c gencmdlist.sh
2544 set
-e
; $(CC
) -Icommands
-I
$(srcdir)/commands
$(CPPFLAGS
) $(CFLAGS
) $(configfile_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh configfile.mod
> $@ ||
(rm -f
$@
; exit
1)
2546 configfile_mod_CFLAGS
= $(COMMON_CFLAGS
)
2547 CLEANFILES
+= moddep.lst command.lst
2548 pkgdata_DATA
+= moddep.lst command.lst
2549 moddep.lst
: $(DEFSYMFILES
) $(UNDSYMFILES
) genmoddep
2550 cat
$(DEFSYMFILES
) /dev
/null | .
/genmoddep
$(UNDSYMFILES
) > $@ \
2551 ||
(rm -f
$@
; exit
1)
2553 command.lst
: $(COMMANDFILES
)
2554 cat
$^
/dev
/null |
sort > $@