3 COMMON_ASFLAGS
= -nostdinc
-fno-builtin
-m32
4 COMMON_CFLAGS
= -fno-builtin
-m32
5 COMMON_LDFLAGS
= -melf_i386
-nostdlib
8 bin_UTILITIES
= grub-mkimage
9 #sbin_UTILITIES = grub-setup grub-emu grub-mkdevicemap grub-probefs
10 noinst_UTILITIES
= genmoddep
13 grub_mkimage_SOURCES
= util
/i386
/efi
/grub-mkimage.c util
/misc.c \
15 CLEANFILES
+= grub-mkimage grub_mkimage-util_i386_efi_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
16 MOSTLYCLEANFILES
+= grub_mkimage-util_i386_efi_grub_mkimage.d grub_mkimage-util_misc.d grub_mkimage-util_resolve.d
18 grub-mkimage
: grub_mkimage-util_i386_efi_grub_mkimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o
19 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(grub_mkimage_LDFLAGS
)
21 grub_mkimage-util_i386_efi_grub_mkimage.o
: util
/i386
/efi
/grub-mkimage.c
22 $(BUILD_CC
) -Iutil
/i386
/efi
-I
$(srcdir)/util
/i386
/efi
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
24 grub_mkimage-util_i386_efi_grub_mkimage.d
: util
/i386
/efi
/grub-mkimage.c
25 set
-e
; $(BUILD_CC
) -Iutil
/i386
/efi
-I
$(srcdir)/util
/i386
/efi
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -M
$< | sed
's,grub\-mkimage\.o[ :]*,grub_mkimage-util_i386_efi_grub_mkimage.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
27 -include grub_mkimage-util_i386_efi_grub_mkimage.d
29 grub_mkimage-util_misc.o
: util
/misc.c
30 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
32 grub_mkimage-util_misc.d
: util
/misc.c
33 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
$@
35 -include grub_mkimage-util_misc.d
37 grub_mkimage-util_resolve.o
: util
/resolve.c
38 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(grub_mkimage_CFLAGS
) -c
-o
$@
$<
40 grub_mkimage-util_resolve.d
: util
/resolve.c
41 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
$@
43 -include grub_mkimage-util_resolve.d
47 #grub_setup_SOURCES = util/i386/pc/grub-setup.c util/i386/pc/biosdisk.c \
48 # util/misc.c util/i386/pc/getroot.c kern/device.c kern/disk.c \
49 # kern/err.c kern/misc.c fs/fat.c fs/ext2.c fs/xfs.c fs/affs.c \
50 # fs/sfs.c kern/parser.c kern/partition.c partmap/pc.c \
51 # fs/ufs.c fs/minix.c fs/hfs.c fs/jfs.c fs/hfsplus.c kern/file.c \
52 # kern/fs.c kern/env.c fs/fshelp.c
54 # For grub-mkdevicemap.
55 #grub_mkdevicemap_SOURCES = util/i386/pc/grub-mkdevicemap.c util/misc.c
58 #grub_probefs_SOURCES = util/i386/pc/grub-probefs.c \
59 # util/i386/pc/biosdisk.c util/misc.c util/i386/pc/getroot.c \
60 # kern/device.c kern/disk.c kern/err.c kern/misc.c fs/fat.c \
61 # fs/ext2.c kern/parser.c kern/partition.c partmap/pc.c fs/ufs.c \
62 # fs/minix.c fs/hfs.c fs/jfs.c kern/fs.c kern/env.c fs/fshelp.c \
63 # fs/xfs.c fs/affs.c fs/sfs.c fs/hfsplus.c
66 grub_emu_SOURCES
= commands
/boot.c commands
/cat.c commands
/cmp.c \
67 commands
/configfile.c commands
/default.c commands
/help.c \
68 commands
/terminal.c commands
/ls.c commands
/test.c \
69 commands
/search.c commands
/timeout.c \
70 commands
/i386
/pc/halt.c commands
/i386
/pc/reboot.c \
72 fs
/affs.c fs
/ext2.c fs
/fat.c fs
/fshelp.c fs
/hfs.c fs
/iso9660.c \
73 fs
/jfs.c fs
/minix.c fs
/sfs.c fs
/ufs.c fs
/xfs.c fs
/hfsplus.c \
75 kern
/device.c kern
/disk.c kern
/dl.c kern
/env.c kern
/err.c \
76 normal
/execute.c kern
/file.c kern
/fs.c normal
/lexer.c \
77 kern
/loader.c kern
/main.c kern
/misc.c kern
/parser.c \
78 grub_script.tab.c kern
/partition.c kern
/rescue.c kern
/term.c \
79 normal
/arg.c normal
/cmdline.c normal
/command.c normal
/function.c\
80 normal
/completion.c normal
/context.c normal
/main.c \
81 normal
/menu.c normal
/menu_entry.c normal
/misc.c normal
/script.c \
82 partmap
/amiga.c partmap
/apple.c partmap
/pc.c partmap
/sun.c \
83 partmap
/acorn.c partmap
/gpt.c \
84 util
/console.c util
/grub-emu.c util
/misc.c \
85 util
/i386
/pc/biosdisk.c util
/i386
/pc/getroot.c \
86 util
/i386
/pc/misc.c grub_emu_init.c
88 grub_emu_LDFLAGS
= $(LIBCURSES
)
91 genmoddep_SOURCES
= util
/genmoddep.c
92 CLEANFILES
+= genmoddep genmoddep-util_genmoddep.o
93 MOSTLYCLEANFILES
+= genmoddep-util_genmoddep.d
95 genmoddep
: genmoddep-util_genmoddep.o
96 $(BUILD_CC
) -o
$@
$^
$(BUILD_LDFLAGS
) $(genmoddep_LDFLAGS
)
98 genmoddep-util_genmoddep.o
: util
/genmoddep.c
99 $(BUILD_CC
) -Iutil
-I
$(srcdir)/util
$(BUILD_CPPFLAGS
) $(BUILD_CFLAGS
) -DGRUB_UTIL
=1 $(genmoddep_CFLAGS
) -c
-o
$@
$<
101 genmoddep-util_genmoddep.d
: util
/genmoddep.c
102 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
$@
104 -include genmoddep-util_genmoddep.d
108 #sbin_SCRIPTS = grub-install
111 #grub_install_SOURCES = util/efi/pc/grub-install.in
114 pkgdata_MODULES
= kernel.mod normal.mod
117 kernel_mod_EXPORTS
= no
118 kernel_mod_SOURCES
= kern
/i386
/efi
/startup.S kern
/main.c kern
/device.c \
119 kern
/disk.c kern
/dl.c kern
/file.c kern
/fs.c kern
/err.c \
120 kern
/misc.c kern
/mm.c kern
/loader.c kern
/rescue.c kern
/term.c \
121 kern
/i386
/dl.c kern
/i386
/efi
/init.c kern
/parser.c kern
/partition.c \
122 kern
/env.c symlist.c kern
/efi
/efi.c kern
/efi
/init.c kern
/efi
/mm.c \
124 CLEANFILES
+= kernel.mod mod-kernel.o mod-kernel.c pre-kernel.o kernel_mod-kern_i386_efi_startup.o kernel_mod-kern_main.o kernel_mod-kern_device.o kernel_mod-kern_disk.o kernel_mod-kern_dl.o kernel_mod-kern_file.o kernel_mod-kern_fs.o kernel_mod-kern_err.o kernel_mod-kern_misc.o kernel_mod-kern_mm.o kernel_mod-kern_loader.o kernel_mod-kern_rescue.o kernel_mod-kern_term.o kernel_mod-kern_i386_dl.o kernel_mod-kern_i386_efi_init.o kernel_mod-kern_parser.o kernel_mod-kern_partition.o kernel_mod-kern_env.o kernel_mod-symlist.o kernel_mod-kern_efi_efi.o kernel_mod-kern_efi_init.o kernel_mod-kern_efi_mm.o kernel_mod-term_efi_console.o und-kernel.lst
125 ifneq ($(kernel_mod_EXPORTS
),no
)
126 CLEANFILES
+= def-kernel.lst
127 DEFSYMFILES
+= def-kernel.lst
129 MOSTLYCLEANFILES
+= kernel_mod-kern_i386_efi_startup.d kernel_mod-kern_main.d kernel_mod-kern_device.d kernel_mod-kern_disk.d kernel_mod-kern_dl.d kernel_mod-kern_file.d kernel_mod-kern_fs.d kernel_mod-kern_err.d kernel_mod-kern_misc.d kernel_mod-kern_mm.d kernel_mod-kern_loader.d kernel_mod-kern_rescue.d kernel_mod-kern_term.d kernel_mod-kern_i386_dl.d kernel_mod-kern_i386_efi_init.d kernel_mod-kern_parser.d kernel_mod-kern_partition.d kernel_mod-kern_env.d kernel_mod-symlist.d kernel_mod-kern_efi_efi.d kernel_mod-kern_efi_init.d kernel_mod-kern_efi_mm.d kernel_mod-term_efi_console.d
130 UNDSYMFILES
+= und-kernel.lst
132 kernel.mod
: pre-kernel.o mod-kernel.o
134 $(CC
) $(kernel_mod_LDFLAGS
) $(LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
135 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
137 pre-kernel.o
: kernel_mod-kern_i386_efi_startup.o kernel_mod-kern_main.o kernel_mod-kern_device.o kernel_mod-kern_disk.o kernel_mod-kern_dl.o kernel_mod-kern_file.o kernel_mod-kern_fs.o kernel_mod-kern_err.o kernel_mod-kern_misc.o kernel_mod-kern_mm.o kernel_mod-kern_loader.o kernel_mod-kern_rescue.o kernel_mod-kern_term.o kernel_mod-kern_i386_dl.o kernel_mod-kern_i386_efi_init.o kernel_mod-kern_parser.o kernel_mod-kern_partition.o kernel_mod-kern_env.o kernel_mod-symlist.o kernel_mod-kern_efi_efi.o kernel_mod-kern_efi_init.o kernel_mod-kern_efi_mm.o kernel_mod-term_efi_console.o
139 $(CC
) $(kernel_mod_LDFLAGS
) $(LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
141 mod-kernel.o
: mod-kernel.c
142 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
144 mod-kernel.c
: moddep.lst genmodsrc.sh
145 sh
$(srcdir)/genmodsrc.sh
'kernel' $< > $@ ||
(rm -f
$@
; exit
1)
147 ifneq ($(kernel_mod_EXPORTS
),no
)
148 def-kernel.lst
: pre-kernel.o
149 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 kernel/' > $@
152 und-kernel.lst
: pre-kernel.o
154 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
156 kernel_mod-kern_i386_efi_startup.o
: kern
/i386
/efi
/startup.S
157 $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(ASFLAGS
) $(kernel_mod_ASFLAGS
) -c
-o
$@
$<
159 kernel_mod-kern_i386_efi_startup.d
: kern
/i386
/efi
/startup.S
160 set
-e
; $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(ASFLAGS
) $(kernel_mod_ASFLAGS
) -M
$< | sed
's,startup\.o[ :]*,kernel_mod-kern_i386_efi_startup.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
162 -include kernel_mod-kern_i386_efi_startup.d
164 CLEANFILES
+= cmd-kernel_mod-kern_i386_efi_startup.lst fs-kernel_mod-kern_i386_efi_startup.lst
165 COMMANDFILES
+= cmd-kernel_mod-kern_i386_efi_startup.lst
166 FSFILES
+= fs-kernel_mod-kern_i386_efi_startup.lst
168 cmd-kernel_mod-kern_i386_efi_startup.lst
: kern
/i386
/efi
/startup.S gencmdlist.sh
169 set
-e
; $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(ASFLAGS
) $(kernel_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
171 fs-kernel_mod-kern_i386_efi_startup.lst
: kern
/i386
/efi
/startup.S genfslist.sh
172 set
-e
; $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(ASFLAGS
) $(kernel_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
175 kernel_mod-kern_main.o
: kern
/main.c
176 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
178 kernel_mod-kern_main.d
: kern
/main.c
179 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,main\.o[ :]*,kernel_mod-kern_main.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
181 -include kernel_mod-kern_main.d
183 CLEANFILES
+= cmd-kernel_mod-kern_main.lst fs-kernel_mod-kern_main.lst
184 COMMANDFILES
+= cmd-kernel_mod-kern_main.lst
185 FSFILES
+= fs-kernel_mod-kern_main.lst
187 cmd-kernel_mod-kern_main.lst
: kern
/main.c gencmdlist.sh
188 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
190 fs-kernel_mod-kern_main.lst
: kern
/main.c genfslist.sh
191 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
194 kernel_mod-kern_device.o
: kern
/device.c
195 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
197 kernel_mod-kern_device.d
: kern
/device.c
198 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,device\.o[ :]*,kernel_mod-kern_device.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
200 -include kernel_mod-kern_device.d
202 CLEANFILES
+= cmd-kernel_mod-kern_device.lst fs-kernel_mod-kern_device.lst
203 COMMANDFILES
+= cmd-kernel_mod-kern_device.lst
204 FSFILES
+= fs-kernel_mod-kern_device.lst
206 cmd-kernel_mod-kern_device.lst
: kern
/device.c gencmdlist.sh
207 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
209 fs-kernel_mod-kern_device.lst
: kern
/device.c genfslist.sh
210 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
213 kernel_mod-kern_disk.o
: kern
/disk.c
214 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
216 kernel_mod-kern_disk.d
: kern
/disk.c
217 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,disk\.o[ :]*,kernel_mod-kern_disk.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
219 -include kernel_mod-kern_disk.d
221 CLEANFILES
+= cmd-kernel_mod-kern_disk.lst fs-kernel_mod-kern_disk.lst
222 COMMANDFILES
+= cmd-kernel_mod-kern_disk.lst
223 FSFILES
+= fs-kernel_mod-kern_disk.lst
225 cmd-kernel_mod-kern_disk.lst
: kern
/disk.c gencmdlist.sh
226 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
228 fs-kernel_mod-kern_disk.lst
: kern
/disk.c genfslist.sh
229 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
232 kernel_mod-kern_dl.o
: kern
/dl.c
233 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
235 kernel_mod-kern_dl.d
: kern
/dl.c
236 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,dl\.o[ :]*,kernel_mod-kern_dl.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
238 -include kernel_mod-kern_dl.d
240 CLEANFILES
+= cmd-kernel_mod-kern_dl.lst fs-kernel_mod-kern_dl.lst
241 COMMANDFILES
+= cmd-kernel_mod-kern_dl.lst
242 FSFILES
+= fs-kernel_mod-kern_dl.lst
244 cmd-kernel_mod-kern_dl.lst
: kern
/dl.c gencmdlist.sh
245 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
247 fs-kernel_mod-kern_dl.lst
: kern
/dl.c genfslist.sh
248 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
251 kernel_mod-kern_file.o
: kern
/file.c
252 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
254 kernel_mod-kern_file.d
: kern
/file.c
255 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,file\.o[ :]*,kernel_mod-kern_file.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
257 -include kernel_mod-kern_file.d
259 CLEANFILES
+= cmd-kernel_mod-kern_file.lst fs-kernel_mod-kern_file.lst
260 COMMANDFILES
+= cmd-kernel_mod-kern_file.lst
261 FSFILES
+= fs-kernel_mod-kern_file.lst
263 cmd-kernel_mod-kern_file.lst
: kern
/file.c gencmdlist.sh
264 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
266 fs-kernel_mod-kern_file.lst
: kern
/file.c genfslist.sh
267 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
270 kernel_mod-kern_fs.o
: kern
/fs.c
271 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
273 kernel_mod-kern_fs.d
: kern
/fs.c
274 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,fs\.o[ :]*,kernel_mod-kern_fs.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
276 -include kernel_mod-kern_fs.d
278 CLEANFILES
+= cmd-kernel_mod-kern_fs.lst fs-kernel_mod-kern_fs.lst
279 COMMANDFILES
+= cmd-kernel_mod-kern_fs.lst
280 FSFILES
+= fs-kernel_mod-kern_fs.lst
282 cmd-kernel_mod-kern_fs.lst
: kern
/fs.c gencmdlist.sh
283 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
285 fs-kernel_mod-kern_fs.lst
: kern
/fs.c genfslist.sh
286 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
289 kernel_mod-kern_err.o
: kern
/err.c
290 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
292 kernel_mod-kern_err.d
: kern
/err.c
293 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,err\.o[ :]*,kernel_mod-kern_err.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
295 -include kernel_mod-kern_err.d
297 CLEANFILES
+= cmd-kernel_mod-kern_err.lst fs-kernel_mod-kern_err.lst
298 COMMANDFILES
+= cmd-kernel_mod-kern_err.lst
299 FSFILES
+= fs-kernel_mod-kern_err.lst
301 cmd-kernel_mod-kern_err.lst
: kern
/err.c gencmdlist.sh
302 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
304 fs-kernel_mod-kern_err.lst
: kern
/err.c genfslist.sh
305 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
308 kernel_mod-kern_misc.o
: kern
/misc.c
309 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
311 kernel_mod-kern_misc.d
: kern
/misc.c
312 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,kernel_mod-kern_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
314 -include kernel_mod-kern_misc.d
316 CLEANFILES
+= cmd-kernel_mod-kern_misc.lst fs-kernel_mod-kern_misc.lst
317 COMMANDFILES
+= cmd-kernel_mod-kern_misc.lst
318 FSFILES
+= fs-kernel_mod-kern_misc.lst
320 cmd-kernel_mod-kern_misc.lst
: kern
/misc.c gencmdlist.sh
321 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
323 fs-kernel_mod-kern_misc.lst
: kern
/misc.c genfslist.sh
324 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
327 kernel_mod-kern_mm.o
: kern
/mm.c
328 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
330 kernel_mod-kern_mm.d
: kern
/mm.c
331 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,mm\.o[ :]*,kernel_mod-kern_mm.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
333 -include kernel_mod-kern_mm.d
335 CLEANFILES
+= cmd-kernel_mod-kern_mm.lst fs-kernel_mod-kern_mm.lst
336 COMMANDFILES
+= cmd-kernel_mod-kern_mm.lst
337 FSFILES
+= fs-kernel_mod-kern_mm.lst
339 cmd-kernel_mod-kern_mm.lst
: kern
/mm.c gencmdlist.sh
340 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
342 fs-kernel_mod-kern_mm.lst
: kern
/mm.c genfslist.sh
343 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
346 kernel_mod-kern_loader.o
: kern
/loader.c
347 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
349 kernel_mod-kern_loader.d
: kern
/loader.c
350 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,loader\.o[ :]*,kernel_mod-kern_loader.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
352 -include kernel_mod-kern_loader.d
354 CLEANFILES
+= cmd-kernel_mod-kern_loader.lst fs-kernel_mod-kern_loader.lst
355 COMMANDFILES
+= cmd-kernel_mod-kern_loader.lst
356 FSFILES
+= fs-kernel_mod-kern_loader.lst
358 cmd-kernel_mod-kern_loader.lst
: kern
/loader.c gencmdlist.sh
359 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
361 fs-kernel_mod-kern_loader.lst
: kern
/loader.c genfslist.sh
362 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
365 kernel_mod-kern_rescue.o
: kern
/rescue.c
366 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
368 kernel_mod-kern_rescue.d
: kern
/rescue.c
369 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,rescue\.o[ :]*,kernel_mod-kern_rescue.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
371 -include kernel_mod-kern_rescue.d
373 CLEANFILES
+= cmd-kernel_mod-kern_rescue.lst fs-kernel_mod-kern_rescue.lst
374 COMMANDFILES
+= cmd-kernel_mod-kern_rescue.lst
375 FSFILES
+= fs-kernel_mod-kern_rescue.lst
377 cmd-kernel_mod-kern_rescue.lst
: kern
/rescue.c gencmdlist.sh
378 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
380 fs-kernel_mod-kern_rescue.lst
: kern
/rescue.c genfslist.sh
381 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
384 kernel_mod-kern_term.o
: kern
/term.c
385 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
387 kernel_mod-kern_term.d
: kern
/term.c
388 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,term\.o[ :]*,kernel_mod-kern_term.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
390 -include kernel_mod-kern_term.d
392 CLEANFILES
+= cmd-kernel_mod-kern_term.lst fs-kernel_mod-kern_term.lst
393 COMMANDFILES
+= cmd-kernel_mod-kern_term.lst
394 FSFILES
+= fs-kernel_mod-kern_term.lst
396 cmd-kernel_mod-kern_term.lst
: kern
/term.c gencmdlist.sh
397 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
399 fs-kernel_mod-kern_term.lst
: kern
/term.c genfslist.sh
400 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
403 kernel_mod-kern_i386_dl.o
: kern
/i386
/dl.c
404 $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
406 kernel_mod-kern_i386_dl.d
: kern
/i386
/dl.c
407 set
-e
; $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,dl\.o[ :]*,kernel_mod-kern_i386_dl.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
409 -include kernel_mod-kern_i386_dl.d
411 CLEANFILES
+= cmd-kernel_mod-kern_i386_dl.lst fs-kernel_mod-kern_i386_dl.lst
412 COMMANDFILES
+= cmd-kernel_mod-kern_i386_dl.lst
413 FSFILES
+= fs-kernel_mod-kern_i386_dl.lst
415 cmd-kernel_mod-kern_i386_dl.lst
: kern
/i386
/dl.c gencmdlist.sh
416 set
-e
; $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
418 fs-kernel_mod-kern_i386_dl.lst
: kern
/i386
/dl.c genfslist.sh
419 set
-e
; $(CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
422 kernel_mod-kern_i386_efi_init.o
: kern
/i386
/efi
/init.c
423 $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
425 kernel_mod-kern_i386_efi_init.d
: kern
/i386
/efi
/init.c
426 set
-e
; $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,init\.o[ :]*,kernel_mod-kern_i386_efi_init.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
428 -include kernel_mod-kern_i386_efi_init.d
430 CLEANFILES
+= cmd-kernel_mod-kern_i386_efi_init.lst fs-kernel_mod-kern_i386_efi_init.lst
431 COMMANDFILES
+= cmd-kernel_mod-kern_i386_efi_init.lst
432 FSFILES
+= fs-kernel_mod-kern_i386_efi_init.lst
434 cmd-kernel_mod-kern_i386_efi_init.lst
: kern
/i386
/efi
/init.c gencmdlist.sh
435 set
-e
; $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
437 fs-kernel_mod-kern_i386_efi_init.lst
: kern
/i386
/efi
/init.c genfslist.sh
438 set
-e
; $(CC
) -Ikern
/i386
/efi
-I
$(srcdir)/kern
/i386
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
441 kernel_mod-kern_parser.o
: kern
/parser.c
442 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
444 kernel_mod-kern_parser.d
: kern
/parser.c
445 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,parser\.o[ :]*,kernel_mod-kern_parser.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
447 -include kernel_mod-kern_parser.d
449 CLEANFILES
+= cmd-kernel_mod-kern_parser.lst fs-kernel_mod-kern_parser.lst
450 COMMANDFILES
+= cmd-kernel_mod-kern_parser.lst
451 FSFILES
+= fs-kernel_mod-kern_parser.lst
453 cmd-kernel_mod-kern_parser.lst
: kern
/parser.c gencmdlist.sh
454 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
456 fs-kernel_mod-kern_parser.lst
: kern
/parser.c genfslist.sh
457 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
460 kernel_mod-kern_partition.o
: kern
/partition.c
461 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
463 kernel_mod-kern_partition.d
: kern
/partition.c
464 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,partition\.o[ :]*,kernel_mod-kern_partition.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
466 -include kernel_mod-kern_partition.d
468 CLEANFILES
+= cmd-kernel_mod-kern_partition.lst fs-kernel_mod-kern_partition.lst
469 COMMANDFILES
+= cmd-kernel_mod-kern_partition.lst
470 FSFILES
+= fs-kernel_mod-kern_partition.lst
472 cmd-kernel_mod-kern_partition.lst
: kern
/partition.c gencmdlist.sh
473 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
475 fs-kernel_mod-kern_partition.lst
: kern
/partition.c genfslist.sh
476 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
479 kernel_mod-kern_env.o
: kern
/env.c
480 $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
482 kernel_mod-kern_env.d
: kern
/env.c
483 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,env\.o[ :]*,kernel_mod-kern_env.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
485 -include kernel_mod-kern_env.d
487 CLEANFILES
+= cmd-kernel_mod-kern_env.lst fs-kernel_mod-kern_env.lst
488 COMMANDFILES
+= cmd-kernel_mod-kern_env.lst
489 FSFILES
+= fs-kernel_mod-kern_env.lst
491 cmd-kernel_mod-kern_env.lst
: kern
/env.c gencmdlist.sh
492 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
494 fs-kernel_mod-kern_env.lst
: kern
/env.c genfslist.sh
495 set
-e
; $(CC
) -Ikern
-I
$(srcdir)/kern
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
498 kernel_mod-symlist.o
: symlist.c
499 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
501 kernel_mod-symlist.d
: symlist.c
502 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,symlist\.o[ :]*,kernel_mod-symlist.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
504 -include kernel_mod-symlist.d
506 CLEANFILES
+= cmd-kernel_mod-symlist.lst fs-kernel_mod-symlist.lst
507 COMMANDFILES
+= cmd-kernel_mod-symlist.lst
508 FSFILES
+= fs-kernel_mod-symlist.lst
510 cmd-kernel_mod-symlist.lst
: symlist.c gencmdlist.sh
511 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
513 fs-kernel_mod-symlist.lst
: symlist.c genfslist.sh
514 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
517 kernel_mod-kern_efi_efi.o
: kern
/efi
/efi.c
518 $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
520 kernel_mod-kern_efi_efi.d
: kern
/efi
/efi.c
521 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,efi\.o[ :]*,kernel_mod-kern_efi_efi.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
523 -include kernel_mod-kern_efi_efi.d
525 CLEANFILES
+= cmd-kernel_mod-kern_efi_efi.lst fs-kernel_mod-kern_efi_efi.lst
526 COMMANDFILES
+= cmd-kernel_mod-kern_efi_efi.lst
527 FSFILES
+= fs-kernel_mod-kern_efi_efi.lst
529 cmd-kernel_mod-kern_efi_efi.lst
: kern
/efi
/efi.c gencmdlist.sh
530 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
532 fs-kernel_mod-kern_efi_efi.lst
: kern
/efi
/efi.c genfslist.sh
533 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
536 kernel_mod-kern_efi_init.o
: kern
/efi
/init.c
537 $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
539 kernel_mod-kern_efi_init.d
: kern
/efi
/init.c
540 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,init\.o[ :]*,kernel_mod-kern_efi_init.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
542 -include kernel_mod-kern_efi_init.d
544 CLEANFILES
+= cmd-kernel_mod-kern_efi_init.lst fs-kernel_mod-kern_efi_init.lst
545 COMMANDFILES
+= cmd-kernel_mod-kern_efi_init.lst
546 FSFILES
+= fs-kernel_mod-kern_efi_init.lst
548 cmd-kernel_mod-kern_efi_init.lst
: kern
/efi
/init.c gencmdlist.sh
549 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
551 fs-kernel_mod-kern_efi_init.lst
: kern
/efi
/init.c genfslist.sh
552 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
555 kernel_mod-kern_efi_mm.o
: kern
/efi
/mm.c
556 $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
558 kernel_mod-kern_efi_mm.d
: kern
/efi
/mm.c
559 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,mm\.o[ :]*,kernel_mod-kern_efi_mm.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
561 -include kernel_mod-kern_efi_mm.d
563 CLEANFILES
+= cmd-kernel_mod-kern_efi_mm.lst fs-kernel_mod-kern_efi_mm.lst
564 COMMANDFILES
+= cmd-kernel_mod-kern_efi_mm.lst
565 FSFILES
+= fs-kernel_mod-kern_efi_mm.lst
567 cmd-kernel_mod-kern_efi_mm.lst
: kern
/efi
/mm.c gencmdlist.sh
568 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
570 fs-kernel_mod-kern_efi_mm.lst
: kern
/efi
/mm.c genfslist.sh
571 set
-e
; $(CC
) -Ikern
/efi
-I
$(srcdir)/kern
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
574 kernel_mod-term_efi_console.o
: term
/efi
/console.c
575 $(CC
) -Iterm
/efi
-I
$(srcdir)/term
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -c
-o
$@
$<
577 kernel_mod-term_efi_console.d
: term
/efi
/console.c
578 set
-e
; $(CC
) -Iterm
/efi
-I
$(srcdir)/term
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -M
$< | sed
's,console\.o[ :]*,kernel_mod-term_efi_console.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
580 -include kernel_mod-term_efi_console.d
582 CLEANFILES
+= cmd-kernel_mod-term_efi_console.lst fs-kernel_mod-term_efi_console.lst
583 COMMANDFILES
+= cmd-kernel_mod-term_efi_console.lst
584 FSFILES
+= fs-kernel_mod-term_efi_console.lst
586 cmd-kernel_mod-term_efi_console.lst
: term
/efi
/console.c gencmdlist.sh
587 set
-e
; $(CC
) -Iterm
/efi
-I
$(srcdir)/term
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
589 fs-kernel_mod-term_efi_console.lst
: term
/efi
/console.c genfslist.sh
590 set
-e
; $(CC
) -Iterm
/efi
-I
$(srcdir)/term
/efi
$(CPPFLAGS
) $(CFLAGS
) $(kernel_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh kernel
> $@ ||
(rm -f
$@
; exit
1)
593 kernel_mod_HEADERS
= arg.h boot.h device.h disk.h dl.h elf.h env.h err.h \
594 file.h fs.h kernel.h loader.h misc.h mm.h net.h parser.h partition.h \
595 pc_partition.h rescue.h symbol.h term.h types.h \
596 i386
/efi
/time.h efi
/efi.h efi
/time.h
597 kernel_mod_CFLAGS
= $(COMMON_CFLAGS
)
598 kernel_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
599 kernel_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
601 MOSTLYCLEANFILES
+= symlist.c
602 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
603 DEFSYMFILES
+= kernel_syms.lst
605 symlist.c
: $(addprefix include/grub
/,$(kernel_mod_HEADERS
)) gensymlist.sh
606 sh
$(srcdir)/gensymlist.sh
$(filter %.h
,$^
) > $@
608 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_mod_HEADERS
)) genkernsyms.sh
609 sh
$(srcdir)/genkernsyms.sh
$(filter %.h
,$^
) > $@
612 normal_mod_SOURCES
= normal
/arg.c normal
/cmdline.c normal
/command.c \
613 normal
/completion.c normal
/context.c normal
/execute.c \
614 normal
/function.c normal
/lexer.c normal
/main.c normal
/menu.c \
615 normal
/menu_entry.c normal
/misc.c grub_script.tab.c \
616 normal
/script.c normal
/i386
/setjmp.S
617 CLEANFILES
+= normal.mod mod-normal.o mod-normal.c pre-normal.o normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_context.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o und-normal.lst
618 ifneq ($(normal_mod_EXPORTS
),no
)
619 CLEANFILES
+= def-normal.lst
620 DEFSYMFILES
+= def-normal.lst
622 MOSTLYCLEANFILES
+= normal_mod-normal_arg.d normal_mod-normal_cmdline.d normal_mod-normal_command.d normal_mod-normal_completion.d normal_mod-normal_context.d normal_mod-normal_execute.d normal_mod-normal_function.d normal_mod-normal_lexer.d normal_mod-normal_main.d normal_mod-normal_menu.d normal_mod-normal_menu_entry.d normal_mod-normal_misc.d normal_mod-grub_script_tab.d normal_mod-normal_script.d normal_mod-normal_i386_setjmp.d
623 UNDSYMFILES
+= und-normal.lst
625 normal.mod
: pre-normal.o mod-normal.o
627 $(CC
) $(normal_mod_LDFLAGS
) $(LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
628 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-R .note
-R .comment
$@
630 pre-normal.o
: normal_mod-normal_arg.o normal_mod-normal_cmdline.o normal_mod-normal_command.o normal_mod-normal_completion.o normal_mod-normal_context.o normal_mod-normal_execute.o normal_mod-normal_function.o normal_mod-normal_lexer.o normal_mod-normal_main.o normal_mod-normal_menu.o normal_mod-normal_menu_entry.o normal_mod-normal_misc.o normal_mod-grub_script_tab.o normal_mod-normal_script.o normal_mod-normal_i386_setjmp.o
632 $(CC
) $(normal_mod_LDFLAGS
) $(LDFLAGS
) -Wl
,-r
,-d
-o
$@
$^
634 mod-normal.o
: mod-normal.c
635 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
637 mod-normal.c
: moddep.lst genmodsrc.sh
638 sh
$(srcdir)/genmodsrc.sh
'normal' $< > $@ ||
(rm -f
$@
; exit
1)
640 ifneq ($(normal_mod_EXPORTS
),no
)
641 def-normal.lst
: pre-normal.o
642 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 normal/' > $@
645 und-normal.lst
: pre-normal.o
647 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
649 normal_mod-normal_arg.o
: normal
/arg.c
650 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
652 normal_mod-normal_arg.d
: normal
/arg.c
653 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
$@
655 -include normal_mod-normal_arg.d
657 CLEANFILES
+= cmd-normal_mod-normal_arg.lst fs-normal_mod-normal_arg.lst
658 COMMANDFILES
+= cmd-normal_mod-normal_arg.lst
659 FSFILES
+= fs-normal_mod-normal_arg.lst
661 cmd-normal_mod-normal_arg.lst
: normal
/arg.c gencmdlist.sh
662 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
664 fs-normal_mod-normal_arg.lst
: normal
/arg.c genfslist.sh
665 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
668 normal_mod-normal_cmdline.o
: normal
/cmdline.c
669 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
671 normal_mod-normal_cmdline.d
: normal
/cmdline.c
672 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
$@
674 -include normal_mod-normal_cmdline.d
676 CLEANFILES
+= cmd-normal_mod-normal_cmdline.lst fs-normal_mod-normal_cmdline.lst
677 COMMANDFILES
+= cmd-normal_mod-normal_cmdline.lst
678 FSFILES
+= fs-normal_mod-normal_cmdline.lst
680 cmd-normal_mod-normal_cmdline.lst
: normal
/cmdline.c gencmdlist.sh
681 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
683 fs-normal_mod-normal_cmdline.lst
: normal
/cmdline.c genfslist.sh
684 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
687 normal_mod-normal_command.o
: normal
/command.c
688 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
690 normal_mod-normal_command.d
: normal
/command.c
691 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
$@
693 -include normal_mod-normal_command.d
695 CLEANFILES
+= cmd-normal_mod-normal_command.lst fs-normal_mod-normal_command.lst
696 COMMANDFILES
+= cmd-normal_mod-normal_command.lst
697 FSFILES
+= fs-normal_mod-normal_command.lst
699 cmd-normal_mod-normal_command.lst
: normal
/command.c gencmdlist.sh
700 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
702 fs-normal_mod-normal_command.lst
: normal
/command.c genfslist.sh
703 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
706 normal_mod-normal_completion.o
: normal
/completion.c
707 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
709 normal_mod-normal_completion.d
: normal
/completion.c
710 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,completion\.o[ :]*,normal_mod-normal_completion.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
712 -include normal_mod-normal_completion.d
714 CLEANFILES
+= cmd-normal_mod-normal_completion.lst fs-normal_mod-normal_completion.lst
715 COMMANDFILES
+= cmd-normal_mod-normal_completion.lst
716 FSFILES
+= fs-normal_mod-normal_completion.lst
718 cmd-normal_mod-normal_completion.lst
: normal
/completion.c gencmdlist.sh
719 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
721 fs-normal_mod-normal_completion.lst
: normal
/completion.c genfslist.sh
722 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
725 normal_mod-normal_context.o
: normal
/context.c
726 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
728 normal_mod-normal_context.d
: normal
/context.c
729 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
$@
731 -include normal_mod-normal_context.d
733 CLEANFILES
+= cmd-normal_mod-normal_context.lst fs-normal_mod-normal_context.lst
734 COMMANDFILES
+= cmd-normal_mod-normal_context.lst
735 FSFILES
+= fs-normal_mod-normal_context.lst
737 cmd-normal_mod-normal_context.lst
: normal
/context.c gencmdlist.sh
738 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
740 fs-normal_mod-normal_context.lst
: normal
/context.c genfslist.sh
741 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
744 normal_mod-normal_execute.o
: normal
/execute.c
745 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
747 normal_mod-normal_execute.d
: normal
/execute.c
748 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,execute\.o[ :]*,normal_mod-normal_execute.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
750 -include normal_mod-normal_execute.d
752 CLEANFILES
+= cmd-normal_mod-normal_execute.lst fs-normal_mod-normal_execute.lst
753 COMMANDFILES
+= cmd-normal_mod-normal_execute.lst
754 FSFILES
+= fs-normal_mod-normal_execute.lst
756 cmd-normal_mod-normal_execute.lst
: normal
/execute.c gencmdlist.sh
757 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
759 fs-normal_mod-normal_execute.lst
: normal
/execute.c genfslist.sh
760 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
763 normal_mod-normal_function.o
: normal
/function.c
764 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
766 normal_mod-normal_function.d
: normal
/function.c
767 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,function\.o[ :]*,normal_mod-normal_function.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
769 -include normal_mod-normal_function.d
771 CLEANFILES
+= cmd-normal_mod-normal_function.lst fs-normal_mod-normal_function.lst
772 COMMANDFILES
+= cmd-normal_mod-normal_function.lst
773 FSFILES
+= fs-normal_mod-normal_function.lst
775 cmd-normal_mod-normal_function.lst
: normal
/function.c gencmdlist.sh
776 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
778 fs-normal_mod-normal_function.lst
: normal
/function.c genfslist.sh
779 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
782 normal_mod-normal_lexer.o
: normal
/lexer.c
783 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
785 normal_mod-normal_lexer.d
: normal
/lexer.c
786 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,lexer\.o[ :]*,normal_mod-normal_lexer.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
788 -include normal_mod-normal_lexer.d
790 CLEANFILES
+= cmd-normal_mod-normal_lexer.lst fs-normal_mod-normal_lexer.lst
791 COMMANDFILES
+= cmd-normal_mod-normal_lexer.lst
792 FSFILES
+= fs-normal_mod-normal_lexer.lst
794 cmd-normal_mod-normal_lexer.lst
: normal
/lexer.c gencmdlist.sh
795 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
797 fs-normal_mod-normal_lexer.lst
: normal
/lexer.c genfslist.sh
798 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
801 normal_mod-normal_main.o
: normal
/main.c
802 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
804 normal_mod-normal_main.d
: normal
/main.c
805 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
$@
807 -include normal_mod-normal_main.d
809 CLEANFILES
+= cmd-normal_mod-normal_main.lst fs-normal_mod-normal_main.lst
810 COMMANDFILES
+= cmd-normal_mod-normal_main.lst
811 FSFILES
+= fs-normal_mod-normal_main.lst
813 cmd-normal_mod-normal_main.lst
: normal
/main.c gencmdlist.sh
814 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
816 fs-normal_mod-normal_main.lst
: normal
/main.c genfslist.sh
817 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
820 normal_mod-normal_menu.o
: normal
/menu.c
821 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
823 normal_mod-normal_menu.d
: normal
/menu.c
824 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
$@
826 -include normal_mod-normal_menu.d
828 CLEANFILES
+= cmd-normal_mod-normal_menu.lst fs-normal_mod-normal_menu.lst
829 COMMANDFILES
+= cmd-normal_mod-normal_menu.lst
830 FSFILES
+= fs-normal_mod-normal_menu.lst
832 cmd-normal_mod-normal_menu.lst
: normal
/menu.c gencmdlist.sh
833 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
835 fs-normal_mod-normal_menu.lst
: normal
/menu.c genfslist.sh
836 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
839 normal_mod-normal_menu_entry.o
: normal
/menu_entry.c
840 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
842 normal_mod-normal_menu_entry.d
: normal
/menu_entry.c
843 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
$@
845 -include normal_mod-normal_menu_entry.d
847 CLEANFILES
+= cmd-normal_mod-normal_menu_entry.lst fs-normal_mod-normal_menu_entry.lst
848 COMMANDFILES
+= cmd-normal_mod-normal_menu_entry.lst
849 FSFILES
+= fs-normal_mod-normal_menu_entry.lst
851 cmd-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c gencmdlist.sh
852 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
854 fs-normal_mod-normal_menu_entry.lst
: normal
/menu_entry.c genfslist.sh
855 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
858 normal_mod-normal_misc.o
: normal
/misc.c
859 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
861 normal_mod-normal_misc.d
: normal
/misc.c
862 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,misc\.o[ :]*,normal_mod-normal_misc.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
864 -include normal_mod-normal_misc.d
866 CLEANFILES
+= cmd-normal_mod-normal_misc.lst fs-normal_mod-normal_misc.lst
867 COMMANDFILES
+= cmd-normal_mod-normal_misc.lst
868 FSFILES
+= fs-normal_mod-normal_misc.lst
870 cmd-normal_mod-normal_misc.lst
: normal
/misc.c gencmdlist.sh
871 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
873 fs-normal_mod-normal_misc.lst
: normal
/misc.c genfslist.sh
874 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
877 normal_mod-grub_script_tab.o
: grub_script.tab.c
878 $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
880 normal_mod-grub_script_tab.d
: grub_script.tab.c
881 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,grub_script\.tab\.o[ :]*,normal_mod-grub_script_tab.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
883 -include normal_mod-grub_script_tab.d
885 CLEANFILES
+= cmd-normal_mod-grub_script_tab.lst fs-normal_mod-grub_script_tab.lst
886 COMMANDFILES
+= cmd-normal_mod-grub_script_tab.lst
887 FSFILES
+= fs-normal_mod-grub_script_tab.lst
889 cmd-normal_mod-grub_script_tab.lst
: grub_script.tab.c gencmdlist.sh
890 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
892 fs-normal_mod-grub_script_tab.lst
: grub_script.tab.c genfslist.sh
893 set
-e
; $(CC
) -I.
-I
$(srcdir)/.
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
896 normal_mod-normal_script.o
: normal
/script.c
897 $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -c
-o
$@
$<
899 normal_mod-normal_script.d
: normal
/script.c
900 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -M
$< | sed
's,script\.o[ :]*,normal_mod-normal_script.o $@ : ,g' > $@
; [ -s
$@
] ||
rm -f
$@
902 -include normal_mod-normal_script.d
904 CLEANFILES
+= cmd-normal_mod-normal_script.lst fs-normal_mod-normal_script.lst
905 COMMANDFILES
+= cmd-normal_mod-normal_script.lst
906 FSFILES
+= fs-normal_mod-normal_script.lst
908 cmd-normal_mod-normal_script.lst
: normal
/script.c gencmdlist.sh
909 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
911 fs-normal_mod-normal_script.lst
: normal
/script.c genfslist.sh
912 set
-e
; $(CC
) -Inormal
-I
$(srcdir)/normal
$(CPPFLAGS
) $(CFLAGS
) $(normal_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
915 normal_mod-normal_i386_setjmp.o
: normal
/i386
/setjmp.S
916 $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -c
-o
$@
$<
918 normal_mod-normal_i386_setjmp.d
: normal
/i386
/setjmp.S
919 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
$@
921 -include normal_mod-normal_i386_setjmp.d
923 CLEANFILES
+= cmd-normal_mod-normal_i386_setjmp.lst fs-normal_mod-normal_i386_setjmp.lst
924 COMMANDFILES
+= cmd-normal_mod-normal_i386_setjmp.lst
925 FSFILES
+= fs-normal_mod-normal_i386_setjmp.lst
927 cmd-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S gencmdlist.sh
928 set
-e
; $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
930 fs-normal_mod-normal_i386_setjmp.lst
: normal
/i386
/setjmp.S genfslist.sh
931 set
-e
; $(CC
) -Inormal
/i386
-I
$(srcdir)/normal
/i386
$(CPPFLAGS
) $(ASFLAGS
) $(normal_mod_ASFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh normal
> $@ ||
(rm -f
$@
; exit
1)
934 normal_mod_CFLAGS
= $(COMMON_CFLAGS
)
935 normal_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
936 normal_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
938 include $(srcdir)/conf
/common.mk