2 # Generated by genmk.rb, please don't edit!
4 COMMON_ASFLAGS
= -m32
-nostdinc
-fno-builtin
5 COMMON_CFLAGS
= -ffreestanding
-mrtd
-mregparm
=3
6 COMMON_LDFLAGS
= -nostdlib
8 # Used by various components. These rules need to precede them.
9 script
/lexer.c_DEPENDENCIES
= grub_script.tab.h
12 pkglib_PROGRAMS
= kernel.img
15 kernel_img_SOURCES
= kern
/i386
/ieee1275
/startup.S \
17 kern
/i386
/ieee1275
/init.c \
18 kern
/ieee1275
/init.c \
19 kern
/ieee1275
/mmap.c \
20 kern
/ieee1275
/cmain.c kern
/ieee1275
/openfw.c \
21 kern
/main.c kern
/device.c \
22 kern
/disk.c kern
/dl.c kern
/file.c kern
/fs.c kern
/err.c \
23 kern
/misc.c kern
/mm.c kern
/term.c \
24 kern
/rescue_parser.c kern
/rescue_reader.c \
25 kern
/$(target_cpu
)/dl.c kern
/parser.c kern
/partition.c \
27 kern
/time.c kern
/list.c kern
/handler.c kern
/command.c kern
/corecmd.c \
28 kern
/generic
/millisleep.c \
29 kern
/ieee1275
/ieee1275.c \
30 term
/ieee1275
/ofconsole.c \
31 disk
/ieee1275
/ofdisk.c \
33 CLEANFILES
+= kernel.img kernel_img-kern_i386_ieee1275_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_i386_ieee1275_init.o kernel_img-kern_ieee1275_init.o kernel_img-kern_ieee1275_mmap.o kernel_img-kern_ieee1275_cmain.o kernel_img-kern_ieee1275_openfw.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_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_handler.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern_generic_millisleep.o kernel_img-kern_ieee1275_ieee1275.o kernel_img-term_ieee1275_ofconsole.o kernel_img-disk_ieee1275_ofdisk.o kernel_img-symlist.o
34 MOSTLYCLEANFILES
+= kernel_img-kern_i386_ieee1275_startup.d kernel_img-kern_i386_misc.d kernel_img-kern_i386_ieee1275_init.d kernel_img-kern_ieee1275_init.d kernel_img-kern_ieee1275_mmap.d kernel_img-kern_ieee1275_cmain.d kernel_img-kern_ieee1275_openfw.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_term.d kernel_img-kern_rescue_parser.d kernel_img-kern_rescue_reader.d kernel_img-kern___target_cpu__dl.d kernel_img-kern_parser.d kernel_img-kern_partition.d kernel_img-kern_env.d kernel_img-kern_time.d kernel_img-kern_list.d kernel_img-kern_handler.d kernel_img-kern_command.d kernel_img-kern_corecmd.d kernel_img-kern_generic_millisleep.d kernel_img-kern_ieee1275_ieee1275.d kernel_img-term_ieee1275_ofconsole.d kernel_img-disk_ieee1275_ofdisk.d kernel_img-symlist.d
36 ifeq ($(kernel_img_RELOCATABLE
),yes
)
37 kernel.img
: $(kernel_img_DEPENDENCIES
) kernel_img-kern_i386_ieee1275_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_i386_ieee1275_init.o kernel_img-kern_ieee1275_init.o kernel_img-kern_ieee1275_mmap.o kernel_img-kern_ieee1275_cmain.o kernel_img-kern_ieee1275_openfw.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_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_handler.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern_generic_millisleep.o kernel_img-kern_ieee1275_ieee1275.o kernel_img-term_ieee1275_ofconsole.o kernel_img-disk_ieee1275_ofdisk.o kernel_img-symlist.o
38 $(TARGET_CC
) -Wl
,-r
,-d
-o
$@ kernel_img-kern_i386_ieee1275_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_i386_ieee1275_init.o kernel_img-kern_ieee1275_init.o kernel_img-kern_ieee1275_mmap.o kernel_img-kern_ieee1275_cmain.o kernel_img-kern_ieee1275_openfw.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_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_handler.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern_generic_millisleep.o kernel_img-kern_ieee1275_ieee1275.o kernel_img-term_ieee1275_ofconsole.o kernel_img-disk_ieee1275_ofdisk.o kernel_img-symlist.o
$(TARGET_LDFLAGS
) $(kernel_img_LDFLAGS
)
39 $(STRIP
) --strip-unneeded
-K start
-R .note
-R .comment
$@
41 kernel.img
: $(kernel_img_DEPENDENCIES
) kernel_img-kern_i386_ieee1275_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_i386_ieee1275_init.o kernel_img-kern_ieee1275_init.o kernel_img-kern_ieee1275_mmap.o kernel_img-kern_ieee1275_cmain.o kernel_img-kern_ieee1275_openfw.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_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_handler.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern_generic_millisleep.o kernel_img-kern_ieee1275_ieee1275.o kernel_img-term_ieee1275_ofconsole.o kernel_img-disk_ieee1275_ofdisk.o kernel_img-symlist.o
42 $(TARGET_CC
) -o
$@ kernel_img-kern_i386_ieee1275_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_i386_ieee1275_init.o kernel_img-kern_ieee1275_init.o kernel_img-kern_ieee1275_mmap.o kernel_img-kern_ieee1275_cmain.o kernel_img-kern_ieee1275_openfw.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_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_env.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_handler.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern_generic_millisleep.o kernel_img-kern_ieee1275_ieee1275.o kernel_img-term_ieee1275_ofconsole.o kernel_img-disk_ieee1275_ofdisk.o kernel_img-symlist.o
$(TARGET_LDFLAGS
) $(kernel_img_LDFLAGS
)
43 $(STRIP
) -R .rel.dyn
-R .reginfo
-R .note
-R .comment
$@
46 kernel_img-kern_i386_ieee1275_startup.o
: kern
/i386
/ieee1275
/startup.S
$(kern
/i386
/ieee1275
/startup.S_DEPENDENCIES
)
47 $(TARGET_CC
) -Ikern
/i386
/ieee1275
-I
$(srcdir)/kern
/i386
/ieee1275
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(kernel_img_ASFLAGS
) -MD
-c
-o
$@
$<
49 -include kernel_img-kern_i386_ieee1275_startup.d
51 kernel_img-kern_i386_misc.o
: kern
/i386
/misc.S
$(kern
/i386
/misc.S_DEPENDENCIES
)
52 $(TARGET_CC
) -Ikern
/i386
-I
$(srcdir)/kern
/i386
$(TARGET_CPPFLAGS
) -DASM_FILE
=1 $(TARGET_ASFLAGS
) $(kernel_img_ASFLAGS
) -MD
-c
-o
$@
$<
54 -include kernel_img-kern_i386_misc.d
56 kernel_img-kern_i386_ieee1275_init.o
: kern
/i386
/ieee1275
/init.c
$(kern
/i386
/ieee1275
/init.c_DEPENDENCIES
)
57 $(TARGET_CC
) -Ikern
/i386
/ieee1275
-I
$(srcdir)/kern
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
59 -include kernel_img-kern_i386_ieee1275_init.d
61 kernel_img-kern_ieee1275_init.o
: kern
/ieee1275
/init.c
$(kern
/ieee1275
/init.c_DEPENDENCIES
)
62 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
64 -include kernel_img-kern_ieee1275_init.d
66 kernel_img-kern_ieee1275_mmap.o
: kern
/ieee1275
/mmap.c
$(kern
/ieee1275
/mmap.c_DEPENDENCIES
)
67 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
69 -include kernel_img-kern_ieee1275_mmap.d
71 kernel_img-kern_ieee1275_cmain.o
: kern
/ieee1275
/cmain.c
$(kern
/ieee1275
/cmain.c_DEPENDENCIES
)
72 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
74 -include kernel_img-kern_ieee1275_cmain.d
76 kernel_img-kern_ieee1275_openfw.o
: kern
/ieee1275
/openfw.c
$(kern
/ieee1275
/openfw.c_DEPENDENCIES
)
77 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
79 -include kernel_img-kern_ieee1275_openfw.d
81 kernel_img-kern_main.o
: kern
/main.c
$(kern
/main.c_DEPENDENCIES
)
82 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
84 -include kernel_img-kern_main.d
86 kernel_img-kern_device.o
: kern
/device.c
$(kern
/device.c_DEPENDENCIES
)
87 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
89 -include kernel_img-kern_device.d
91 kernel_img-kern_disk.o
: kern
/disk.c
$(kern
/disk.c_DEPENDENCIES
)
92 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
94 -include kernel_img-kern_disk.d
96 kernel_img-kern_dl.o
: kern
/dl.c
$(kern
/dl.c_DEPENDENCIES
)
97 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
99 -include kernel_img-kern_dl.d
101 kernel_img-kern_file.o
: kern
/file.c
$(kern
/file.c_DEPENDENCIES
)
102 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
104 -include kernel_img-kern_file.d
106 kernel_img-kern_fs.o
: kern
/fs.c
$(kern
/fs.c_DEPENDENCIES
)
107 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
109 -include kernel_img-kern_fs.d
111 kernel_img-kern_err.o
: kern
/err.c
$(kern
/err.c_DEPENDENCIES
)
112 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
114 -include kernel_img-kern_err.d
116 kernel_img-kern_misc.o
: kern
/misc.c
$(kern
/misc.c_DEPENDENCIES
)
117 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
119 -include kernel_img-kern_misc.d
121 kernel_img-kern_mm.o
: kern
/mm.c
$(kern
/mm.c_DEPENDENCIES
)
122 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
124 -include kernel_img-kern_mm.d
126 kernel_img-kern_term.o
: kern
/term.c
$(kern
/term.c_DEPENDENCIES
)
127 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
129 -include kernel_img-kern_term.d
131 kernel_img-kern_rescue_parser.o
: kern
/rescue_parser.c
$(kern
/rescue_parser.c_DEPENDENCIES
)
132 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
134 -include kernel_img-kern_rescue_parser.d
136 kernel_img-kern_rescue_reader.o
: kern
/rescue_reader.c
$(kern
/rescue_reader.c_DEPENDENCIES
)
137 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
139 -include kernel_img-kern_rescue_reader.d
141 kernel_img-kern___target_cpu__dl.o
: kern
/$(target_cpu
)/dl.c
$(kern
/$(target_cpu
)/dl.c_DEPENDENCIES
)
142 $(TARGET_CC
) -Ikern
/$(target_cpu
) -I
$(srcdir)/kern
/$(target_cpu
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
144 -include kernel_img-kern___target_cpu__dl.d
146 kernel_img-kern_parser.o
: kern
/parser.c
$(kern
/parser.c_DEPENDENCIES
)
147 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
149 -include kernel_img-kern_parser.d
151 kernel_img-kern_partition.o
: kern
/partition.c
$(kern
/partition.c_DEPENDENCIES
)
152 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
154 -include kernel_img-kern_partition.d
156 kernel_img-kern_env.o
: kern
/env.c
$(kern
/env.c_DEPENDENCIES
)
157 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
159 -include kernel_img-kern_env.d
161 kernel_img-kern_time.o
: kern
/time.c
$(kern
/time.c_DEPENDENCIES
)
162 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
164 -include kernel_img-kern_time.d
166 kernel_img-kern_list.o
: kern
/list.c
$(kern
/list.c_DEPENDENCIES
)
167 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
169 -include kernel_img-kern_list.d
171 kernel_img-kern_handler.o
: kern
/handler.c
$(kern
/handler.c_DEPENDENCIES
)
172 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
174 -include kernel_img-kern_handler.d
176 kernel_img-kern_command.o
: kern
/command.c
$(kern
/command.c_DEPENDENCIES
)
177 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
179 -include kernel_img-kern_command.d
181 kernel_img-kern_corecmd.o
: kern
/corecmd.c
$(kern
/corecmd.c_DEPENDENCIES
)
182 $(TARGET_CC
) -Ikern
-I
$(srcdir)/kern
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
184 -include kernel_img-kern_corecmd.d
186 kernel_img-kern_generic_millisleep.o
: kern
/generic
/millisleep.c
$(kern
/generic
/millisleep.c_DEPENDENCIES
)
187 $(TARGET_CC
) -Ikern
/generic
-I
$(srcdir)/kern
/generic
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
189 -include kernel_img-kern_generic_millisleep.d
191 kernel_img-kern_ieee1275_ieee1275.o
: kern
/ieee1275
/ieee1275.c
$(kern
/ieee1275
/ieee1275.c_DEPENDENCIES
)
192 $(TARGET_CC
) -Ikern
/ieee1275
-I
$(srcdir)/kern
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
194 -include kernel_img-kern_ieee1275_ieee1275.d
196 kernel_img-term_ieee1275_ofconsole.o
: term
/ieee1275
/ofconsole.c
$(term
/ieee1275
/ofconsole.c_DEPENDENCIES
)
197 $(TARGET_CC
) -Iterm
/ieee1275
-I
$(srcdir)/term
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
199 -include kernel_img-term_ieee1275_ofconsole.d
201 kernel_img-disk_ieee1275_ofdisk.o
: disk
/ieee1275
/ofdisk.c
$(disk
/ieee1275
/ofdisk.c_DEPENDENCIES
)
202 $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
204 -include kernel_img-disk_ieee1275_ofdisk.d
206 kernel_img-symlist.o
: symlist.c
$(symlist.c_DEPENDENCIES
)
207 $(TARGET_CC
) -I.
-I
$(srcdir)/.
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(kernel_img_CFLAGS
) -MD
-c
-o
$@
$<
209 -include kernel_img-symlist.d
211 kernel_img_HEADERS
= cache.h device.h disk.h dl.h elf.h elfload.h \
212 env.h err.h file.h fs.h kernel.h loader.h misc.h mm.h net.h parser.h \
213 partition.h msdos_partition.h reader.h symbol.h term.h time.h types.h \
214 ieee1275
/ieee1275.h machine
/kernel.h machine
/loader.h machine
/memory.h \
215 list.h handler.h command.h i18n.h env_private.h
216 kernel_img_CFLAGS
= $(COMMON_CFLAGS
)
217 kernel_img_ASFLAGS
= $(COMMON_ASFLAGS
)
218 kernel_img_LDFLAGS
= $(COMMON_LDFLAGS
) -Wl
,-N
,-S
,-Ttext
,0x10000,-Bstatic
220 MOSTLYCLEANFILES
+= symlist.c kernel_syms.lst
221 DEFSYMFILES
+= kernel_syms.lst
223 symlist.c
: $(addprefix include/grub
/,$(kernel_img_HEADERS
)) config.h gensymlist.sh
224 /bin
/sh gensymlist.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
226 kernel_syms.lst
: $(addprefix include/grub
/,$(kernel_img_HEADERS
)) config.h genkernsyms.sh
227 /bin
/sh genkernsyms.sh
$(filter %.h
,$^
) > $@ ||
(rm -f
$@
; exit
1)
230 sbin_SCRIPTS
= grub-install
233 grub_install_SOURCES
= util
/ieee1275
/grub-install.in
234 CLEANFILES
+= grub-install
236 grub-install
: util
/ieee1275
/grub-install.in
$(util
/ieee1275
/grub-install.in_DEPENDENCIES
) config.status
237 .
/config.status
--file
=-:util
/ieee1275
/grub-install.in | sed
-e
's,@pkglib_DATA@,$(pkglib_DATA),g' > $@
242 pkglib_MODULES
= halt.mod reboot.mod suspend.mod \
243 aout.mod serial.mod linux.mod \
244 nand.mod memdisk.mod pci.mod lspci.mod datetime.mod \
245 date.mod datehook.mod lsmmap.mod mmap.mod
248 pkglib_MODULES
+= boot.mod
249 boot_mod_SOURCES
= commands
/boot.c
251 clean-module-boot.mod
.1:
252 rm -f boot.mod mod-boot.o mod-boot.c pre-boot.o boot_mod-commands_boot.o und-boot.lst
254 CLEAN_MODULE_TARGETS
+= clean-module-boot.mod
.1
256 clean-module-boot.mod-symbol
.1:
259 CLEAN_MODULE_TARGETS
+= clean-module-boot.mod-symbol
.1
260 DEFSYMFILES
+= def-boot.lst
261 mostlyclean-module-boot.mod
.1:
262 rm -f boot_mod-commands_boot.d
264 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-boot.mod
.1
265 UNDSYMFILES
+= und-boot.lst
267 ifneq ($(TARGET_APPLE_CC
),1)
268 boot.mod
: pre-boot.o mod-boot.o
$(TARGET_OBJ2ELF
)
270 $(TARGET_CC
) $(boot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-boot.o mod-boot.o
271 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
272 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
274 boot.mod
: pre-boot.o mod-boot.o
$(TARGET_OBJ2ELF
)
277 $(TARGET_CC
) $(boot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-boot.o mod-boot.o
278 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
282 pre-boot.o
: $(boot_mod_DEPENDENCIES
) boot_mod-commands_boot.o
284 $(TARGET_CC
) $(boot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ boot_mod-commands_boot.o
286 mod-boot.o
: mod-boot.c
287 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -c
-o
$@
$<
289 mod-boot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
290 sh
$(srcdir)/genmodsrc.sh
'boot' $< > $@ ||
(rm -f
$@
; exit
1)
292 ifneq ($(TARGET_APPLE_CC
),1)
293 def-boot.lst
: pre-boot.o
294 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 boot/' > $@
296 def-boot.lst
: pre-boot.o
297 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 boot/' > $@
300 und-boot.lst
: pre-boot.o
302 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
304 boot_mod-commands_boot.o
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
)
305 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -MD
-c
-o
$@
$<
306 -include boot_mod-commands_boot.d
308 clean-module-boot_mod-commands_boot-extra
.1:
309 rm -f cmd-boot_mod-commands_boot.lst fs-boot_mod-commands_boot.lst partmap-boot_mod-commands_boot.lst handler-boot_mod-commands_boot.lst parttool-boot_mod-commands_boot.lst video-boot_mod-commands_boot.lst terminal-boot_mod-commands_boot.lst
311 CLEAN_MODULE_TARGETS
+= clean-module-boot_mod-commands_boot-extra
.1
313 COMMANDFILES
+= cmd-boot_mod-commands_boot.lst
314 FSFILES
+= fs-boot_mod-commands_boot.lst
315 PARTTOOLFILES
+= parttool-boot_mod-commands_boot.lst
316 PARTMAPFILES
+= partmap-boot_mod-commands_boot.lst
317 HANDLERFILES
+= handler-boot_mod-commands_boot.lst
318 TERMINALFILES
+= terminal-boot_mod-commands_boot.lst
319 VIDEOFILES
+= video-boot_mod-commands_boot.lst
321 cmd-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) gencmdlist.sh
322 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
324 fs-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genfslist.sh
325 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
327 parttool-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genparttoollist.sh
328 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
330 partmap-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genpartmaplist.sh
331 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
333 handler-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genhandlerlist.sh
334 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
336 terminal-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genterminallist.sh
337 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
339 video-boot_mod-commands_boot.lst
: commands
/boot.c
$(commands
/boot.c_DEPENDENCIES
) genvideolist.sh
340 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(boot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh boot
> $@ ||
(rm -f
$@
; exit
1)
342 boot_mod_CFLAGS
= $(COMMON_CFLAGS
)
343 boot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
346 mmap_mod_SOURCES
= mmap
/mmap.c mmap
/i386
/uppermem.c mmap
/i386
/mmap.c
348 clean-module-mmap.mod
.1:
349 rm -f mmap.mod mod-mmap.o mod-mmap.c pre-mmap.o mmap_mod-mmap_mmap.o mmap_mod-mmap_i386_uppermem.o mmap_mod-mmap_i386_mmap.o und-mmap.lst
351 CLEAN_MODULE_TARGETS
+= clean-module-mmap.mod
.1
353 clean-module-mmap.mod-symbol
.1:
356 CLEAN_MODULE_TARGETS
+= clean-module-mmap.mod-symbol
.1
357 DEFSYMFILES
+= def-mmap.lst
358 mostlyclean-module-mmap.mod
.1:
359 rm -f mmap_mod-mmap_mmap.d mmap_mod-mmap_i386_uppermem.d mmap_mod-mmap_i386_mmap.d
361 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-mmap.mod
.1
362 UNDSYMFILES
+= und-mmap.lst
364 ifneq ($(TARGET_APPLE_CC
),1)
365 mmap.mod
: pre-mmap.o mod-mmap.o
$(TARGET_OBJ2ELF
)
367 $(TARGET_CC
) $(mmap_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-mmap.o mod-mmap.o
368 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
369 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
371 mmap.mod
: pre-mmap.o mod-mmap.o
$(TARGET_OBJ2ELF
)
374 $(TARGET_CC
) $(mmap_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-mmap.o mod-mmap.o
375 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
379 pre-mmap.o
: $(mmap_mod_DEPENDENCIES
) mmap_mod-mmap_mmap.o mmap_mod-mmap_i386_uppermem.o mmap_mod-mmap_i386_mmap.o
381 $(TARGET_CC
) $(mmap_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ mmap_mod-mmap_mmap.o mmap_mod-mmap_i386_uppermem.o mmap_mod-mmap_i386_mmap.o
383 mod-mmap.o
: mod-mmap.c
384 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -c
-o
$@
$<
386 mod-mmap.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
387 sh
$(srcdir)/genmodsrc.sh
'mmap' $< > $@ ||
(rm -f
$@
; exit
1)
389 ifneq ($(TARGET_APPLE_CC
),1)
390 def-mmap.lst
: pre-mmap.o
391 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 mmap/' > $@
393 def-mmap.lst
: pre-mmap.o
394 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 mmap/' > $@
397 und-mmap.lst
: pre-mmap.o
399 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
401 mmap_mod-mmap_mmap.o
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
)
402 $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -MD
-c
-o
$@
$<
403 -include mmap_mod-mmap_mmap.d
405 clean-module-mmap_mod-mmap_mmap-extra
.1:
406 rm -f cmd-mmap_mod-mmap_mmap.lst fs-mmap_mod-mmap_mmap.lst partmap-mmap_mod-mmap_mmap.lst handler-mmap_mod-mmap_mmap.lst parttool-mmap_mod-mmap_mmap.lst video-mmap_mod-mmap_mmap.lst terminal-mmap_mod-mmap_mmap.lst
408 CLEAN_MODULE_TARGETS
+= clean-module-mmap_mod-mmap_mmap-extra
.1
410 COMMANDFILES
+= cmd-mmap_mod-mmap_mmap.lst
411 FSFILES
+= fs-mmap_mod-mmap_mmap.lst
412 PARTTOOLFILES
+= parttool-mmap_mod-mmap_mmap.lst
413 PARTMAPFILES
+= partmap-mmap_mod-mmap_mmap.lst
414 HANDLERFILES
+= handler-mmap_mod-mmap_mmap.lst
415 TERMINALFILES
+= terminal-mmap_mod-mmap_mmap.lst
416 VIDEOFILES
+= video-mmap_mod-mmap_mmap.lst
418 cmd-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) gencmdlist.sh
419 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
421 fs-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) genfslist.sh
422 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
424 parttool-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) genparttoollist.sh
425 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
427 partmap-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) genpartmaplist.sh
428 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
430 handler-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) genhandlerlist.sh
431 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
433 terminal-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) genterminallist.sh
434 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
436 video-mmap_mod-mmap_mmap.lst
: mmap
/mmap.c
$(mmap
/mmap.c_DEPENDENCIES
) genvideolist.sh
437 set
-e
; $(TARGET_CC
) -Immap
-I
$(srcdir)/mmap
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
439 mmap_mod-mmap_i386_uppermem.o
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
)
440 $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -MD
-c
-o
$@
$<
441 -include mmap_mod-mmap_i386_uppermem.d
443 clean-module-mmap_mod-mmap_i386_uppermem-extra
.1:
444 rm -f cmd-mmap_mod-mmap_i386_uppermem.lst fs-mmap_mod-mmap_i386_uppermem.lst partmap-mmap_mod-mmap_i386_uppermem.lst handler-mmap_mod-mmap_i386_uppermem.lst parttool-mmap_mod-mmap_i386_uppermem.lst video-mmap_mod-mmap_i386_uppermem.lst terminal-mmap_mod-mmap_i386_uppermem.lst
446 CLEAN_MODULE_TARGETS
+= clean-module-mmap_mod-mmap_i386_uppermem-extra
.1
448 COMMANDFILES
+= cmd-mmap_mod-mmap_i386_uppermem.lst
449 FSFILES
+= fs-mmap_mod-mmap_i386_uppermem.lst
450 PARTTOOLFILES
+= parttool-mmap_mod-mmap_i386_uppermem.lst
451 PARTMAPFILES
+= partmap-mmap_mod-mmap_i386_uppermem.lst
452 HANDLERFILES
+= handler-mmap_mod-mmap_i386_uppermem.lst
453 TERMINALFILES
+= terminal-mmap_mod-mmap_i386_uppermem.lst
454 VIDEOFILES
+= video-mmap_mod-mmap_i386_uppermem.lst
456 cmd-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) gencmdlist.sh
457 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
459 fs-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) genfslist.sh
460 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
462 parttool-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) genparttoollist.sh
463 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
465 partmap-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) genpartmaplist.sh
466 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
468 handler-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) genhandlerlist.sh
469 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
471 terminal-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) genterminallist.sh
472 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
474 video-mmap_mod-mmap_i386_uppermem.lst
: mmap
/i386
/uppermem.c
$(mmap
/i386
/uppermem.c_DEPENDENCIES
) genvideolist.sh
475 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
477 mmap_mod-mmap_i386_mmap.o
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
)
478 $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -MD
-c
-o
$@
$<
479 -include mmap_mod-mmap_i386_mmap.d
481 clean-module-mmap_mod-mmap_i386_mmap-extra
.1:
482 rm -f cmd-mmap_mod-mmap_i386_mmap.lst fs-mmap_mod-mmap_i386_mmap.lst partmap-mmap_mod-mmap_i386_mmap.lst handler-mmap_mod-mmap_i386_mmap.lst parttool-mmap_mod-mmap_i386_mmap.lst video-mmap_mod-mmap_i386_mmap.lst terminal-mmap_mod-mmap_i386_mmap.lst
484 CLEAN_MODULE_TARGETS
+= clean-module-mmap_mod-mmap_i386_mmap-extra
.1
486 COMMANDFILES
+= cmd-mmap_mod-mmap_i386_mmap.lst
487 FSFILES
+= fs-mmap_mod-mmap_i386_mmap.lst
488 PARTTOOLFILES
+= parttool-mmap_mod-mmap_i386_mmap.lst
489 PARTMAPFILES
+= partmap-mmap_mod-mmap_i386_mmap.lst
490 HANDLERFILES
+= handler-mmap_mod-mmap_i386_mmap.lst
491 TERMINALFILES
+= terminal-mmap_mod-mmap_i386_mmap.lst
492 VIDEOFILES
+= video-mmap_mod-mmap_i386_mmap.lst
494 cmd-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) gencmdlist.sh
495 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
497 fs-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) genfslist.sh
498 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
500 parttool-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) genparttoollist.sh
501 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
503 partmap-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) genpartmaplist.sh
504 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
506 handler-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) genhandlerlist.sh
507 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
509 terminal-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) genterminallist.sh
510 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
512 video-mmap_mod-mmap_i386_mmap.lst
: mmap
/i386
/mmap.c
$(mmap
/i386
/mmap.c_DEPENDENCIES
) genvideolist.sh
513 set
-e
; $(TARGET_CC
) -Immap
/i386
-I
$(srcdir)/mmap
/i386
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(mmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh mmap
> $@ ||
(rm -f
$@
; exit
1)
515 mmap_mod_CFLAGS
= $(COMMON_CFLAGS
)
516 mmap_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
517 mmap_mod_ASFLAGS
= $(COMMON_ASFLAGS
)
520 aout_mod_SOURCES
= loader
/aout.c
522 clean-module-aout.mod
.1:
523 rm -f aout.mod mod-aout.o mod-aout.c pre-aout.o aout_mod-loader_aout.o und-aout.lst
525 CLEAN_MODULE_TARGETS
+= clean-module-aout.mod
.1
527 clean-module-aout.mod-symbol
.1:
530 CLEAN_MODULE_TARGETS
+= clean-module-aout.mod-symbol
.1
531 DEFSYMFILES
+= def-aout.lst
532 mostlyclean-module-aout.mod
.1:
533 rm -f aout_mod-loader_aout.d
535 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-aout.mod
.1
536 UNDSYMFILES
+= und-aout.lst
538 ifneq ($(TARGET_APPLE_CC
),1)
539 aout.mod
: pre-aout.o mod-aout.o
$(TARGET_OBJ2ELF
)
541 $(TARGET_CC
) $(aout_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-aout.o mod-aout.o
542 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
543 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
545 aout.mod
: pre-aout.o mod-aout.o
$(TARGET_OBJ2ELF
)
548 $(TARGET_CC
) $(aout_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-aout.o mod-aout.o
549 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
553 pre-aout.o
: $(aout_mod_DEPENDENCIES
) aout_mod-loader_aout.o
555 $(TARGET_CC
) $(aout_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ aout_mod-loader_aout.o
557 mod-aout.o
: mod-aout.c
558 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -c
-o
$@
$<
560 mod-aout.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
561 sh
$(srcdir)/genmodsrc.sh
'aout' $< > $@ ||
(rm -f
$@
; exit
1)
563 ifneq ($(TARGET_APPLE_CC
),1)
564 def-aout.lst
: pre-aout.o
565 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 aout/' > $@
567 def-aout.lst
: pre-aout.o
568 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 aout/' > $@
571 und-aout.lst
: pre-aout.o
573 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
575 aout_mod-loader_aout.o
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
)
576 $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -MD
-c
-o
$@
$<
577 -include aout_mod-loader_aout.d
579 clean-module-aout_mod-loader_aout-extra
.1:
580 rm -f cmd-aout_mod-loader_aout.lst fs-aout_mod-loader_aout.lst partmap-aout_mod-loader_aout.lst handler-aout_mod-loader_aout.lst parttool-aout_mod-loader_aout.lst video-aout_mod-loader_aout.lst terminal-aout_mod-loader_aout.lst
582 CLEAN_MODULE_TARGETS
+= clean-module-aout_mod-loader_aout-extra
.1
584 COMMANDFILES
+= cmd-aout_mod-loader_aout.lst
585 FSFILES
+= fs-aout_mod-loader_aout.lst
586 PARTTOOLFILES
+= parttool-aout_mod-loader_aout.lst
587 PARTMAPFILES
+= partmap-aout_mod-loader_aout.lst
588 HANDLERFILES
+= handler-aout_mod-loader_aout.lst
589 TERMINALFILES
+= terminal-aout_mod-loader_aout.lst
590 VIDEOFILES
+= video-aout_mod-loader_aout.lst
592 cmd-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) gencmdlist.sh
593 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
595 fs-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genfslist.sh
596 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
598 parttool-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genparttoollist.sh
599 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
601 partmap-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genpartmaplist.sh
602 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
604 handler-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genhandlerlist.sh
605 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
607 terminal-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genterminallist.sh
608 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
610 video-aout_mod-loader_aout.lst
: loader
/aout.c
$(loader
/aout.c_DEPENDENCIES
) genvideolist.sh
611 set
-e
; $(TARGET_CC
) -Iloader
-I
$(srcdir)/loader
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(aout_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh aout
> $@ ||
(rm -f
$@
; exit
1)
613 aout_mod_CFLAGS
= $(COMMON_CFLAGS
)
614 aout_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
617 suspend_mod_SOURCES
= commands
/ieee1275
/suspend.c
619 clean-module-suspend.mod
.1:
620 rm -f suspend.mod mod-suspend.o mod-suspend.c pre-suspend.o suspend_mod-commands_ieee1275_suspend.o und-suspend.lst
622 CLEAN_MODULE_TARGETS
+= clean-module-suspend.mod
.1
624 clean-module-suspend.mod-symbol
.1:
625 rm -f def-suspend.lst
627 CLEAN_MODULE_TARGETS
+= clean-module-suspend.mod-symbol
.1
628 DEFSYMFILES
+= def-suspend.lst
629 mostlyclean-module-suspend.mod
.1:
630 rm -f suspend_mod-commands_ieee1275_suspend.d
632 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-suspend.mod
.1
633 UNDSYMFILES
+= und-suspend.lst
635 ifneq ($(TARGET_APPLE_CC
),1)
636 suspend.mod
: pre-suspend.o mod-suspend.o
$(TARGET_OBJ2ELF
)
638 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-suspend.o mod-suspend.o
639 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
640 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
642 suspend.mod
: pre-suspend.o mod-suspend.o
$(TARGET_OBJ2ELF
)
645 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-suspend.o mod-suspend.o
646 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
650 pre-suspend.o
: $(suspend_mod_DEPENDENCIES
) suspend_mod-commands_ieee1275_suspend.o
652 $(TARGET_CC
) $(suspend_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ suspend_mod-commands_ieee1275_suspend.o
654 mod-suspend.o
: mod-suspend.c
655 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -c
-o
$@
$<
657 mod-suspend.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
658 sh
$(srcdir)/genmodsrc.sh
'suspend' $< > $@ ||
(rm -f
$@
; exit
1)
660 ifneq ($(TARGET_APPLE_CC
),1)
661 def-suspend.lst
: pre-suspend.o
662 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 suspend/' > $@
664 def-suspend.lst
: pre-suspend.o
665 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 suspend/' > $@
668 und-suspend.lst
: pre-suspend.o
670 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
672 suspend_mod-commands_ieee1275_suspend.o
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
)
673 $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -MD
-c
-o
$@
$<
674 -include suspend_mod-commands_ieee1275_suspend.d
676 clean-module-suspend_mod-commands_ieee1275_suspend-extra
.1:
677 rm -f cmd-suspend_mod-commands_ieee1275_suspend.lst fs-suspend_mod-commands_ieee1275_suspend.lst partmap-suspend_mod-commands_ieee1275_suspend.lst handler-suspend_mod-commands_ieee1275_suspend.lst parttool-suspend_mod-commands_ieee1275_suspend.lst video-suspend_mod-commands_ieee1275_suspend.lst terminal-suspend_mod-commands_ieee1275_suspend.lst
679 CLEAN_MODULE_TARGETS
+= clean-module-suspend_mod-commands_ieee1275_suspend-extra
.1
681 COMMANDFILES
+= cmd-suspend_mod-commands_ieee1275_suspend.lst
682 FSFILES
+= fs-suspend_mod-commands_ieee1275_suspend.lst
683 PARTTOOLFILES
+= parttool-suspend_mod-commands_ieee1275_suspend.lst
684 PARTMAPFILES
+= partmap-suspend_mod-commands_ieee1275_suspend.lst
685 HANDLERFILES
+= handler-suspend_mod-commands_ieee1275_suspend.lst
686 TERMINALFILES
+= terminal-suspend_mod-commands_ieee1275_suspend.lst
687 VIDEOFILES
+= video-suspend_mod-commands_ieee1275_suspend.lst
689 cmd-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) gencmdlist.sh
690 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
692 fs-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genfslist.sh
693 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
695 parttool-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genparttoollist.sh
696 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
698 partmap-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genpartmaplist.sh
699 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
701 handler-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genhandlerlist.sh
702 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
704 terminal-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genterminallist.sh
705 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
707 video-suspend_mod-commands_ieee1275_suspend.lst
: commands
/ieee1275
/suspend.c
$(commands
/ieee1275
/suspend.c_DEPENDENCIES
) genvideolist.sh
708 set
-e
; $(TARGET_CC
) -Icommands
/ieee1275
-I
$(srcdir)/commands
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(suspend_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh suspend
> $@ ||
(rm -f
$@
; exit
1)
710 suspend_mod_CFLAGS
= $(COMMON_CFLAGS
)
711 suspend_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
714 reboot_mod_SOURCES
= commands
/reboot.c
716 clean-module-reboot.mod
.1:
717 rm -f reboot.mod mod-reboot.o mod-reboot.c pre-reboot.o reboot_mod-commands_reboot.o und-reboot.lst
719 CLEAN_MODULE_TARGETS
+= clean-module-reboot.mod
.1
721 clean-module-reboot.mod-symbol
.1:
724 CLEAN_MODULE_TARGETS
+= clean-module-reboot.mod-symbol
.1
725 DEFSYMFILES
+= def-reboot.lst
726 mostlyclean-module-reboot.mod
.1:
727 rm -f reboot_mod-commands_reboot.d
729 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-reboot.mod
.1
730 UNDSYMFILES
+= und-reboot.lst
732 ifneq ($(TARGET_APPLE_CC
),1)
733 reboot.mod
: pre-reboot.o mod-reboot.o
$(TARGET_OBJ2ELF
)
735 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-reboot.o mod-reboot.o
736 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
737 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
739 reboot.mod
: pre-reboot.o mod-reboot.o
$(TARGET_OBJ2ELF
)
742 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-reboot.o mod-reboot.o
743 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
747 pre-reboot.o
: $(reboot_mod_DEPENDENCIES
) reboot_mod-commands_reboot.o
749 $(TARGET_CC
) $(reboot_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ reboot_mod-commands_reboot.o
751 mod-reboot.o
: mod-reboot.c
752 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -c
-o
$@
$<
754 mod-reboot.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
755 sh
$(srcdir)/genmodsrc.sh
'reboot' $< > $@ ||
(rm -f
$@
; exit
1)
757 ifneq ($(TARGET_APPLE_CC
),1)
758 def-reboot.lst
: pre-reboot.o
759 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
761 def-reboot.lst
: pre-reboot.o
762 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 reboot/' > $@
765 und-reboot.lst
: pre-reboot.o
767 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
769 reboot_mod-commands_reboot.o
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
)
770 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -MD
-c
-o
$@
$<
771 -include reboot_mod-commands_reboot.d
773 clean-module-reboot_mod-commands_reboot-extra
.1:
774 rm -f cmd-reboot_mod-commands_reboot.lst fs-reboot_mod-commands_reboot.lst partmap-reboot_mod-commands_reboot.lst handler-reboot_mod-commands_reboot.lst parttool-reboot_mod-commands_reboot.lst video-reboot_mod-commands_reboot.lst terminal-reboot_mod-commands_reboot.lst
776 CLEAN_MODULE_TARGETS
+= clean-module-reboot_mod-commands_reboot-extra
.1
778 COMMANDFILES
+= cmd-reboot_mod-commands_reboot.lst
779 FSFILES
+= fs-reboot_mod-commands_reboot.lst
780 PARTTOOLFILES
+= parttool-reboot_mod-commands_reboot.lst
781 PARTMAPFILES
+= partmap-reboot_mod-commands_reboot.lst
782 HANDLERFILES
+= handler-reboot_mod-commands_reboot.lst
783 TERMINALFILES
+= terminal-reboot_mod-commands_reboot.lst
784 VIDEOFILES
+= video-reboot_mod-commands_reboot.lst
786 cmd-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) gencmdlist.sh
787 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
789 fs-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genfslist.sh
790 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
792 parttool-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genparttoollist.sh
793 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
795 partmap-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genpartmaplist.sh
796 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
798 handler-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genhandlerlist.sh
799 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
801 terminal-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genterminallist.sh
802 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
804 video-reboot_mod-commands_reboot.lst
: commands
/reboot.c
$(commands
/reboot.c_DEPENDENCIES
) genvideolist.sh
805 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(reboot_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh reboot
> $@ ||
(rm -f
$@
; exit
1)
807 reboot_mod_CFLAGS
= $(COMMON_CFLAGS
)
808 reboot_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
811 halt_mod_SOURCES
= commands
/halt.c
813 clean-module-halt.mod
.1:
814 rm -f halt.mod mod-halt.o mod-halt.c pre-halt.o halt_mod-commands_halt.o und-halt.lst
816 CLEAN_MODULE_TARGETS
+= clean-module-halt.mod
.1
818 clean-module-halt.mod-symbol
.1:
821 CLEAN_MODULE_TARGETS
+= clean-module-halt.mod-symbol
.1
822 DEFSYMFILES
+= def-halt.lst
823 mostlyclean-module-halt.mod
.1:
824 rm -f halt_mod-commands_halt.d
826 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-halt.mod
.1
827 UNDSYMFILES
+= und-halt.lst
829 ifneq ($(TARGET_APPLE_CC
),1)
830 halt.mod
: pre-halt.o mod-halt.o
$(TARGET_OBJ2ELF
)
832 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-halt.o mod-halt.o
833 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
834 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
836 halt.mod
: pre-halt.o mod-halt.o
$(TARGET_OBJ2ELF
)
839 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-halt.o mod-halt.o
840 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
844 pre-halt.o
: $(halt_mod_DEPENDENCIES
) halt_mod-commands_halt.o
846 $(TARGET_CC
) $(halt_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ halt_mod-commands_halt.o
848 mod-halt.o
: mod-halt.c
849 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -c
-o
$@
$<
851 mod-halt.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
852 sh
$(srcdir)/genmodsrc.sh
'halt' $< > $@ ||
(rm -f
$@
; exit
1)
854 ifneq ($(TARGET_APPLE_CC
),1)
855 def-halt.lst
: pre-halt.o
856 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 halt/' > $@
858 def-halt.lst
: pre-halt.o
859 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 halt/' > $@
862 und-halt.lst
: pre-halt.o
864 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
866 halt_mod-commands_halt.o
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
)
867 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -MD
-c
-o
$@
$<
868 -include halt_mod-commands_halt.d
870 clean-module-halt_mod-commands_halt-extra
.1:
871 rm -f cmd-halt_mod-commands_halt.lst fs-halt_mod-commands_halt.lst partmap-halt_mod-commands_halt.lst handler-halt_mod-commands_halt.lst parttool-halt_mod-commands_halt.lst video-halt_mod-commands_halt.lst terminal-halt_mod-commands_halt.lst
873 CLEAN_MODULE_TARGETS
+= clean-module-halt_mod-commands_halt-extra
.1
875 COMMANDFILES
+= cmd-halt_mod-commands_halt.lst
876 FSFILES
+= fs-halt_mod-commands_halt.lst
877 PARTTOOLFILES
+= parttool-halt_mod-commands_halt.lst
878 PARTMAPFILES
+= partmap-halt_mod-commands_halt.lst
879 HANDLERFILES
+= handler-halt_mod-commands_halt.lst
880 TERMINALFILES
+= terminal-halt_mod-commands_halt.lst
881 VIDEOFILES
+= video-halt_mod-commands_halt.lst
883 cmd-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) gencmdlist.sh
884 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
886 fs-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genfslist.sh
887 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
889 parttool-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genparttoollist.sh
890 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
892 partmap-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genpartmaplist.sh
893 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
895 handler-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genhandlerlist.sh
896 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
898 terminal-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genterminallist.sh
899 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
901 video-halt_mod-commands_halt.lst
: commands
/halt.c
$(commands
/halt.c_DEPENDENCIES
) genvideolist.sh
902 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(halt_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh halt
> $@ ||
(rm -f
$@
; exit
1)
904 halt_mod_CFLAGS
= $(COMMON_CFLAGS
)
905 halt_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
908 serial_mod_SOURCES
= term
/serial.c
910 clean-module-serial.mod
.1:
911 rm -f serial.mod mod-serial.o mod-serial.c pre-serial.o serial_mod-term_serial.o und-serial.lst
913 CLEAN_MODULE_TARGETS
+= clean-module-serial.mod
.1
915 clean-module-serial.mod-symbol
.1:
918 CLEAN_MODULE_TARGETS
+= clean-module-serial.mod-symbol
.1
919 DEFSYMFILES
+= def-serial.lst
920 mostlyclean-module-serial.mod
.1:
921 rm -f serial_mod-term_serial.d
923 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-serial.mod
.1
924 UNDSYMFILES
+= und-serial.lst
926 ifneq ($(TARGET_APPLE_CC
),1)
927 serial.mod
: pre-serial.o mod-serial.o
$(TARGET_OBJ2ELF
)
929 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-serial.o mod-serial.o
930 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
931 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
933 serial.mod
: pre-serial.o mod-serial.o
$(TARGET_OBJ2ELF
)
936 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-serial.o mod-serial.o
937 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
941 pre-serial.o
: $(serial_mod_DEPENDENCIES
) serial_mod-term_serial.o
943 $(TARGET_CC
) $(serial_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ serial_mod-term_serial.o
945 mod-serial.o
: mod-serial.c
946 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -c
-o
$@
$<
948 mod-serial.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
949 sh
$(srcdir)/genmodsrc.sh
'serial' $< > $@ ||
(rm -f
$@
; exit
1)
951 ifneq ($(TARGET_APPLE_CC
),1)
952 def-serial.lst
: pre-serial.o
953 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 serial/' > $@
955 def-serial.lst
: pre-serial.o
956 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 serial/' > $@
959 und-serial.lst
: pre-serial.o
961 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
963 serial_mod-term_serial.o
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
)
964 $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -MD
-c
-o
$@
$<
965 -include serial_mod-term_serial.d
967 clean-module-serial_mod-term_serial-extra
.1:
968 rm -f cmd-serial_mod-term_serial.lst fs-serial_mod-term_serial.lst partmap-serial_mod-term_serial.lst handler-serial_mod-term_serial.lst parttool-serial_mod-term_serial.lst video-serial_mod-term_serial.lst terminal-serial_mod-term_serial.lst
970 CLEAN_MODULE_TARGETS
+= clean-module-serial_mod-term_serial-extra
.1
972 COMMANDFILES
+= cmd-serial_mod-term_serial.lst
973 FSFILES
+= fs-serial_mod-term_serial.lst
974 PARTTOOLFILES
+= parttool-serial_mod-term_serial.lst
975 PARTMAPFILES
+= partmap-serial_mod-term_serial.lst
976 HANDLERFILES
+= handler-serial_mod-term_serial.lst
977 TERMINALFILES
+= terminal-serial_mod-term_serial.lst
978 VIDEOFILES
+= video-serial_mod-term_serial.lst
980 cmd-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) gencmdlist.sh
981 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
983 fs-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) genfslist.sh
984 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
986 parttool-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) genparttoollist.sh
987 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
989 partmap-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) genpartmaplist.sh
990 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
992 handler-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) genhandlerlist.sh
993 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
995 terminal-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) genterminallist.sh
996 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
998 video-serial_mod-term_serial.lst
: term
/serial.c
$(term
/serial.c_DEPENDENCIES
) genvideolist.sh
999 set
-e
; $(TARGET_CC
) -Iterm
-I
$(srcdir)/term
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(serial_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh serial
> $@ ||
(rm -f
$@
; exit
1)
1001 serial_mod_CFLAGS
= $(COMMON_CFLAGS
)
1002 serial_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1005 linux_mod_SOURCES
= loader
/i386
/ieee1275
/linux.c
1007 clean-module-linux.mod
.1:
1008 rm -f linux.mod mod-linux.o mod-linux.c pre-linux.o linux_mod-loader_i386_ieee1275_linux.o und-linux.lst
1010 CLEAN_MODULE_TARGETS
+= clean-module-linux.mod
.1
1012 clean-module-linux.mod-symbol
.1:
1015 CLEAN_MODULE_TARGETS
+= clean-module-linux.mod-symbol
.1
1016 DEFSYMFILES
+= def-linux.lst
1017 mostlyclean-module-linux.mod
.1:
1018 rm -f linux_mod-loader_i386_ieee1275_linux.d
1020 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-linux.mod
.1
1021 UNDSYMFILES
+= und-linux.lst
1023 ifneq ($(TARGET_APPLE_CC
),1)
1024 linux.mod
: pre-linux.o mod-linux.o
$(TARGET_OBJ2ELF
)
1026 $(TARGET_CC
) $(linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-linux.o mod-linux.o
1027 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1028 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1030 linux.mod
: pre-linux.o mod-linux.o
$(TARGET_OBJ2ELF
)
1033 $(TARGET_CC
) $(linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-linux.o mod-linux.o
1034 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1038 pre-linux.o
: $(linux_mod_DEPENDENCIES
) linux_mod-loader_i386_ieee1275_linux.o
1040 $(TARGET_CC
) $(linux_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ linux_mod-loader_i386_ieee1275_linux.o
1042 mod-linux.o
: mod-linux.c
1043 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -c
-o
$@
$<
1045 mod-linux.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1046 sh
$(srcdir)/genmodsrc.sh
'linux' $< > $@ ||
(rm -f
$@
; exit
1)
1048 ifneq ($(TARGET_APPLE_CC
),1)
1049 def-linux.lst
: pre-linux.o
1050 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 linux/' > $@
1052 def-linux.lst
: pre-linux.o
1053 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 linux/' > $@
1056 und-linux.lst
: pre-linux.o
1058 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1060 linux_mod-loader_i386_ieee1275_linux.o
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
)
1061 $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -MD
-c
-o
$@
$<
1062 -include linux_mod-loader_i386_ieee1275_linux.d
1064 clean-module-linux_mod-loader_i386_ieee1275_linux-extra
.1:
1065 rm -f cmd-linux_mod-loader_i386_ieee1275_linux.lst fs-linux_mod-loader_i386_ieee1275_linux.lst partmap-linux_mod-loader_i386_ieee1275_linux.lst handler-linux_mod-loader_i386_ieee1275_linux.lst parttool-linux_mod-loader_i386_ieee1275_linux.lst video-linux_mod-loader_i386_ieee1275_linux.lst terminal-linux_mod-loader_i386_ieee1275_linux.lst
1067 CLEAN_MODULE_TARGETS
+= clean-module-linux_mod-loader_i386_ieee1275_linux-extra
.1
1069 COMMANDFILES
+= cmd-linux_mod-loader_i386_ieee1275_linux.lst
1070 FSFILES
+= fs-linux_mod-loader_i386_ieee1275_linux.lst
1071 PARTTOOLFILES
+= parttool-linux_mod-loader_i386_ieee1275_linux.lst
1072 PARTMAPFILES
+= partmap-linux_mod-loader_i386_ieee1275_linux.lst
1073 HANDLERFILES
+= handler-linux_mod-loader_i386_ieee1275_linux.lst
1074 TERMINALFILES
+= terminal-linux_mod-loader_i386_ieee1275_linux.lst
1075 VIDEOFILES
+= video-linux_mod-loader_i386_ieee1275_linux.lst
1077 cmd-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) gencmdlist.sh
1078 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1080 fs-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) genfslist.sh
1081 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1083 parttool-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) genparttoollist.sh
1084 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1086 partmap-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) genpartmaplist.sh
1087 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1089 handler-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) genhandlerlist.sh
1090 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1092 terminal-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) genterminallist.sh
1093 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1095 video-linux_mod-loader_i386_ieee1275_linux.lst
: loader
/i386
/ieee1275
/linux.c
$(loader
/i386
/ieee1275
/linux.c_DEPENDENCIES
) genvideolist.sh
1096 set
-e
; $(TARGET_CC
) -Iloader
/i386
/ieee1275
-I
$(srcdir)/loader
/i386
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(linux_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh linux
> $@ ||
(rm -f
$@
; exit
1)
1098 linux_mod_CFLAGS
= $(COMMON_CFLAGS
)
1099 linux_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1102 nand_mod_SOURCES
= disk
/ieee1275
/nand.c
1104 clean-module-nand.mod
.1:
1105 rm -f nand.mod mod-nand.o mod-nand.c pre-nand.o nand_mod-disk_ieee1275_nand.o und-nand.lst
1107 CLEAN_MODULE_TARGETS
+= clean-module-nand.mod
.1
1109 clean-module-nand.mod-symbol
.1:
1112 CLEAN_MODULE_TARGETS
+= clean-module-nand.mod-symbol
.1
1113 DEFSYMFILES
+= def-nand.lst
1114 mostlyclean-module-nand.mod
.1:
1115 rm -f nand_mod-disk_ieee1275_nand.d
1117 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-nand.mod
.1
1118 UNDSYMFILES
+= und-nand.lst
1120 ifneq ($(TARGET_APPLE_CC
),1)
1121 nand.mod
: pre-nand.o mod-nand.o
$(TARGET_OBJ2ELF
)
1123 $(TARGET_CC
) $(nand_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-nand.o mod-nand.o
1124 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1125 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1127 nand.mod
: pre-nand.o mod-nand.o
$(TARGET_OBJ2ELF
)
1130 $(TARGET_CC
) $(nand_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-nand.o mod-nand.o
1131 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1135 pre-nand.o
: $(nand_mod_DEPENDENCIES
) nand_mod-disk_ieee1275_nand.o
1137 $(TARGET_CC
) $(nand_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ nand_mod-disk_ieee1275_nand.o
1139 mod-nand.o
: mod-nand.c
1140 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -c
-o
$@
$<
1142 mod-nand.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1143 sh
$(srcdir)/genmodsrc.sh
'nand' $< > $@ ||
(rm -f
$@
; exit
1)
1145 ifneq ($(TARGET_APPLE_CC
),1)
1146 def-nand.lst
: pre-nand.o
1147 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 nand/' > $@
1149 def-nand.lst
: pre-nand.o
1150 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 nand/' > $@
1153 und-nand.lst
: pre-nand.o
1155 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1157 nand_mod-disk_ieee1275_nand.o
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
)
1158 $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -MD
-c
-o
$@
$<
1159 -include nand_mod-disk_ieee1275_nand.d
1161 clean-module-nand_mod-disk_ieee1275_nand-extra
.1:
1162 rm -f cmd-nand_mod-disk_ieee1275_nand.lst fs-nand_mod-disk_ieee1275_nand.lst partmap-nand_mod-disk_ieee1275_nand.lst handler-nand_mod-disk_ieee1275_nand.lst parttool-nand_mod-disk_ieee1275_nand.lst video-nand_mod-disk_ieee1275_nand.lst terminal-nand_mod-disk_ieee1275_nand.lst
1164 CLEAN_MODULE_TARGETS
+= clean-module-nand_mod-disk_ieee1275_nand-extra
.1
1166 COMMANDFILES
+= cmd-nand_mod-disk_ieee1275_nand.lst
1167 FSFILES
+= fs-nand_mod-disk_ieee1275_nand.lst
1168 PARTTOOLFILES
+= parttool-nand_mod-disk_ieee1275_nand.lst
1169 PARTMAPFILES
+= partmap-nand_mod-disk_ieee1275_nand.lst
1170 HANDLERFILES
+= handler-nand_mod-disk_ieee1275_nand.lst
1171 TERMINALFILES
+= terminal-nand_mod-disk_ieee1275_nand.lst
1172 VIDEOFILES
+= video-nand_mod-disk_ieee1275_nand.lst
1174 cmd-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) gencmdlist.sh
1175 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1177 fs-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) genfslist.sh
1178 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1180 parttool-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) genparttoollist.sh
1181 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1183 partmap-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) genpartmaplist.sh
1184 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1186 handler-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) genhandlerlist.sh
1187 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1189 terminal-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) genterminallist.sh
1190 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1192 video-nand_mod-disk_ieee1275_nand.lst
: disk
/ieee1275
/nand.c
$(disk
/ieee1275
/nand.c_DEPENDENCIES
) genvideolist.sh
1193 set
-e
; $(TARGET_CC
) -Idisk
/ieee1275
-I
$(srcdir)/disk
/ieee1275
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(nand_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh nand
> $@ ||
(rm -f
$@
; exit
1)
1195 nand_mod_CFLAGS
= $(COMMON_CFLAGS
)
1196 nand_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1199 memdisk_mod_SOURCES
= disk
/memdisk.c
1201 clean-module-memdisk.mod
.1:
1202 rm -f memdisk.mod mod-memdisk.o mod-memdisk.c pre-memdisk.o memdisk_mod-disk_memdisk.o und-memdisk.lst
1204 CLEAN_MODULE_TARGETS
+= clean-module-memdisk.mod
.1
1206 clean-module-memdisk.mod-symbol
.1:
1207 rm -f def-memdisk.lst
1209 CLEAN_MODULE_TARGETS
+= clean-module-memdisk.mod-symbol
.1
1210 DEFSYMFILES
+= def-memdisk.lst
1211 mostlyclean-module-memdisk.mod
.1:
1212 rm -f memdisk_mod-disk_memdisk.d
1214 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-memdisk.mod
.1
1215 UNDSYMFILES
+= und-memdisk.lst
1217 ifneq ($(TARGET_APPLE_CC
),1)
1218 memdisk.mod
: pre-memdisk.o mod-memdisk.o
$(TARGET_OBJ2ELF
)
1220 $(TARGET_CC
) $(memdisk_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-memdisk.o mod-memdisk.o
1221 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1222 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1224 memdisk.mod
: pre-memdisk.o mod-memdisk.o
$(TARGET_OBJ2ELF
)
1227 $(TARGET_CC
) $(memdisk_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-memdisk.o mod-memdisk.o
1228 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1232 pre-memdisk.o
: $(memdisk_mod_DEPENDENCIES
) memdisk_mod-disk_memdisk.o
1234 $(TARGET_CC
) $(memdisk_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ memdisk_mod-disk_memdisk.o
1236 mod-memdisk.o
: mod-memdisk.c
1237 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -c
-o
$@
$<
1239 mod-memdisk.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1240 sh
$(srcdir)/genmodsrc.sh
'memdisk' $< > $@ ||
(rm -f
$@
; exit
1)
1242 ifneq ($(TARGET_APPLE_CC
),1)
1243 def-memdisk.lst
: pre-memdisk.o
1244 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 memdisk/' > $@
1246 def-memdisk.lst
: pre-memdisk.o
1247 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 memdisk/' > $@
1250 und-memdisk.lst
: pre-memdisk.o
1252 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1254 memdisk_mod-disk_memdisk.o
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
)
1255 $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -MD
-c
-o
$@
$<
1256 -include memdisk_mod-disk_memdisk.d
1258 clean-module-memdisk_mod-disk_memdisk-extra
.1:
1259 rm -f cmd-memdisk_mod-disk_memdisk.lst fs-memdisk_mod-disk_memdisk.lst partmap-memdisk_mod-disk_memdisk.lst handler-memdisk_mod-disk_memdisk.lst parttool-memdisk_mod-disk_memdisk.lst video-memdisk_mod-disk_memdisk.lst terminal-memdisk_mod-disk_memdisk.lst
1261 CLEAN_MODULE_TARGETS
+= clean-module-memdisk_mod-disk_memdisk-extra
.1
1263 COMMANDFILES
+= cmd-memdisk_mod-disk_memdisk.lst
1264 FSFILES
+= fs-memdisk_mod-disk_memdisk.lst
1265 PARTTOOLFILES
+= parttool-memdisk_mod-disk_memdisk.lst
1266 PARTMAPFILES
+= partmap-memdisk_mod-disk_memdisk.lst
1267 HANDLERFILES
+= handler-memdisk_mod-disk_memdisk.lst
1268 TERMINALFILES
+= terminal-memdisk_mod-disk_memdisk.lst
1269 VIDEOFILES
+= video-memdisk_mod-disk_memdisk.lst
1271 cmd-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) gencmdlist.sh
1272 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1274 fs-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genfslist.sh
1275 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1277 parttool-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genparttoollist.sh
1278 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1280 partmap-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genpartmaplist.sh
1281 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1283 handler-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genhandlerlist.sh
1284 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1286 terminal-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genterminallist.sh
1287 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1289 video-memdisk_mod-disk_memdisk.lst
: disk
/memdisk.c
$(disk
/memdisk.c_DEPENDENCIES
) genvideolist.sh
1290 set
-e
; $(TARGET_CC
) -Idisk
-I
$(srcdir)/disk
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(memdisk_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh memdisk
> $@ ||
(rm -f
$@
; exit
1)
1292 memdisk_mod_CFLAGS
= $(COMMON_CFLAGS
)
1293 memdisk_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1296 pci_mod_SOURCES
= bus
/pci.c
1298 clean-module-pci.mod
.1:
1299 rm -f pci.mod mod-pci.o mod-pci.c pre-pci.o pci_mod-bus_pci.o und-pci.lst
1301 CLEAN_MODULE_TARGETS
+= clean-module-pci.mod
.1
1303 clean-module-pci.mod-symbol
.1:
1306 CLEAN_MODULE_TARGETS
+= clean-module-pci.mod-symbol
.1
1307 DEFSYMFILES
+= def-pci.lst
1308 mostlyclean-module-pci.mod
.1:
1309 rm -f pci_mod-bus_pci.d
1311 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-pci.mod
.1
1312 UNDSYMFILES
+= und-pci.lst
1314 ifneq ($(TARGET_APPLE_CC
),1)
1315 pci.mod
: pre-pci.o mod-pci.o
$(TARGET_OBJ2ELF
)
1317 $(TARGET_CC
) $(pci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-pci.o mod-pci.o
1318 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1319 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1321 pci.mod
: pre-pci.o mod-pci.o
$(TARGET_OBJ2ELF
)
1324 $(TARGET_CC
) $(pci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-pci.o mod-pci.o
1325 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1329 pre-pci.o
: $(pci_mod_DEPENDENCIES
) pci_mod-bus_pci.o
1331 $(TARGET_CC
) $(pci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pci_mod-bus_pci.o
1333 mod-pci.o
: mod-pci.c
1334 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -c
-o
$@
$<
1336 mod-pci.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1337 sh
$(srcdir)/genmodsrc.sh
'pci' $< > $@ ||
(rm -f
$@
; exit
1)
1339 ifneq ($(TARGET_APPLE_CC
),1)
1340 def-pci.lst
: pre-pci.o
1341 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 pci/' > $@
1343 def-pci.lst
: pre-pci.o
1344 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 pci/' > $@
1347 und-pci.lst
: pre-pci.o
1349 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1351 pci_mod-bus_pci.o
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
)
1352 $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -MD
-c
-o
$@
$<
1353 -include pci_mod-bus_pci.d
1355 clean-module-pci_mod-bus_pci-extra
.1:
1356 rm -f cmd-pci_mod-bus_pci.lst fs-pci_mod-bus_pci.lst partmap-pci_mod-bus_pci.lst handler-pci_mod-bus_pci.lst parttool-pci_mod-bus_pci.lst video-pci_mod-bus_pci.lst terminal-pci_mod-bus_pci.lst
1358 CLEAN_MODULE_TARGETS
+= clean-module-pci_mod-bus_pci-extra
.1
1360 COMMANDFILES
+= cmd-pci_mod-bus_pci.lst
1361 FSFILES
+= fs-pci_mod-bus_pci.lst
1362 PARTTOOLFILES
+= parttool-pci_mod-bus_pci.lst
1363 PARTMAPFILES
+= partmap-pci_mod-bus_pci.lst
1364 HANDLERFILES
+= handler-pci_mod-bus_pci.lst
1365 TERMINALFILES
+= terminal-pci_mod-bus_pci.lst
1366 VIDEOFILES
+= video-pci_mod-bus_pci.lst
1368 cmd-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) gencmdlist.sh
1369 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1371 fs-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genfslist.sh
1372 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1374 parttool-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genparttoollist.sh
1375 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1377 partmap-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genpartmaplist.sh
1378 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1380 handler-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genhandlerlist.sh
1381 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1383 terminal-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genterminallist.sh
1384 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1386 video-pci_mod-bus_pci.lst
: bus
/pci.c
$(bus
/pci.c_DEPENDENCIES
) genvideolist.sh
1387 set
-e
; $(TARGET_CC
) -Ibus
-I
$(srcdir)/bus
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(pci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh pci
> $@ ||
(rm -f
$@
; exit
1)
1389 pci_mod_CFLAGS
= $(COMMON_CFLAGS
)
1390 pci_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1393 lspci_mod_SOURCES
= commands
/lspci.c
1395 clean-module-lspci.mod
.1:
1396 rm -f lspci.mod mod-lspci.o mod-lspci.c pre-lspci.o lspci_mod-commands_lspci.o und-lspci.lst
1398 CLEAN_MODULE_TARGETS
+= clean-module-lspci.mod
.1
1400 clean-module-lspci.mod-symbol
.1:
1403 CLEAN_MODULE_TARGETS
+= clean-module-lspci.mod-symbol
.1
1404 DEFSYMFILES
+= def-lspci.lst
1405 mostlyclean-module-lspci.mod
.1:
1406 rm -f lspci_mod-commands_lspci.d
1408 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-lspci.mod
.1
1409 UNDSYMFILES
+= und-lspci.lst
1411 ifneq ($(TARGET_APPLE_CC
),1)
1412 lspci.mod
: pre-lspci.o mod-lspci.o
$(TARGET_OBJ2ELF
)
1414 $(TARGET_CC
) $(lspci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-lspci.o mod-lspci.o
1415 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1416 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1418 lspci.mod
: pre-lspci.o mod-lspci.o
$(TARGET_OBJ2ELF
)
1421 $(TARGET_CC
) $(lspci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-lspci.o mod-lspci.o
1422 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1426 pre-lspci.o
: $(lspci_mod_DEPENDENCIES
) lspci_mod-commands_lspci.o
1428 $(TARGET_CC
) $(lspci_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ lspci_mod-commands_lspci.o
1430 mod-lspci.o
: mod-lspci.c
1431 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -c
-o
$@
$<
1433 mod-lspci.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1434 sh
$(srcdir)/genmodsrc.sh
'lspci' $< > $@ ||
(rm -f
$@
; exit
1)
1436 ifneq ($(TARGET_APPLE_CC
),1)
1437 def-lspci.lst
: pre-lspci.o
1438 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 lspci/' > $@
1440 def-lspci.lst
: pre-lspci.o
1441 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 lspci/' > $@
1444 und-lspci.lst
: pre-lspci.o
1446 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1448 lspci_mod-commands_lspci.o
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
)
1449 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -MD
-c
-o
$@
$<
1450 -include lspci_mod-commands_lspci.d
1452 clean-module-lspci_mod-commands_lspci-extra
.1:
1453 rm -f cmd-lspci_mod-commands_lspci.lst fs-lspci_mod-commands_lspci.lst partmap-lspci_mod-commands_lspci.lst handler-lspci_mod-commands_lspci.lst parttool-lspci_mod-commands_lspci.lst video-lspci_mod-commands_lspci.lst terminal-lspci_mod-commands_lspci.lst
1455 CLEAN_MODULE_TARGETS
+= clean-module-lspci_mod-commands_lspci-extra
.1
1457 COMMANDFILES
+= cmd-lspci_mod-commands_lspci.lst
1458 FSFILES
+= fs-lspci_mod-commands_lspci.lst
1459 PARTTOOLFILES
+= parttool-lspci_mod-commands_lspci.lst
1460 PARTMAPFILES
+= partmap-lspci_mod-commands_lspci.lst
1461 HANDLERFILES
+= handler-lspci_mod-commands_lspci.lst
1462 TERMINALFILES
+= terminal-lspci_mod-commands_lspci.lst
1463 VIDEOFILES
+= video-lspci_mod-commands_lspci.lst
1465 cmd-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) gencmdlist.sh
1466 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1468 fs-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genfslist.sh
1469 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1471 parttool-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genparttoollist.sh
1472 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1474 partmap-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genpartmaplist.sh
1475 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1477 handler-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genhandlerlist.sh
1478 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1480 terminal-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genterminallist.sh
1481 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1483 video-lspci_mod-commands_lspci.lst
: commands
/lspci.c
$(commands
/lspci.c_DEPENDENCIES
) genvideolist.sh
1484 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lspci_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh lspci
> $@ ||
(rm -f
$@
; exit
1)
1486 lspci_mod_CFLAGS
= $(COMMON_CFLAGS
)
1487 lspci_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1490 datetime_mod_SOURCES
= lib
/cmos_datetime.c
1492 clean-module-datetime.mod
.1:
1493 rm -f datetime.mod mod-datetime.o mod-datetime.c pre-datetime.o datetime_mod-lib_cmos_datetime.o und-datetime.lst
1495 CLEAN_MODULE_TARGETS
+= clean-module-datetime.mod
.1
1497 clean-module-datetime.mod-symbol
.1:
1498 rm -f def-datetime.lst
1500 CLEAN_MODULE_TARGETS
+= clean-module-datetime.mod-symbol
.1
1501 DEFSYMFILES
+= def-datetime.lst
1502 mostlyclean-module-datetime.mod
.1:
1503 rm -f datetime_mod-lib_cmos_datetime.d
1505 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-datetime.mod
.1
1506 UNDSYMFILES
+= und-datetime.lst
1508 ifneq ($(TARGET_APPLE_CC
),1)
1509 datetime.mod
: pre-datetime.o mod-datetime.o
$(TARGET_OBJ2ELF
)
1511 $(TARGET_CC
) $(datetime_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-datetime.o mod-datetime.o
1512 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1513 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1515 datetime.mod
: pre-datetime.o mod-datetime.o
$(TARGET_OBJ2ELF
)
1518 $(TARGET_CC
) $(datetime_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-datetime.o mod-datetime.o
1519 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1523 pre-datetime.o
: $(datetime_mod_DEPENDENCIES
) datetime_mod-lib_cmos_datetime.o
1525 $(TARGET_CC
) $(datetime_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ datetime_mod-lib_cmos_datetime.o
1527 mod-datetime.o
: mod-datetime.c
1528 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -c
-o
$@
$<
1530 mod-datetime.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1531 sh
$(srcdir)/genmodsrc.sh
'datetime' $< > $@ ||
(rm -f
$@
; exit
1)
1533 ifneq ($(TARGET_APPLE_CC
),1)
1534 def-datetime.lst
: pre-datetime.o
1535 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 datetime/' > $@
1537 def-datetime.lst
: pre-datetime.o
1538 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 datetime/' > $@
1541 und-datetime.lst
: pre-datetime.o
1542 echo
'datetime' > $@
1543 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1545 datetime_mod-lib_cmos_datetime.o
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
)
1546 $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -MD
-c
-o
$@
$<
1547 -include datetime_mod-lib_cmos_datetime.d
1549 clean-module-datetime_mod-lib_cmos_datetime-extra
.1:
1550 rm -f cmd-datetime_mod-lib_cmos_datetime.lst fs-datetime_mod-lib_cmos_datetime.lst partmap-datetime_mod-lib_cmos_datetime.lst handler-datetime_mod-lib_cmos_datetime.lst parttool-datetime_mod-lib_cmos_datetime.lst video-datetime_mod-lib_cmos_datetime.lst terminal-datetime_mod-lib_cmos_datetime.lst
1552 CLEAN_MODULE_TARGETS
+= clean-module-datetime_mod-lib_cmos_datetime-extra
.1
1554 COMMANDFILES
+= cmd-datetime_mod-lib_cmos_datetime.lst
1555 FSFILES
+= fs-datetime_mod-lib_cmos_datetime.lst
1556 PARTTOOLFILES
+= parttool-datetime_mod-lib_cmos_datetime.lst
1557 PARTMAPFILES
+= partmap-datetime_mod-lib_cmos_datetime.lst
1558 HANDLERFILES
+= handler-datetime_mod-lib_cmos_datetime.lst
1559 TERMINALFILES
+= terminal-datetime_mod-lib_cmos_datetime.lst
1560 VIDEOFILES
+= video-datetime_mod-lib_cmos_datetime.lst
1562 cmd-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) gencmdlist.sh
1563 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1565 fs-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) genfslist.sh
1566 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1568 parttool-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) genparttoollist.sh
1569 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1571 partmap-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) genpartmaplist.sh
1572 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1574 handler-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) genhandlerlist.sh
1575 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1577 terminal-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) genterminallist.sh
1578 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1580 video-datetime_mod-lib_cmos_datetime.lst
: lib
/cmos_datetime.c
$(lib
/cmos_datetime.c_DEPENDENCIES
) genvideolist.sh
1581 set
-e
; $(TARGET_CC
) -Ilib
-I
$(srcdir)/lib
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datetime_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh datetime
> $@ ||
(rm -f
$@
; exit
1)
1583 datetime_mod_CFLAGS
= $(COMMON_CFLAGS
)
1584 datetime_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1587 date_mod_SOURCES
= commands
/date.c
1589 clean-module-date.mod
.1:
1590 rm -f date.mod mod-date.o mod-date.c pre-date.o date_mod-commands_date.o und-date.lst
1592 CLEAN_MODULE_TARGETS
+= clean-module-date.mod
.1
1594 clean-module-date.mod-symbol
.1:
1597 CLEAN_MODULE_TARGETS
+= clean-module-date.mod-symbol
.1
1598 DEFSYMFILES
+= def-date.lst
1599 mostlyclean-module-date.mod
.1:
1600 rm -f date_mod-commands_date.d
1602 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-date.mod
.1
1603 UNDSYMFILES
+= und-date.lst
1605 ifneq ($(TARGET_APPLE_CC
),1)
1606 date.mod
: pre-date.o mod-date.o
$(TARGET_OBJ2ELF
)
1608 $(TARGET_CC
) $(date_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-date.o mod-date.o
1609 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1610 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1612 date.mod
: pre-date.o mod-date.o
$(TARGET_OBJ2ELF
)
1615 $(TARGET_CC
) $(date_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-date.o mod-date.o
1616 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1620 pre-date.o
: $(date_mod_DEPENDENCIES
) date_mod-commands_date.o
1622 $(TARGET_CC
) $(date_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ date_mod-commands_date.o
1624 mod-date.o
: mod-date.c
1625 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -c
-o
$@
$<
1627 mod-date.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1628 sh
$(srcdir)/genmodsrc.sh
'date' $< > $@ ||
(rm -f
$@
; exit
1)
1630 ifneq ($(TARGET_APPLE_CC
),1)
1631 def-date.lst
: pre-date.o
1632 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 date/' > $@
1634 def-date.lst
: pre-date.o
1635 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 date/' > $@
1638 und-date.lst
: pre-date.o
1640 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1642 date_mod-commands_date.o
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
)
1643 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -MD
-c
-o
$@
$<
1644 -include date_mod-commands_date.d
1646 clean-module-date_mod-commands_date-extra
.1:
1647 rm -f cmd-date_mod-commands_date.lst fs-date_mod-commands_date.lst partmap-date_mod-commands_date.lst handler-date_mod-commands_date.lst parttool-date_mod-commands_date.lst video-date_mod-commands_date.lst terminal-date_mod-commands_date.lst
1649 CLEAN_MODULE_TARGETS
+= clean-module-date_mod-commands_date-extra
.1
1651 COMMANDFILES
+= cmd-date_mod-commands_date.lst
1652 FSFILES
+= fs-date_mod-commands_date.lst
1653 PARTTOOLFILES
+= parttool-date_mod-commands_date.lst
1654 PARTMAPFILES
+= partmap-date_mod-commands_date.lst
1655 HANDLERFILES
+= handler-date_mod-commands_date.lst
1656 TERMINALFILES
+= terminal-date_mod-commands_date.lst
1657 VIDEOFILES
+= video-date_mod-commands_date.lst
1659 cmd-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) gencmdlist.sh
1660 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1662 fs-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genfslist.sh
1663 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1665 parttool-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genparttoollist.sh
1666 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1668 partmap-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genpartmaplist.sh
1669 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1671 handler-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genhandlerlist.sh
1672 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1674 terminal-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genterminallist.sh
1675 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1677 video-date_mod-commands_date.lst
: commands
/date.c
$(commands
/date.c_DEPENDENCIES
) genvideolist.sh
1678 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(date_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh date
> $@ ||
(rm -f
$@
; exit
1)
1680 date_mod_CFLAGS
= $(COMMON_CFLAGS
)
1681 date_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1684 datehook_mod_SOURCES
= hook
/datehook.c
1686 clean-module-datehook.mod
.1:
1687 rm -f datehook.mod mod-datehook.o mod-datehook.c pre-datehook.o datehook_mod-hook_datehook.o und-datehook.lst
1689 CLEAN_MODULE_TARGETS
+= clean-module-datehook.mod
.1
1691 clean-module-datehook.mod-symbol
.1:
1692 rm -f def-datehook.lst
1694 CLEAN_MODULE_TARGETS
+= clean-module-datehook.mod-symbol
.1
1695 DEFSYMFILES
+= def-datehook.lst
1696 mostlyclean-module-datehook.mod
.1:
1697 rm -f datehook_mod-hook_datehook.d
1699 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-datehook.mod
.1
1700 UNDSYMFILES
+= und-datehook.lst
1702 ifneq ($(TARGET_APPLE_CC
),1)
1703 datehook.mod
: pre-datehook.o mod-datehook.o
$(TARGET_OBJ2ELF
)
1705 $(TARGET_CC
) $(datehook_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-datehook.o mod-datehook.o
1706 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1707 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1709 datehook.mod
: pre-datehook.o mod-datehook.o
$(TARGET_OBJ2ELF
)
1712 $(TARGET_CC
) $(datehook_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-datehook.o mod-datehook.o
1713 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1717 pre-datehook.o
: $(datehook_mod_DEPENDENCIES
) datehook_mod-hook_datehook.o
1719 $(TARGET_CC
) $(datehook_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ datehook_mod-hook_datehook.o
1721 mod-datehook.o
: mod-datehook.c
1722 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -c
-o
$@
$<
1724 mod-datehook.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1725 sh
$(srcdir)/genmodsrc.sh
'datehook' $< > $@ ||
(rm -f
$@
; exit
1)
1727 ifneq ($(TARGET_APPLE_CC
),1)
1728 def-datehook.lst
: pre-datehook.o
1729 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 datehook/' > $@
1731 def-datehook.lst
: pre-datehook.o
1732 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 datehook/' > $@
1735 und-datehook.lst
: pre-datehook.o
1736 echo
'datehook' > $@
1737 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1739 datehook_mod-hook_datehook.o
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
)
1740 $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -MD
-c
-o
$@
$<
1741 -include datehook_mod-hook_datehook.d
1743 clean-module-datehook_mod-hook_datehook-extra
.1:
1744 rm -f cmd-datehook_mod-hook_datehook.lst fs-datehook_mod-hook_datehook.lst partmap-datehook_mod-hook_datehook.lst handler-datehook_mod-hook_datehook.lst parttool-datehook_mod-hook_datehook.lst video-datehook_mod-hook_datehook.lst terminal-datehook_mod-hook_datehook.lst
1746 CLEAN_MODULE_TARGETS
+= clean-module-datehook_mod-hook_datehook-extra
.1
1748 COMMANDFILES
+= cmd-datehook_mod-hook_datehook.lst
1749 FSFILES
+= fs-datehook_mod-hook_datehook.lst
1750 PARTTOOLFILES
+= parttool-datehook_mod-hook_datehook.lst
1751 PARTMAPFILES
+= partmap-datehook_mod-hook_datehook.lst
1752 HANDLERFILES
+= handler-datehook_mod-hook_datehook.lst
1753 TERMINALFILES
+= terminal-datehook_mod-hook_datehook.lst
1754 VIDEOFILES
+= video-datehook_mod-hook_datehook.lst
1756 cmd-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) gencmdlist.sh
1757 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1759 fs-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genfslist.sh
1760 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1762 parttool-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genparttoollist.sh
1763 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1765 partmap-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genpartmaplist.sh
1766 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1768 handler-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genhandlerlist.sh
1769 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1771 terminal-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genterminallist.sh
1772 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1774 video-datehook_mod-hook_datehook.lst
: hook
/datehook.c
$(hook
/datehook.c_DEPENDENCIES
) genvideolist.sh
1775 set
-e
; $(TARGET_CC
) -Ihook
-I
$(srcdir)/hook
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(datehook_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh datehook
> $@ ||
(rm -f
$@
; exit
1)
1777 datehook_mod_CFLAGS
= $(COMMON_CFLAGS
)
1778 datehook_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1781 lsmmap_mod_SOURCES
= commands
/lsmmap.c
1783 clean-module-lsmmap.mod
.1:
1784 rm -f lsmmap.mod mod-lsmmap.o mod-lsmmap.c pre-lsmmap.o lsmmap_mod-commands_lsmmap.o und-lsmmap.lst
1786 CLEAN_MODULE_TARGETS
+= clean-module-lsmmap.mod
.1
1788 clean-module-lsmmap.mod-symbol
.1:
1789 rm -f def-lsmmap.lst
1791 CLEAN_MODULE_TARGETS
+= clean-module-lsmmap.mod-symbol
.1
1792 DEFSYMFILES
+= def-lsmmap.lst
1793 mostlyclean-module-lsmmap.mod
.1:
1794 rm -f lsmmap_mod-commands_lsmmap.d
1796 MOSTLYCLEAN_MODULE_TARGETS
+= mostlyclean-module-lsmmap.mod
.1
1797 UNDSYMFILES
+= und-lsmmap.lst
1799 ifneq ($(TARGET_APPLE_CC
),1)
1800 lsmmap.mod
: pre-lsmmap.o mod-lsmmap.o
$(TARGET_OBJ2ELF
)
1802 $(TARGET_CC
) $(lsmmap_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ pre-lsmmap.o mod-lsmmap.o
1803 if
test ! -z
"$(TARGET_OBJ2ELF)"; then .
/$(TARGET_OBJ2ELF
) $@ ||
(rm -f
$@
; exit
1); fi
1804 $(STRIP
) --strip-unneeded
-K grub_mod_init
-K grub_mod_fini
-K _grub_mod_init
-K _grub_mod_fini
-R .note
-R .comment
$@
1806 lsmmap.mod
: pre-lsmmap.o mod-lsmmap.o
$(TARGET_OBJ2ELF
)
1809 $(TARGET_CC
) $(lsmmap_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@.bin pre-lsmmap.o mod-lsmmap.o
1810 $(OBJCONV
) -f
$(TARGET_MODULE_FORMAT
) -nr
:_grub_mod_init
:grub_mod_init
-nr
:_grub_mod_fini
:grub_mod_fini
-wd1106
-nu
-nd
$@.bin
$@
1814 pre-lsmmap.o
: $(lsmmap_mod_DEPENDENCIES
) lsmmap_mod-commands_lsmmap.o
1816 $(TARGET_CC
) $(lsmmap_mod_LDFLAGS
) $(TARGET_LDFLAGS
) -Wl
,-r
,-d
-o
$@ lsmmap_mod-commands_lsmmap.o
1818 mod-lsmmap.o
: mod-lsmmap.c
1819 $(TARGET_CC
) $(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -c
-o
$@
$<
1821 mod-lsmmap.c
: $(builddir
)/moddep.lst
$(srcdir)/genmodsrc.sh
1822 sh
$(srcdir)/genmodsrc.sh
'lsmmap' $< > $@ ||
(rm -f
$@
; exit
1)
1824 ifneq ($(TARGET_APPLE_CC
),1)
1825 def-lsmmap.lst
: pre-lsmmap.o
1826 $(NM
) -g
--defined-only
-P
-p
$< | sed
's/^\([^ ]*\).*/\1 lsmmap/' > $@
1828 def-lsmmap.lst
: pre-lsmmap.o
1829 $(NM
) -g
-P
-p
$< | grep
-E
'^[a-zA-Z0-9_]* [TDS]' | sed
's/^\([^ ]*\).*/\1 lsmmap/' > $@
1832 und-lsmmap.lst
: pre-lsmmap.o
1834 $(NM
) -u
-P
-p
$< | cut
-f1
-d
' ' >> $@
1836 lsmmap_mod-commands_lsmmap.o
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
)
1837 $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -MD
-c
-o
$@
$<
1838 -include lsmmap_mod-commands_lsmmap.d
1840 clean-module-lsmmap_mod-commands_lsmmap-extra
.1:
1841 rm -f cmd-lsmmap_mod-commands_lsmmap.lst fs-lsmmap_mod-commands_lsmmap.lst partmap-lsmmap_mod-commands_lsmmap.lst handler-lsmmap_mod-commands_lsmmap.lst parttool-lsmmap_mod-commands_lsmmap.lst video-lsmmap_mod-commands_lsmmap.lst terminal-lsmmap_mod-commands_lsmmap.lst
1843 CLEAN_MODULE_TARGETS
+= clean-module-lsmmap_mod-commands_lsmmap-extra
.1
1845 COMMANDFILES
+= cmd-lsmmap_mod-commands_lsmmap.lst
1846 FSFILES
+= fs-lsmmap_mod-commands_lsmmap.lst
1847 PARTTOOLFILES
+= parttool-lsmmap_mod-commands_lsmmap.lst
1848 PARTMAPFILES
+= partmap-lsmmap_mod-commands_lsmmap.lst
1849 HANDLERFILES
+= handler-lsmmap_mod-commands_lsmmap.lst
1850 TERMINALFILES
+= terminal-lsmmap_mod-commands_lsmmap.lst
1851 VIDEOFILES
+= video-lsmmap_mod-commands_lsmmap.lst
1853 cmd-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) gencmdlist.sh
1854 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/gencmdlist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1856 fs-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) genfslist.sh
1857 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genfslist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1859 parttool-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) genparttoollist.sh
1860 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genparttoollist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1862 partmap-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) genpartmaplist.sh
1863 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genpartmaplist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1865 handler-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) genhandlerlist.sh
1866 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genhandlerlist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1868 terminal-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) genterminallist.sh
1869 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genterminallist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1871 video-lsmmap_mod-commands_lsmmap.lst
: commands
/lsmmap.c
$(commands
/lsmmap.c_DEPENDENCIES
) genvideolist.sh
1872 set
-e
; $(TARGET_CC
) -Icommands
-I
$(srcdir)/commands
$(TARGET_CPPFLAGS
) $(TARGET_CFLAGS
) $(lsmmap_mod_CFLAGS
) -E
$< | sh
$(srcdir)/genvideolist.sh lsmmap
> $@ ||
(rm -f
$@
; exit
1)
1874 lsmmap_mod_CFLAGS
= $(COMMON_CFLAGS
)
1875 lsmmap_mod_LDFLAGS
= $(COMMON_LDFLAGS
)
1877 include $(srcdir)/conf
/i386.mk
1878 include $(srcdir)/conf
/common.mk