]>
Commit | Line | Data |
---|---|---|
8c411768 BC |
1 | AutoGen definitions Makefile.tpl; |
2 | ||
b524259b | 3 | script = { |
3572f2b6 | 4 | installdir = noinst; |
b524259b BC |
5 | name = gensyminfo.sh; |
6 | common = gensyminfo.sh.in; | |
7 | }; | |
8 | ||
9 | script = { | |
3572f2b6 | 10 | installdir = noinst; |
b524259b BC |
11 | name = genmod.sh; |
12 | common = genmod.sh.in; | |
13 | }; | |
14 | ||
6ad6223e VS |
15 | script = { |
16 | installdir = noinst; | |
17 | name = modinfo.sh; | |
18 | common = modinfo.sh.in; | |
19 | }; | |
20 | ||
8c411768 BC |
21 | kernel = { |
22 | name = kernel; | |
23 | ||
c1c6e4c0 BC |
24 | nostrip = emu; |
25 | ||
911bd640 | 26 | emu_ldflags = '-Wl,-r,-d'; |
6585de4c VS |
27 | i386_efi_ldflags = '-Wl,-r,-d'; |
28 | i386_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment'; | |
29 | x86_64_efi_ldflags = '-Wl,-r,-d'; | |
30 | x86_64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment'; | |
31 | ||
32 | ia64_efi_cflags = '-fno-builtin -fpic -minline-int-divide-max-throughput'; | |
bea33583 | 33 | ia64_efi_ldflags = '-Wl,-r,-d'; |
34 | ia64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment'; | |
2d465fb0 BC |
35 | |
36 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
fb53b340 | 37 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200'; |
2d465fb0 BC |
38 | |
39 | i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
fb53b340 | 40 | i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200'; |
2d465fb0 | 41 | |
03f80960 VS |
42 | ldadd = '$(LDADD_KERNEL)'; |
43 | ||
fb53b340 VS |
44 | i386_coreboot_ldflags = '-Wl,-Ttext=0x8200'; |
45 | i386_multiboot_ldflags = '-Wl,-Ttext=0x8200'; | |
46 | i386_ieee1275_ldflags = '-Wl,-Ttext=0x10000'; | |
54da1feb | 47 | mips_loongson_ldflags = '-Wl,-Ttext,0x80200000'; |
fb53b340 VS |
48 | powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000'; |
49 | sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400'; | |
b772baed | 50 | mips_arc_ldflags = '-Wl,-Ttext,0x8bd00000'; |
3666d5f6 | 51 | mips_qemu_mips_ldflags = '-Wl,-Ttext,0x80200000'; |
8c411768 | 52 | |
54da1feb | 53 | mips_loongson_cppflags = '-DUSE_ASCII_FAILBACK'; |
8c411768 | 54 | i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)'; |
16321bf9 BC |
55 | emu_cflags = '$(CFLAGS_GNULIB)'; |
56 | emu_cppflags = '$(CPPFLAGS_GNULIB)'; | |
8c411768 | 57 | |
8427685f BC |
58 | i386_pc_startup = kern/i386/pc/startup.S; |
59 | i386_efi_startup = kern/i386/efi/startup.S; | |
60 | x86_64_efi_startup = kern/x86_64/efi/startup.S; | |
61 | i386_qemu_startup = kern/i386/qemu/startup.S; | |
62 | i386_ieee1275_startup = kern/i386/ieee1275/startup.S; | |
eefe8abd VS |
63 | i386_coreboot_startup = kern/i386/coreboot/startup.S; |
64 | i386_multiboot_startup = kern/i386/coreboot/startup.S; | |
f440c33f | 65 | mips_startup = kern/mips/startup.S; |
8427685f BC |
66 | sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S; |
67 | powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S; | |
68 | ||
69 | common = kern/command.c; | |
70 | common = kern/corecmd.c; | |
71 | common = kern/device.c; | |
72 | common = kern/disk.c; | |
73 | common = kern/dl.c; | |
74 | common = kern/env.c; | |
75 | common = kern/err.c; | |
76 | common = kern/file.c; | |
77 | common = kern/fs.c; | |
78 | common = kern/list.c; | |
79 | common = kern/main.c; | |
80 | common = kern/misc.c; | |
81 | common = kern/parser.c; | |
82 | common = kern/partition.c; | |
83 | common = kern/rescue_parser.c; | |
84 | common = kern/rescue_reader.c; | |
85 | common = kern/term.c; | |
86 | ||
87 | noemu = kern/mm.c; | |
88 | noemu = kern/time.c; | |
89 | noemu = kern/generic/millisleep.c; | |
90 | ||
91 | noemu_nodist = symlist.c; | |
92 | ||
eefe8abd | 93 | i386_pc = kern/generic/rtc_get_time_ms.c; |
eefe8abd VS |
94 | i386_qemu = kern/generic/rtc_get_time_ms.c; |
95 | i386_coreboot = kern/generic/rtc_get_time_ms.c; | |
96 | i386_multiboot = kern/generic/rtc_get_time_ms.c; | |
8906c3dd | 97 | mips = kern/generic/rtc_get_time_ms.c; |
8427685f BC |
98 | |
99 | ieee1275 = disk/ieee1275/ofdisk.c; | |
100 | ieee1275 = kern/ieee1275/cmain.c; | |
101 | ieee1275 = kern/ieee1275/ieee1275.c; | |
102 | ieee1275 = kern/ieee1275/mmap.c; | |
103 | ieee1275 = kern/ieee1275/openfw.c; | |
104 | ieee1275 = term/ieee1275/ofconsole.c; | |
574618a2 | 105 | ieee1275 = kern/ieee1275/init.c; |
8427685f | 106 | |
ee74fa48 VS |
107 | terminfoinkernel = term/terminfo.c; |
108 | terminfoinkernel = term/tparm.c; | |
109 | terminfoinkernel = commands/extcmd.c; | |
110 | terminfoinkernel = lib/arg.c; | |
8427685f BC |
111 | |
112 | i386 = kern/i386/dl.c; | |
113 | ||
114 | i386_coreboot_multiboot_qemu = kern/i386/coreboot/init.c; | |
8427685f BC |
115 | i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c; |
116 | ||
eefe8abd VS |
117 | i386_coreboot_multiboot_qemu = term/i386/vga_common.c; |
118 | i386_pc = term/i386/vga_common.c; | |
8427685f | 119 | |
eefe8abd | 120 | x86 = kern/i386/pit.c; |
8427685f | 121 | |
6585de4c VS |
122 | efi = disk/efi/efidisk.c; |
123 | efi = kern/efi/efi.c; | |
124 | efi = kern/efi/init.c; | |
125 | efi = kern/efi/mm.c; | |
126 | efi = term/efi/console.c; | |
8427685f BC |
127 | |
128 | i386_efi = kern/i386/tsc.c; | |
6585de4c | 129 | i386_efi = kern/i386/efi/init.c; |
8427685f BC |
130 | |
131 | x86_64_efi = kern/i386/tsc.c; | |
132 | x86_64_efi = kern/x86_64/dl.c; | |
133 | x86_64_efi = kern/x86_64/efi/callwrap.S; | |
6585de4c VS |
134 | x86_64_efi = kern/i386/efi/init.c; |
135 | ||
136 | ia64_efi = kern/ia64/efi/startup.S; | |
6585de4c | 137 | ia64_efi = kern/ia64/efi/init.c; |
c18271ed | 138 | ia64_efi = kern/ia64/dl.c; |
5452733f | 139 | ia64_efi = kern/ia64/dl_helper.c; |
8427685f | 140 | |
8c411768 BC |
141 | i386_pc = kern/i386/pc/init.c; |
142 | i386_pc = kern/i386/pc/mmap.c; | |
143 | i386_pc = kern/i386/tsc.c; | |
8c411768 | 144 | i386_pc = term/i386/pc/console.c; |
8427685f BC |
145 | |
146 | i386_qemu = bus/pci.c; | |
93c06ff9 | 147 | i386_qemu = kern/vga_init.c; |
8427685f BC |
148 | i386_qemu = kern/i386/qemu/mmap.c; |
149 | i386_qemu = kern/i386/tsc.c; | |
150 | ||
8c411768 | 151 | i386_coreboot = kern/i386/coreboot/mmap.c; |
8c411768 | 152 | i386_coreboot = kern/i386/tsc.c; |
8427685f | 153 | |
062cdbc1 | 154 | i386_multiboot = kern/i386/multiboot_mmap.c; |
062cdbc1 | 155 | i386_multiboot = kern/i386/tsc.c; |
8c411768 | 156 | |
f440c33f VS |
157 | mips = kern/mips/cache.S; |
158 | mips = kern/mips/dl.c; | |
159 | mips = kern/mips/init.c; | |
8906c3dd | 160 | |
3666d5f6 VS |
161 | mips_qemu_mips = kern/mips/qemu_mips/init.c; |
162 | mips_qemu_mips = term/ns8250.c; | |
163 | mips_qemu_mips = term/serial.c; | |
d7345994 VS |
164 | mips_qemu_mips = term/at_keyboard.c; |
165 | mips_qemu_mips = commands/keylayouts.c; | |
93c06ff9 VS |
166 | mips_qemu_mips = term/i386/pc/vga_text.c; |
167 | mips_qemu_mips = term/i386/vga_common.c; | |
168 | mips_qemu_mips = kern/vga_init.c; | |
3666d5f6 | 169 | |
8906c3dd VS |
170 | mips_arc = kern/mips/arc/init.c; |
171 | mips_arc = term/arc/console.c; | |
172 | mips_arc = disk/arc/arcdisk.c; | |
173 | ||
54da1feb VS |
174 | mips_loongson = term/ns8250.c; |
175 | mips_loongson = bus/bonito.c; | |
176 | mips_loongson = bus/cs5536.c; | |
177 | mips_loongson = bus/pci.c; | |
54da1feb VS |
178 | mips_loongson = kern/mips/loongson/init.c; |
179 | mips_loongson = term/at_keyboard.c; | |
180 | mips_loongson = term/serial.c; | |
181 | mips_loongson = video/sm712.c; | |
182 | mips_loongson = video/sis315pro.c; | |
d94497ea | 183 | mips_loongson = video/radeon_fuloong2e.c; |
6556eba9 | 184 | extra_dist = video/sm712_init.c; |
54da1feb | 185 | mips_loongson = commands/keylayouts.c; |
8c411768 | 186 | |
8c411768 | 187 | powerpc_ieee1275 = kern/powerpc/cache.S; |
8427685f BC |
188 | powerpc_ieee1275 = kern/powerpc/dl.c; |
189 | ||
190 | sparc64_ieee1275 = kern/sparc64/cache.S; | |
191 | sparc64_ieee1275 = kern/sparc64/dl.c; | |
8c411768 | 192 | sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c; |
8c411768 | 193 | |
8427685f BC |
194 | emu = disk/host.c; |
195 | emu = gnulib/progname.c; | |
5fe7620a | 196 | emu = gnulib/error.c; |
0a2b2cdc | 197 | emu = kern/emu/cache_s.S; |
8427685f | 198 | emu = kern/emu/console.c; |
8c411768 BC |
199 | emu = kern/emu/hostdisk.c; |
200 | emu = kern/emu/hostfs.c; | |
8427685f BC |
201 | emu = kern/emu/main.c; |
202 | emu = kern/emu/misc.c; | |
203 | emu = kern/emu/mm.c; | |
204 | emu = kern/emu/time.c; | |
6f49d0aa | 205 | emu = kern/emu/cache.c; |
610c1efd | 206 | |
eefe8abd | 207 | videoinkernel = term/gfxterm.c; |
eefe8abd VS |
208 | videoinkernel = font/font.c; |
209 | videoinkernel = font/font_cmd.c; | |
210 | videoinkernel = io/bufio.c; | |
211 | videoinkernel = video/bitmap.c; | |
212 | videoinkernel = video/bitmap_scale.c; | |
52832c55 | 213 | videoinkernel = video/colors.c; |
eefe8abd VS |
214 | videoinkernel = video/fb/fbblit.c; |
215 | videoinkernel = video/fb/fbfill.c; | |
216 | videoinkernel = video/fb/fbutil.c; | |
217 | videoinkernel = video/fb/video_fb.c; | |
218 | videoinkernel = video/video.c; | |
219 | ||
685475e5 VS |
220 | videoinkernel = commands/boot.c; |
221 | ||
fc5efcc0 | 222 | extra_dist = kern/i386/int.S; |
610c1efd BC |
223 | extra_dist = kern/i386/realmode.S; |
224 | extra_dist = kern/i386/pc/lzma_decode.S; | |
d768d159 | 225 | extra_dist = kern/mips/cache_flush.S; |
8c411768 BC |
226 | }; |
227 | ||
228 | program = { | |
229 | name = grub-emu; | |
230 | mansection = 1; | |
231 | ||
8427685f BC |
232 | emu = kern/emu/full.c; |
233 | emu_nodist = grub_emu_init.c; | |
8c411768 | 234 | |
e235a228 | 235 | ldadd = 'kernel.img$(EXEEXT)'; |
8c411768 | 236 | ldadd = '$(MODULE_FILES)'; |
f4727da9 | 237 | ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 238 | |
911bd640 | 239 | enable = emu; |
8c411768 BC |
240 | }; |
241 | ||
242 | program = { | |
243 | name = grub-emu-lite; | |
244 | ||
8427685f | 245 | emu = kern/emu/lite.c; |
8427685f | 246 | emu_nodist = symlist.c; |
8c411768 | 247 | |
e235a228 | 248 | ldadd = 'kernel.img$(EXEEXT)'; |
f4727da9 | 249 | ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 250 | |
911bd640 | 251 | enable = emu; |
8c411768 BC |
252 | }; |
253 | ||
8c411768 BC |
254 | image = { |
255 | name = boot; | |
256 | i386_pc = boot/i386/pc/boot.S; | |
8c411768 | 257 | i386_qemu = boot/i386/qemu/boot.S; |
8427685f | 258 | sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S; |
2d465fb0 BC |
259 | |
260 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
261 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
262 | ||
263 | i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
264 | i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)'; | |
8c411768 BC |
265 | i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)'; |
266 | ||
911bd640 | 267 | sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big'; |
8c411768 | 268 | sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000'; |
911bd640 BC |
269 | |
270 | objcopyflags = '-O binary'; | |
271 | enable = i386_pc; | |
272 | enable = i386_qemu; | |
273 | enable = sparc64_ieee1275; | |
8c411768 BC |
274 | }; |
275 | ||
276 | image = { | |
277 | name = cdboot; | |
2d465fb0 BC |
278 | i386_pc = boot/i386/pc/cdboot.S; |
279 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
280 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
911bd640 BC |
281 | objcopyflags = '-O binary'; |
282 | enable = i386_pc; | |
8c411768 BC |
283 | }; |
284 | ||
285 | image = { | |
286 | name = pxeboot; | |
2d465fb0 | 287 | i386_pc = boot/i386/pc/pxeboot.S; |
8c411768 | 288 | |
2d465fb0 BC |
289 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; |
290 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
911bd640 BC |
291 | |
292 | objcopyflags = '-O binary'; | |
293 | enable = i386_pc; | |
8c411768 BC |
294 | }; |
295 | ||
296 | image = { | |
297 | name = diskboot; | |
298 | i386_pc = boot/i386/pc/diskboot.S; | |
2d465fb0 BC |
299 | |
300 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
301 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000'; | |
8c411768 BC |
302 | |
303 | sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S; | |
304 | sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200'; | |
911bd640 BC |
305 | |
306 | objcopyflags = '-O binary'; | |
307 | ||
308 | enable = i386_pc; | |
309 | enable = sparc64_ieee1275; | |
8c411768 BC |
310 | }; |
311 | ||
312 | image = { | |
313 | name = lnxboot; | |
2d465fb0 | 314 | i386_pc = boot/i386/pc/lnxboot.S; |
8c411768 | 315 | |
2d465fb0 BC |
316 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; |
317 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000'; | |
911bd640 BC |
318 | |
319 | objcopyflags = '-O binary'; | |
320 | enable = i386_pc; | |
8c411768 BC |
321 | }; |
322 | ||
c5b4cd37 | 323 | image = { |
758194b0 | 324 | name = xz_decompress; |
c5b4cd37 | 325 | mips = boot/mips/startup_raw.S; |
758194b0 VS |
326 | common = boot/decompressor/minilib.c; |
327 | common = boot/decompressor/xz.c; | |
f8926c32 VS |
328 | common = lib/xzembed/xz_dec_bcj.c; |
329 | common = lib/xzembed/xz_dec_lzma2.c; | |
330 | common = lib/xzembed/xz_dec_stream.c; | |
c5b4cd37 | 331 | |
400b9371 | 332 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1'; |
c5b4cd37 VS |
333 | |
334 | objcopyflags = '-O binary'; | |
400b9371 | 335 | mips_loongson_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000'; |
3666d5f6 | 336 | mips_qemu_mips_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000'; |
b772baed | 337 | mips_arc_ldflags = '-static-libgcc -Wl,-Ttext,0x8bc00000'; |
5a407278 | 338 | ldadd = '-lgcc'; |
c5b4cd37 VS |
339 | cflags = '-static-libgcc'; |
340 | enable = mips; | |
341 | }; | |
342 | ||
758194b0 VS |
343 | image = { |
344 | name = none_decompress; | |
345 | mips = boot/mips/startup_raw.S; | |
346 | common = boot/decompressor/none.c; | |
347 | ||
400b9371 | 348 | cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1'; |
758194b0 VS |
349 | |
350 | objcopyflags = '-O binary'; | |
400b9371 | 351 | mips_loongson_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000'; |
3666d5f6 | 352 | mips_qemu_mips_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000'; |
b772baed | 353 | mips_arc_ldflags = '-static-libgcc -Wl,-Ttext,0x8bc00000'; |
5a407278 | 354 | ldadd = '-lgcc'; |
758194b0 VS |
355 | cflags = '-static-libgcc'; |
356 | enable = mips; | |
357 | }; | |
358 | ||
297f0c2b BC |
359 | image = { |
360 | name = fwstart; | |
54da1feb | 361 | mips_loongson = boot/mips/loongson/fwstart.S; |
911bd640 | 362 | objcopyflags = '-O binary'; |
1d955d00 | 363 | ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic'; |
54da1feb | 364 | enable = mips_loongson; |
297f0c2b BC |
365 | }; |
366 | ||
a9fa2a22 | 367 | image = { |
14a2562c VS |
368 | name = fwstart_fuloong2f; |
369 | mips_loongson = boot/mips/loongson/fuloong2f.S; | |
911bd640 | 370 | objcopyflags = '-O binary'; |
a9fa2a22 | 371 | ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic'; |
54da1feb | 372 | enable = mips_loongson; |
297f0c2b BC |
373 | }; |
374 | ||
e235a228 BC |
375 | module = { |
376 | name = trig; | |
8427685f | 377 | common_nodist = trigtables.c; |
e235a228 | 378 | extra_dist = gentrigtables.c; |
e235a228 BC |
379 | }; |
380 | ||
baea1766 BC |
381 | module = { |
382 | name = cs5536; | |
f7711f5e BC |
383 | x86 = bus/cs5536.c; |
384 | enable = x86; | |
baea1766 BC |
385 | }; |
386 | ||
8c411768 BC |
387 | module = { |
388 | name = libusb; | |
8427685f | 389 | emu = bus/usb/emu/usb.c; |
911bd640 BC |
390 | enable = emu; |
391 | condition = COND_GRUB_EMU_USB; | |
8c411768 BC |
392 | }; |
393 | ||
297f0c2b BC |
394 | module = { |
395 | name = lsspd; | |
54da1feb VS |
396 | mips_loongson = commands/mips/loongson/lsspd.c; |
397 | enable = mips_loongson; | |
297f0c2b BC |
398 | }; |
399 | ||
8c411768 BC |
400 | module = { |
401 | name = usb; | |
8427685f | 402 | common = bus/usb/usb.c; |
fe942b7d VS |
403 | common = bus/usb/usbtrans.c; |
404 | common = bus/usb/usbhub.c; | |
eefe8abd | 405 | enable = usb; |
fe942b7d VS |
406 | }; |
407 | ||
408 | module = { | |
409 | name = emuusb; | |
410 | common = bus/usb/usb.c; | |
411 | condition = COND_GRUB_EMU_USB; | |
8c411768 BC |
412 | }; |
413 | ||
d84666e6 BC |
414 | module = { |
415 | name = usbserial_common; | |
416 | common = bus/usb/serial/common.c; | |
eefe8abd | 417 | enable = usb; |
d84666e6 BC |
418 | }; |
419 | ||
420 | module = { | |
421 | name = usbserial_pl2303; | |
422 | common = bus/usb/serial/pl2303.c; | |
eefe8abd | 423 | enable = usb; |
d84666e6 BC |
424 | }; |
425 | ||
426 | module = { | |
427 | name = usbserial_ftdi; | |
428 | common = bus/usb/serial/ftdi.c; | |
eefe8abd | 429 | enable = usb; |
d84666e6 BC |
430 | }; |
431 | ||
8c411768 BC |
432 | module = { |
433 | name = uhci; | |
8427685f | 434 | common = bus/usb/uhci.c; |
eefe8abd | 435 | enable = x86; |
8c411768 BC |
436 | }; |
437 | ||
438 | module = { | |
439 | name = ohci; | |
8427685f | 440 | common = bus/usb/ohci.c; |
eefe8abd | 441 | enable = pci; |
8c411768 BC |
442 | }; |
443 | ||
444 | module = { | |
445 | name = pci; | |
fe942b7d | 446 | common = bus/pci.c; |
d9b78bce | 447 | |
911bd640 | 448 | enable = i386_pc; |
6585de4c VS |
449 | enable = i386_efi; |
450 | enable = x86_64_efi; | |
911bd640 BC |
451 | enable = i386_ieee1275; |
452 | enable = i386_coreboot; | |
f0b05761 | 453 | enable = i386_multiboot; |
fe942b7d VS |
454 | }; |
455 | ||
456 | module = { | |
457 | name = emupci; | |
458 | common = bus/emu/pci.c; | |
459 | common = commands/lspci.c; | |
460 | ||
461 | condition = COND_GRUB_EMU_PCI; | |
8c411768 BC |
462 | }; |
463 | ||
8906c3dd VS |
464 | module = { |
465 | name = lsdev; | |
466 | common = commands/arc/lsdev.c; | |
467 | ||
468 | enable = mips_arc; | |
469 | }; | |
470 | ||
8c411768 BC |
471 | library = { |
472 | name = libgnulib.a; | |
8427685f | 473 | common = gnulib/regex.c; |
8c411768 BC |
474 | cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; |
475 | cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)'; | |
8c411768 BC |
476 | }; |
477 | ||
16c7cb32 BC |
478 | module = { |
479 | name = cmostest; | |
eefe8abd VS |
480 | common = commands/i386/cmostest.c; |
481 | enable = cmos; | |
16c7cb32 BC |
482 | }; |
483 | ||
8c411768 BC |
484 | module = { |
485 | name = iorw; | |
8427685f | 486 | common = commands/iorw.c; |
f7711f5e | 487 | enable = x86; |
8c411768 BC |
488 | }; |
489 | ||
490 | module = { | |
491 | name = regexp; | |
8427685f | 492 | common = commands/regexp.c; |
8fdefb92 | 493 | common = commands/wildcard.c; |
8c411768 BC |
494 | ldadd = libgnulib.a; |
495 | cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; | |
496 | cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)'; | |
8c411768 BC |
497 | }; |
498 | ||
499 | module = { | |
500 | name = acpi; | |
501 | ||
1782b135 | 502 | common = commands/acpi.c; |
6585de4c | 503 | efi = commands/efi/acpi.c; |
8c411768 | 504 | i386_pc = commands/i386/pc/acpi.c; |
16bd6cfa VS |
505 | i386_coreboot = commands/i386/pc/acpi.c; |
506 | i386_multiboot = commands/i386/pc/acpi.c; | |
911bd640 | 507 | |
6585de4c | 508 | enable = efi; |
911bd640 | 509 | enable = i386_pc; |
16bd6cfa VS |
510 | enable = i386_coreboot; |
511 | enable = i386_multiboot; | |
8c411768 BC |
512 | }; |
513 | ||
1782b135 TG |
514 | module = { |
515 | name = lsacpi; | |
516 | ||
517 | common = commands/lsacpi.c; | |
518 | ||
9a79fcf2 | 519 | enable = efi; |
1782b135 TG |
520 | enable = i386_pc; |
521 | enable = i386_coreboot; | |
522 | enable = i386_multiboot; | |
523 | }; | |
524 | ||
105de6a7 TG |
525 | module = { |
526 | name = lsefisystab; | |
527 | ||
528 | common = commands/efi/lsefisystab.c; | |
529 | ||
9a79fcf2 | 530 | enable = efi; |
105de6a7 TG |
531 | }; |
532 | ||
533 | module = { | |
534 | name = lssal; | |
535 | ||
536 | common = commands/efi/lssal.c; | |
537 | ||
9a79fcf2 | 538 | enable = efi; |
105de6a7 TG |
539 | }; |
540 | ||
41a331a8 TG |
541 | module = { |
542 | name = lsefimmap; | |
543 | ||
544 | common = commands/efi/lsefimmap.c; | |
545 | ||
9a79fcf2 | 546 | enable = efi; |
41a331a8 TG |
547 | }; |
548 | ||
8c411768 | 549 | module = { |
8c411768 | 550 | name = blocklist; |
8427685f | 551 | common = commands/blocklist.c; |
8c411768 BC |
552 | }; |
553 | ||
554 | module = { | |
8c411768 | 555 | name = boot; |
8427685f | 556 | common = commands/boot.c; |
8c411768 | 557 | i386_pc = lib/i386/pc/biosnum.c; |
685475e5 | 558 | enable = videomodules; |
8c411768 BC |
559 | }; |
560 | ||
561 | module = { | |
8c411768 | 562 | name = cat; |
8427685f | 563 | common = commands/cat.c; |
8c411768 BC |
564 | }; |
565 | ||
566 | module = { | |
8c411768 | 567 | name = cmp; |
8427685f | 568 | common = commands/cmp.c; |
8c411768 BC |
569 | }; |
570 | ||
571 | module = { | |
8c411768 | 572 | name = configfile; |
8427685f | 573 | common = commands/configfile.c; |
8c411768 BC |
574 | }; |
575 | ||
576 | module = { | |
577 | name = cpuid; | |
354128c8 | 578 | x86 = commands/i386/cpuid.c; |
911bd640 | 579 | enable = x86; |
8c411768 BC |
580 | }; |
581 | ||
8c411768 | 582 | module = { |
8c411768 | 583 | name = date; |
8427685f | 584 | common = commands/date.c; |
8c411768 BC |
585 | }; |
586 | ||
587 | module = { | |
588 | name = drivemap; | |
589 | ||
590 | i386_pc = commands/i386/pc/drivemap.c; | |
591 | i386_pc = commands/i386/pc/drivemap_int13h.S; | |
911bd640 | 592 | enable = i386_pc; |
8c411768 BC |
593 | }; |
594 | ||
595 | module = { | |
8c411768 | 596 | name = echo; |
8427685f | 597 | common = commands/echo.c; |
8c411768 BC |
598 | }; |
599 | ||
600 | module = { | |
8c411768 | 601 | name = extcmd; |
8427685f BC |
602 | common = commands/extcmd.c; |
603 | common = lib/arg.c; | |
ee74fa48 | 604 | enable = terminfomodule; |
8c411768 BC |
605 | }; |
606 | ||
607 | module = { | |
608 | name = fixvideo; | |
6585de4c VS |
609 | common = commands/efi/fixvideo.c; |
610 | enable = i386_efi; | |
611 | enable = x86_64_efi; | |
8c411768 BC |
612 | }; |
613 | ||
614 | module = { | |
8c411768 | 615 | name = gptsync; |
8427685f | 616 | common = commands/gptsync.c; |
8c411768 BC |
617 | }; |
618 | ||
619 | module = { | |
620 | name = halt; | |
8427685f | 621 | nopc = commands/halt.c; |
8c411768 | 622 | i386_pc = commands/i386/pc/halt.c; |
4df7996d | 623 | i386_pc = commands/acpihalt.c; |
2419f17a VS |
624 | i386_coreboot = commands/acpihalt.c; |
625 | i386_multiboot = commands/acpihalt.c; | |
c18271ed | 626 | i386_efi = commands/acpihalt.c; |
627 | x86_64_efi = commands/acpihalt.c; | |
afba9f98 VS |
628 | i386_multiboot = lib/i386/halt.c; |
629 | i386_coreboot = lib/i386/halt.c; | |
630 | i386_qemu = lib/i386/halt.c; | |
6585de4c | 631 | efi = lib/efi/halt.c; |
afba9f98 VS |
632 | ieee1275 = lib/ieee1275/halt.c; |
633 | emu = lib/emu/halt.c; | |
8c411768 BC |
634 | }; |
635 | ||
544c2487 VS |
636 | module = { |
637 | name = reboot; | |
638 | i386 = lib/i386/reboot.c; | |
639 | i386 = lib/i386/reboot_trampoline.S; | |
640 | ia64_efi = lib/efi/reboot.c; | |
641 | x86_64_efi = lib/efi/reboot.c; | |
642 | powerpc_ieee1275 = lib/ieee1275/reboot.c; | |
643 | sparc64_ieee1275 = lib/ieee1275/reboot.c; | |
644 | mips_arc = lib/mips/arc/reboot.c; | |
645 | mips_loongson = lib/mips/loongson/reboot.c; | |
646 | mips_qemu_mips = lib/mips/qemu_mips/reboot.c; | |
647 | common = commands/reboot.c; | |
648 | }; | |
649 | ||
8c411768 | 650 | module = { |
8c411768 | 651 | name = hashsum; |
8427685f | 652 | common = commands/hashsum.c; |
8c411768 BC |
653 | }; |
654 | ||
655 | module = { | |
656 | name = hdparm; | |
8427685f BC |
657 | common = commands/hdparm.c; |
658 | common = lib/hexdump.c; | |
eefe8abd | 659 | enable = pci; |
9a79fcf2 | 660 | enable = mips_qemu_mips; |
8c411768 BC |
661 | }; |
662 | ||
663 | module = { | |
8c411768 | 664 | name = help; |
8427685f | 665 | common = commands/help.c; |
8c411768 BC |
666 | }; |
667 | ||
668 | module = { | |
8c411768 | 669 | name = hexdump; |
8427685f BC |
670 | common = commands/hexdump.c; |
671 | common = lib/hexdump.c; | |
8c411768 BC |
672 | }; |
673 | ||
674 | module = { | |
8c411768 | 675 | name = keystatus; |
8427685f | 676 | common = commands/keystatus.c; |
8c411768 BC |
677 | }; |
678 | ||
679 | module = { | |
680 | name = loadbios; | |
6585de4c VS |
681 | common = commands/efi/loadbios.c; |
682 | enable = i386_efi; | |
683 | enable = x86_64_efi; | |
8c411768 BC |
684 | }; |
685 | ||
686 | module = { | |
8c411768 | 687 | name = loadenv; |
8427685f BC |
688 | common = commands/loadenv.c; |
689 | common = lib/envblk.c; | |
8c411768 BC |
690 | }; |
691 | ||
692 | module = { | |
8c411768 | 693 | name = ls; |
8427685f | 694 | common = commands/ls.c; |
8c411768 BC |
695 | }; |
696 | ||
697 | module = { | |
8c411768 | 698 | name = lsmmap; |
8427685f | 699 | common = commands/lsmmap.c; |
8c411768 BC |
700 | }; |
701 | ||
702 | module = { | |
703 | name = lspci; | |
8427685f | 704 | common = commands/lspci.c; |
8c411768 | 705 | |
eefe8abd | 706 | enable = pci; |
8c411768 BC |
707 | }; |
708 | ||
709 | module = { | |
8c411768 | 710 | name = memrw; |
8427685f | 711 | common = commands/memrw.c; |
8c411768 BC |
712 | }; |
713 | ||
714 | module = { | |
8c411768 | 715 | name = minicmd; |
8427685f | 716 | common = commands/minicmd.c; |
8c411768 BC |
717 | }; |
718 | ||
719 | module = { | |
8c411768 | 720 | name = parttool; |
8427685f | 721 | common = commands/parttool.c; |
8c411768 BC |
722 | }; |
723 | ||
724 | module = { | |
8c411768 | 725 | name = password; |
8427685f | 726 | common = commands/password.c; |
8c411768 BC |
727 | }; |
728 | ||
729 | module = { | |
8c411768 | 730 | name = password_pbkdf2; |
8427685f | 731 | common = commands/password_pbkdf2.c; |
8c411768 BC |
732 | }; |
733 | ||
734 | module = { | |
735 | name = play; | |
f7711f5e BC |
736 | x86 = commands/i386/pc/play.c; |
737 | enable = x86; | |
8c411768 BC |
738 | }; |
739 | ||
740 | module = { | |
8c411768 | 741 | name = probe; |
8427685f | 742 | common = commands/probe.c; |
8c411768 BC |
743 | }; |
744 | ||
8c411768 | 745 | module = { |
8c411768 | 746 | name = read; |
8427685f | 747 | common = commands/read.c; |
8c411768 BC |
748 | }; |
749 | ||
8c411768 | 750 | module = { |
8c411768 | 751 | name = search; |
8427685f | 752 | common = commands/search_wrap.c; |
610c1efd | 753 | extra_dist = commands/search.c; |
8c411768 BC |
754 | }; |
755 | ||
756 | module = { | |
8c411768 | 757 | name = search_fs_file; |
8427685f | 758 | common = commands/search_file.c; |
8c411768 BC |
759 | }; |
760 | ||
761 | module = { | |
8c411768 | 762 | name = search_fs_uuid; |
8427685f | 763 | common = commands/search_uuid.c; |
8c411768 BC |
764 | }; |
765 | ||
766 | module = { | |
8c411768 | 767 | name = search_label; |
8427685f | 768 | common = commands/search_label.c; |
8c411768 BC |
769 | }; |
770 | ||
771 | module = { | |
772 | name = setpci; | |
8427685f | 773 | common = commands/setpci.c; |
911bd640 | 774 | enable = x86; |
8c411768 BC |
775 | }; |
776 | ||
777 | module = { | |
8c411768 | 778 | name = sleep; |
8427685f | 779 | common = commands/sleep.c; |
8c411768 BC |
780 | }; |
781 | ||
782 | module = { | |
783 | name = suspend; | |
8427685f | 784 | ieee1275 = commands/ieee1275/suspend.c; |
911bd640 BC |
785 | enable = i386_ieee1275; |
786 | enable = powerpc_ieee1275; | |
8c411768 BC |
787 | }; |
788 | ||
789 | module = { | |
8c411768 | 790 | name = terminal; |
8427685f | 791 | common = commands/terminal.c; |
8c411768 BC |
792 | }; |
793 | ||
794 | module = { | |
8c411768 | 795 | name = test; |
8427685f | 796 | common = commands/test.c; |
8c411768 BC |
797 | }; |
798 | ||
799 | module = { | |
8c411768 | 800 | name = true; |
8427685f | 801 | common = commands/true.c; |
8c411768 BC |
802 | }; |
803 | ||
804 | module = { | |
805 | name = usbtest; | |
8427685f | 806 | common = commands/usbtest.c; |
eefe8abd | 807 | enable = usb; |
8c411768 BC |
808 | }; |
809 | ||
810 | module = { | |
540e2fe1 VS |
811 | name = videoinfo; |
812 | common = commands/videoinfo.c; | |
8c411768 BC |
813 | }; |
814 | ||
815 | module = { | |
8c411768 | 816 | name = videotest; |
8427685f | 817 | common = commands/videotest.c; |
8c411768 BC |
818 | }; |
819 | ||
820 | module = { | |
8c411768 | 821 | name = xnu_uuid; |
8427685f | 822 | common = commands/xnu_uuid.c; |
8c411768 BC |
823 | }; |
824 | ||
825 | module = { | |
8c411768 | 826 | name = dm_nv; |
8427685f | 827 | common = disk/dmraid_nvidia.c; |
8c411768 BC |
828 | }; |
829 | ||
830 | module = { | |
8c411768 | 831 | name = loopback; |
8427685f | 832 | common = disk/loopback.c; |
8c411768 BC |
833 | }; |
834 | ||
8585e54b VS |
835 | module = { |
836 | name = cryptodisk; | |
837 | common = disk/cryptodisk.c; | |
838 | }; | |
839 | ||
7217f315 MG |
840 | module = { |
841 | name = luks; | |
842 | common = disk/luks.c; | |
843 | common = disk/AFSplitter.c; | |
844 | }; | |
845 | ||
1a1f408f VS |
846 | module = { |
847 | name = geli; | |
848 | common = disk/geli.c; | |
849 | }; | |
850 | ||
8c411768 | 851 | module = { |
8c411768 | 852 | name = lvm; |
8427685f | 853 | common = disk/lvm.c; |
8c411768 BC |
854 | }; |
855 | ||
856 | module = { | |
1e8d555b | 857 | name = mdraid09; |
8427685f | 858 | common = disk/mdraid_linux.c; |
8c411768 BC |
859 | }; |
860 | ||
1e8d555b VS |
861 | module = { |
862 | name = mdraid1x; | |
863 | common = disk/mdraid1x_linux.c; | |
864 | }; | |
865 | ||
8c411768 | 866 | module = { |
8c411768 | 867 | name = raid; |
8427685f | 868 | common = disk/raid.c; |
8c411768 BC |
869 | }; |
870 | ||
871 | module = { | |
8c411768 | 872 | name = raid5rec; |
8427685f | 873 | common = disk/raid5_recover.c; |
8c411768 BC |
874 | }; |
875 | ||
876 | module = { | |
8c411768 | 877 | name = raid6rec; |
8427685f | 878 | common = disk/raid6_recover.c; |
8c411768 BC |
879 | }; |
880 | ||
881 | module = { | |
8c411768 | 882 | name = scsi; |
8427685f | 883 | common = disk/scsi.c; |
8c411768 BC |
884 | }; |
885 | ||
886 | module = { | |
8c411768 | 887 | name = memdisk; |
8427685f | 888 | common = disk/memdisk.c; |
8c411768 BC |
889 | }; |
890 | ||
891 | module = { | |
892 | name = ata; | |
8427685f | 893 | common = disk/ata.c; |
eefe8abd | 894 | enable = pci; |
a228ec10 | 895 | enable = mips_qemu_mips; |
8c411768 BC |
896 | }; |
897 | ||
898 | module = { | |
de2690be VS |
899 | name = ahci; |
900 | common = disk/ahci.c; | |
eefe8abd | 901 | enable = pci; |
8c411768 BC |
902 | }; |
903 | ||
de2690be VS |
904 | module = { |
905 | name = pata; | |
906 | common = disk/pata.c; | |
eefe8abd | 907 | enable = pci; |
a228ec10 | 908 | enable = mips_qemu_mips; |
8c411768 BC |
909 | }; |
910 | ||
911 | module = { | |
912 | name = biosdisk; | |
913 | i386_pc = disk/i386/pc/biosdisk.c; | |
911bd640 | 914 | enable = i386_pc; |
8c411768 BC |
915 | }; |
916 | ||
917 | module = { | |
918 | name = usbms; | |
8427685f | 919 | common = disk/usbms.c; |
eefe8abd | 920 | enable = usb; |
8c411768 BC |
921 | }; |
922 | ||
923 | module = { | |
924 | name = nand; | |
8427685f | 925 | ieee1275 = disk/ieee1275/nand.c; |
911bd640 | 926 | enable = i386_ieee1275; |
8c411768 BC |
927 | }; |
928 | ||
929 | module = { | |
930 | name = efiemu; | |
16bd6cfa VS |
931 | common = efiemu/main.c; |
932 | common = efiemu/i386/loadcore32.c; | |
933 | common = efiemu/i386/loadcore64.c; | |
8c411768 | 934 | i386_pc = efiemu/i386/pc/cfgtables.c; |
8218d8b6 VS |
935 | i386_coreboot = efiemu/i386/pc/cfgtables.c; |
936 | i386_multiboot = efiemu/i386/pc/cfgtables.c; | |
937 | i386_ieee1275 = efiemu/i386/nocfgtables.c; | |
6f8157cb | 938 | i386_qemu = efiemu/i386/nocfgtables.c; |
16bd6cfa VS |
939 | common = efiemu/mm.c; |
940 | common = efiemu/loadcore_common.c; | |
941 | common = efiemu/symbols.c; | |
942 | common = efiemu/loadcore32.c; | |
943 | common = efiemu/loadcore64.c; | |
944 | common = efiemu/prepare32.c; | |
945 | common = efiemu/prepare64.c; | |
946 | common = efiemu/pnvram.c; | |
947 | common = efiemu/i386/coredetect.c; | |
a60f6ee1 BC |
948 | |
949 | extra_dist = efiemu/prepare.c; | |
950 | extra_dist = efiemu/loadcore.c; | |
951 | extra_dist = efiemu/runtime/efiemu.S; | |
952 | extra_dist = efiemu/runtime/efiemu.c; | |
911bd640 BC |
953 | |
954 | enable = i386_pc; | |
8218d8b6 | 955 | enable = i386_coreboot; |
16bd6cfa VS |
956 | enable = i386_ieee1275; |
957 | enable = i386_multiboot; | |
6f8157cb | 958 | enable = i386_qemu; |
8c411768 BC |
959 | }; |
960 | ||
961 | module = { | |
962 | name = font; | |
8427685f BC |
963 | common = font/font.c; |
964 | common = font/font_cmd.c; | |
eefe8abd | 965 | enable = videomodules; |
8c411768 BC |
966 | }; |
967 | ||
968 | module = { | |
8c411768 | 969 | name = affs; |
8427685f | 970 | common = fs/affs.c; |
8c411768 BC |
971 | }; |
972 | ||
973 | module = { | |
8c411768 | 974 | name = afs; |
8427685f | 975 | common = fs/afs.c; |
8c411768 BC |
976 | }; |
977 | ||
978 | module = { | |
8c411768 | 979 | name = afs_be; |
8427685f | 980 | common = fs/afs_be.c; |
8c411768 BC |
981 | }; |
982 | ||
983 | module = { | |
8c411768 | 984 | name = befs; |
8427685f | 985 | common = fs/befs.c; |
8c411768 BC |
986 | }; |
987 | ||
988 | module = { | |
8c411768 | 989 | name = befs_be; |
8427685f | 990 | common = fs/befs_be.c; |
8c411768 BC |
991 | }; |
992 | ||
4dfbc574 RM |
993 | module = { |
994 | name = btrfs; | |
995 | common = fs/btrfs.c; | |
3836e89d | 996 | common = lib/crc.c; |
095f077e SJ |
997 | cflags = '$(CFLAGS_POSIX) -Wno-undef'; |
998 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H'; | |
4dfbc574 RM |
999 | }; |
1000 | ||
8c411768 | 1001 | module = { |
8c411768 | 1002 | name = cpio; |
8427685f | 1003 | common = fs/cpio.c; |
8c411768 BC |
1004 | }; |
1005 | ||
1006 | module = { | |
8c411768 | 1007 | name = ext2; |
8427685f | 1008 | common = fs/ext2.c; |
8c411768 BC |
1009 | }; |
1010 | ||
1011 | module = { | |
8c411768 | 1012 | name = fat; |
8427685f | 1013 | common = fs/fat.c; |
8c411768 BC |
1014 | }; |
1015 | ||
48fe18dc VS |
1016 | module = { |
1017 | name = exfat; | |
1018 | common = fs/exfat.c; | |
1019 | }; | |
1020 | ||
8c411768 | 1021 | module = { |
8c411768 | 1022 | name = fshelp; |
8427685f | 1023 | common = fs/fshelp.c; |
8c411768 BC |
1024 | }; |
1025 | ||
1026 | module = { | |
8c411768 | 1027 | name = hfs; |
8427685f | 1028 | common = fs/hfs.c; |
8c411768 BC |
1029 | }; |
1030 | ||
1031 | module = { | |
8c411768 | 1032 | name = hfsplus; |
8427685f | 1033 | common = fs/hfsplus.c; |
8c411768 BC |
1034 | }; |
1035 | ||
1036 | module = { | |
8c411768 | 1037 | name = iso9660; |
8427685f | 1038 | common = fs/iso9660.c; |
8c411768 BC |
1039 | }; |
1040 | ||
1041 | module = { | |
8c411768 | 1042 | name = jfs; |
8427685f | 1043 | common = fs/jfs.c; |
8c411768 BC |
1044 | }; |
1045 | ||
1046 | module = { | |
8c411768 | 1047 | name = minix; |
8427685f | 1048 | common = fs/minix.c; |
8c411768 BC |
1049 | }; |
1050 | ||
b4a0c915 VS |
1051 | module = { |
1052 | name = minix2; | |
1053 | common = fs/minix2.c; | |
1054 | }; | |
1055 | ||
3dd3dd33 FZ |
1056 | module = { |
1057 | name = minix3; | |
1058 | common = fs/minix3.c; | |
1059 | }; | |
1060 | ||
8c411768 | 1061 | module = { |
8c411768 | 1062 | name = nilfs2; |
8427685f | 1063 | common = fs/nilfs2.c; |
8c411768 BC |
1064 | }; |
1065 | ||
1066 | module = { | |
8c411768 | 1067 | name = ntfs; |
8427685f | 1068 | common = fs/ntfs.c; |
8c411768 BC |
1069 | }; |
1070 | ||
1071 | module = { | |
8c411768 | 1072 | name = ntfscomp; |
8427685f | 1073 | common = fs/ntfscomp.c; |
8c411768 BC |
1074 | }; |
1075 | ||
1076 | module = { | |
8c411768 | 1077 | name = reiserfs; |
8427685f | 1078 | common = fs/reiserfs.c; |
8c411768 BC |
1079 | }; |
1080 | ||
29184e93 VS |
1081 | module = { |
1082 | name = romfs; | |
1083 | common = fs/romfs.c; | |
1084 | }; | |
1085 | ||
8c411768 | 1086 | module = { |
8c411768 | 1087 | name = sfs; |
8427685f | 1088 | common = fs/sfs.c; |
8c411768 BC |
1089 | }; |
1090 | ||
332fa368 VS |
1091 | module = { |
1092 | name = squash4; | |
1093 | common = fs/squash4.c; | |
1094 | }; | |
1095 | ||
8c411768 | 1096 | module = { |
8c411768 | 1097 | name = tar; |
8427685f | 1098 | common = fs/tar.c; |
8c411768 BC |
1099 | }; |
1100 | ||
1101 | module = { | |
8c411768 | 1102 | name = udf; |
8427685f | 1103 | common = fs/udf.c; |
8c411768 BC |
1104 | }; |
1105 | ||
1106 | module = { | |
8c411768 | 1107 | name = ufs1; |
8427685f | 1108 | common = fs/ufs.c; |
8c411768 BC |
1109 | }; |
1110 | ||
1111 | module = { | |
8c411768 | 1112 | name = ufs2; |
8427685f | 1113 | common = fs/ufs2.c; |
8c411768 BC |
1114 | }; |
1115 | ||
1116 | module = { | |
8c411768 | 1117 | name = xfs; |
8427685f | 1118 | common = fs/xfs.c; |
8c411768 BC |
1119 | }; |
1120 | ||
bf78d5b2 RM |
1121 | module = { |
1122 | name = zfs; | |
1123 | common = fs/zfs/zfs.c; | |
1124 | common = fs/zfs/zfs_lzjb.c; | |
1125 | common = fs/zfs/zfs_sha256.c; | |
1126 | common = fs/zfs/zfs_fletcher.c; | |
1127 | }; | |
1128 | ||
1129 | module = { | |
1130 | name = zfsinfo; | |
1131 | common = fs/zfs/zfsinfo.c; | |
1132 | }; | |
1133 | ||
8c411768 BC |
1134 | module = { |
1135 | name = pxe; | |
8e60fc8f | 1136 | i386_pc = net/drivers/i386/pc/pxe.c; |
911bd640 | 1137 | enable = i386_pc; |
8c411768 BC |
1138 | }; |
1139 | ||
1140 | module = { | |
1141 | name = gettext; | |
8427685f | 1142 | common = gettext/gettext.c; |
8c411768 BC |
1143 | }; |
1144 | ||
1145 | module = { | |
8c411768 | 1146 | name = gfxmenu; |
8427685f BC |
1147 | common = gfxmenu/gfxmenu.c; |
1148 | common = gfxmenu/model.c; | |
1149 | common = gfxmenu/view.c; | |
1150 | common = gfxmenu/font.c; | |
1151 | common = gfxmenu/icon_manager.c; | |
1152 | common = gfxmenu/theme_loader.c; | |
1153 | common = gfxmenu/widget-box.c; | |
1154 | common = gfxmenu/gui_canvas.c; | |
1155 | common = gfxmenu/gui_circular_progress.c; | |
1156 | common = gfxmenu/gui_box.c; | |
1157 | common = gfxmenu/gui_label.c; | |
1158 | common = gfxmenu/gui_list.c; | |
1159 | common = gfxmenu/gui_image.c; | |
1160 | common = gfxmenu/gui_progress_bar.c; | |
1161 | common = gfxmenu/gui_util.c; | |
1162 | common = gfxmenu/gui_string_util.c; | |
8c411768 BC |
1163 | }; |
1164 | ||
1165 | module = { | |
8c411768 | 1166 | name = hello; |
8427685f | 1167 | common = hello/hello.c; |
8c411768 BC |
1168 | }; |
1169 | ||
1170 | module = { | |
8c411768 | 1171 | name = gzio; |
8427685f | 1172 | common = io/gzio.c; |
8c411768 BC |
1173 | }; |
1174 | ||
1175 | module = { | |
1176 | name = bufio; | |
8427685f | 1177 | common = io/bufio.c; |
eefe8abd | 1178 | enable = videomodules; |
8c411768 BC |
1179 | }; |
1180 | ||
1181 | module = { | |
8c411768 | 1182 | name = elf; |
8427685f | 1183 | common = kern/elf.c; |
8c411768 BC |
1184 | }; |
1185 | ||
8c411768 | 1186 | module = { |
8c411768 | 1187 | name = crypto; |
8427685f | 1188 | common = lib/crypto.c; |
610c1efd BC |
1189 | |
1190 | extra_dist = lib/libgcrypt-grub/cipher/crypto.lst; | |
8c411768 BC |
1191 | }; |
1192 | ||
8c411768 | 1193 | module = { |
8c411768 | 1194 | name = pbkdf2; |
8427685f | 1195 | common = lib/pbkdf2.c; |
8c411768 BC |
1196 | }; |
1197 | ||
1198 | module = { | |
1199 | name = relocator; | |
16bd6cfa VS |
1200 | common = lib/relocator.c; |
1201 | x86 = lib/i386/relocator16.S; | |
1202 | x86 = lib/i386/relocator32.S; | |
1203 | x86 = lib/i386/relocator64.S; | |
1204 | i386 = lib/i386/relocator_asm.S; | |
1205 | x86_64 = lib/x86_64/relocator_asm.S; | |
8c411768 | 1206 | x86 = lib/i386/relocator.c; |
16bd6cfa | 1207 | ieee1275 = lib/ieee1275/relocator.c; |
6585de4c | 1208 | efi = lib/efi/relocator.c; |
16bd6cfa VS |
1209 | mips = lib/mips/relocator_asm.S; |
1210 | mips = lib/mips/relocator.c; | |
1211 | powerpc = lib/powerpc/relocator_asm.S; | |
1212 | powerpc = lib/powerpc/relocator.c; | |
1213 | ||
6556eba9 BC |
1214 | extra_dist = lib/i386/relocator_common.S; |
1215 | extra_dist = kern/powerpc/cache_flush.S; | |
1216 | ||
911bd640 | 1217 | enable = mips; |
16bd6cfa | 1218 | enable = powerpc; |
911bd640 | 1219 | enable = x86; |
8c411768 BC |
1220 | }; |
1221 | ||
1222 | module = { | |
1223 | name = datetime; | |
eefe8abd | 1224 | cmos = lib/cmos_datetime.c; |
6585de4c | 1225 | efi = lib/efi/datetime.c; |
8c411768 BC |
1226 | sparc64_ieee1275 = lib/ieee1275/datetime.c; |
1227 | powerpc_ieee1275 = lib/ieee1275/datetime.c; | |
a07a81b3 VS |
1228 | sparc64_ieee1275 = lib/ieee1275/cmos.c; |
1229 | powerpc_ieee1275 = lib/ieee1275/cmos.c; | |
1230 | ||
8906c3dd | 1231 | mips_arc = lib/arc/datetime.c; |
eefe8abd | 1232 | enable = noemu; |
8c411768 BC |
1233 | }; |
1234 | ||
1235 | module = { | |
1236 | name = setjmp; | |
8427685f | 1237 | common = lib/setjmp.S; |
2b6c0084 BC |
1238 | extra_dist = lib/i386/setjmp.S; |
1239 | extra_dist = lib/mips/setjmp.S; | |
1240 | extra_dist = lib/x86_64/setjmp.S; | |
1241 | extra_dist = lib/sparc64/setjmp.S; | |
1242 | extra_dist = lib/powerpc/setjmp.S; | |
9a79fcf2 | 1243 | extra_dist = lib/ia64/setjmp.S; |
8c411768 BC |
1244 | }; |
1245 | ||
1246 | module = { | |
1247 | name = aout; | |
8427685f | 1248 | common = loader/aout.c; |
16bd6cfa | 1249 | enable = x86; |
8c411768 BC |
1250 | }; |
1251 | ||
1252 | module = { | |
1253 | name = bsd; | |
16bd6cfa VS |
1254 | x86 = loader/i386/bsd.c; |
1255 | x86 = loader/i386/bsd32.c; | |
1256 | x86 = loader/i386/bsd64.c; | |
610c1efd BC |
1257 | |
1258 | extra_dist = loader/i386/bsdXX.c; | |
1259 | extra_dist = loader/i386/bsd_pagetable.c; | |
1260 | ||
16bd6cfa | 1261 | enable = x86; |
8c411768 BC |
1262 | }; |
1263 | ||
1264 | module = { | |
1265 | name = linux16; | |
8427685f | 1266 | i386_pc = loader/i386/pc/linux.c; |
25953e10 | 1267 | i386_pc = lib/cmdline.c; |
911bd640 | 1268 | enable = i386_pc; |
8c411768 BC |
1269 | }; |
1270 | ||
16bd6cfa VS |
1271 | module = { |
1272 | name = ntldr; | |
1273 | i386_pc = loader/i386/pc/ntldr.c; | |
1274 | enable = i386_pc; | |
1275 | }; | |
1276 | ||
b28fd807 VS |
1277 | module = { |
1278 | name = freedos; | |
1279 | i386_pc = loader/i386/pc/freedos.c; | |
1280 | enable = i386_pc; | |
1281 | }; | |
1282 | ||
8c411768 BC |
1283 | module = { |
1284 | name = multiboot2; | |
1285 | cppflags = "-DGRUB_USE_MULTIBOOT2"; | |
1286 | ||
8427685f BC |
1287 | common = loader/multiboot.c; |
1288 | common = loader/multiboot_mbi2.c; | |
911bd640 BC |
1289 | enable = x86; |
1290 | enable = mips; | |
8c411768 BC |
1291 | }; |
1292 | ||
1293 | module = { | |
1294 | name = multiboot; | |
8427685f BC |
1295 | common = loader/multiboot.c; |
1296 | x86 = loader/i386/multiboot_mbi.c; | |
a60f6ee1 | 1297 | extra_dist = loader/multiboot_elfxx.c; |
911bd640 | 1298 | enable = x86; |
8c411768 BC |
1299 | }; |
1300 | ||
1301 | module = { | |
1302 | name = linux; | |
16bd6cfa | 1303 | x86 = loader/i386/linux.c; |
e31bb619 | 1304 | i386_pc = lib/i386/pc/vesa_modes_table.c; |
8c411768 BC |
1305 | mips = loader/mips/linux.c; |
1306 | powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c; | |
1307 | sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c; | |
6585de4c | 1308 | ia64_efi = loader/ia64/efi/linux.c; |
25953e10 | 1309 | common = lib/cmdline.c; |
8427685f | 1310 | enable = noemu; |
8c411768 BC |
1311 | }; |
1312 | ||
1313 | module = { | |
1314 | name = xnu; | |
16bd6cfa VS |
1315 | x86 = loader/xnu_resume.c; |
1316 | x86 = loader/i386/xnu.c; | |
1317 | x86 = loader/macho32.c; | |
1318 | x86 = loader/macho64.c; | |
1319 | x86 = loader/macho.c; | |
1320 | x86 = loader/xnu.c; | |
a60f6ee1 BC |
1321 | |
1322 | extra_dist = loader/machoXX.c; | |
16bd6cfa | 1323 | enable = x86; |
8c411768 BC |
1324 | }; |
1325 | ||
1326 | module = { | |
1327 | name = appleldr; | |
6585de4c VS |
1328 | common = loader/efi/appleloader.c; |
1329 | enable = i386_efi; | |
1330 | enable = x86_64_efi; | |
8c411768 BC |
1331 | }; |
1332 | ||
1333 | module = { | |
1334 | name = chain; | |
6585de4c | 1335 | efi = loader/efi/chainloader.c; |
8c411768 | 1336 | i386_pc = loader/i386/pc/chainloader.c; |
8d5d8444 | 1337 | i386_coreboot = loader/i386/coreboot/chainloader.c; |
911bd640 | 1338 | enable = i386_pc; |
ba7df45e | 1339 | enable = i386_coreboot; |
6585de4c | 1340 | enable = efi; |
8c411768 BC |
1341 | }; |
1342 | ||
1343 | module = { | |
1344 | name = mmap; | |
eefe8abd VS |
1345 | common = mmap/mmap.c; |
1346 | x86 = mmap/i386/uppermem.c; | |
1347 | x86 = mmap/i386/mmap.c; | |
1348 | ||
8c411768 BC |
1349 | i386_pc = mmap/i386/pc/mmap.c; |
1350 | i386_pc = mmap/i386/pc/mmap_helper.S; | |
1351 | ||
6585de4c | 1352 | efi = mmap/efi/mmap.c; |
8c411768 | 1353 | |
8906c3dd | 1354 | mips = mmap/mips/uppermem.c; |
911bd640 BC |
1355 | |
1356 | enable = x86; | |
c18271ed | 1357 | enable = ia64_efi; |
f440c33f | 1358 | enable = mips; |
8c411768 BC |
1359 | }; |
1360 | ||
1361 | module = { | |
8c411768 | 1362 | name = normal; |
8427685f BC |
1363 | common = normal/main.c; |
1364 | common = normal/cmdline.c; | |
1365 | common = normal/dyncmd.c; | |
1366 | common = normal/auth.c; | |
1367 | common = normal/autofs.c; | |
1368 | common = normal/color.c; | |
1369 | common = normal/completion.c; | |
1370 | common = normal/datetime.c; | |
1371 | common = normal/menu.c; | |
1372 | common = normal/menu_entry.c; | |
1373 | common = normal/menu_text.c; | |
1374 | common = normal/misc.c; | |
1375 | common = normal/crypto.c; | |
1376 | common = normal/term.c; | |
1377 | common = normal/context.c; | |
1378 | common = normal/charset.c; | |
1379 | ||
1380 | common = script/main.c; | |
1381 | common = script/script.c; | |
1382 | common = script/execute.c; | |
1383 | common = script/function.c; | |
1384 | common = script/lexer.c; | |
1385 | common = script/argv.c; | |
1386 | ||
9284756e BC |
1387 | common = commands/menuentry.c; |
1388 | ||
8427685f BC |
1389 | common = unidata.c; |
1390 | common_nodist = grub_script.tab.c; | |
1391 | common_nodist = grub_script.yy.c; | |
1392 | common_nodist = grub_script.tab.h; | |
1393 | common_nodist = grub_script.yy.h; | |
297f0c2b BC |
1394 | |
1395 | extra_dist = script/yylex.l; | |
1396 | extra_dist = script/parser.y; | |
1397 | ||
1398 | cflags = '$(CFLAGS_POSIX) -Wno-error'; | |
1399 | cppflags = '$(CPPFLAGS_POSIX)'; | |
8c411768 BC |
1400 | }; |
1401 | ||
1402 | module = { | |
8c411768 | 1403 | name = part_acorn; |
8427685f | 1404 | common = partmap/acorn.c; |
8c411768 BC |
1405 | }; |
1406 | ||
1407 | module = { | |
8c411768 | 1408 | name = part_amiga; |
8427685f | 1409 | common = partmap/amiga.c; |
8c411768 BC |
1410 | }; |
1411 | ||
1412 | module = { | |
8c411768 | 1413 | name = part_apple; |
8427685f | 1414 | common = partmap/apple.c; |
8c411768 BC |
1415 | }; |
1416 | ||
1417 | module = { | |
8c411768 | 1418 | name = part_gpt; |
8427685f | 1419 | common = partmap/gpt.c; |
8c411768 BC |
1420 | }; |
1421 | ||
1422 | module = { | |
8c411768 | 1423 | name = part_msdos; |
8427685f | 1424 | common = partmap/msdos.c; |
8c411768 BC |
1425 | }; |
1426 | ||
1427 | module = { | |
8c411768 | 1428 | name = part_sun; |
8427685f | 1429 | common = partmap/sun.c; |
8c411768 BC |
1430 | }; |
1431 | ||
8906c3dd VS |
1432 | module = { |
1433 | name = part_dvh; | |
1434 | common = partmap/dvh.c; | |
1435 | }; | |
1436 | ||
8c411768 | 1437 | module = { |
8c411768 | 1438 | name = part_bsd; |
8427685f | 1439 | common = partmap/bsdlabel.c; |
8c411768 BC |
1440 | }; |
1441 | ||
1442 | module = { | |
8c411768 | 1443 | name = part_sunpc; |
8427685f | 1444 | common = partmap/sunpc.c; |
8c411768 BC |
1445 | }; |
1446 | ||
1447 | module = { | |
8c411768 | 1448 | name = msdospart; |
8427685f | 1449 | common = parttool/msdospart.c; |
8c411768 BC |
1450 | }; |
1451 | ||
8c411768 BC |
1452 | module = { |
1453 | name = at_keyboard; | |
8427685f | 1454 | common = term/at_keyboard.c; |
911bd640 | 1455 | enable = x86; |
8c411768 BC |
1456 | }; |
1457 | ||
1458 | module = { | |
1459 | name = gfxterm; | |
8427685f | 1460 | common = term/gfxterm.c; |
eefe8abd | 1461 | enable = videomodules; |
8c411768 BC |
1462 | }; |
1463 | ||
1464 | module = { | |
1465 | name = serial; | |
8427685f | 1466 | common = term/serial.c; |
d84666e6 BC |
1467 | x86 = term/ns8250.c; |
1468 | ||
9a79fcf2 | 1469 | enable = x86; |
d84666e6 BC |
1470 | }; |
1471 | ||
1472 | module = { | |
1473 | name = sendkey; | |
1474 | i386_pc = commands/i386/pc/sendkey.c; | |
1475 | enable = i386_pc; | |
8c411768 BC |
1476 | }; |
1477 | ||
1478 | module = { | |
8c411768 | 1479 | name = terminfo; |
8427685f BC |
1480 | common = term/terminfo.c; |
1481 | common = term/tparm.c; | |
ee74fa48 | 1482 | enable = terminfomodule; |
8c411768 BC |
1483 | }; |
1484 | ||
1485 | module = { | |
1486 | name = usb_keyboard; | |
8427685f | 1487 | common = term/usb_keyboard.c; |
eefe8abd | 1488 | enable = usb; |
8c411768 BC |
1489 | }; |
1490 | ||
1491 | module = { | |
1492 | name = vga; | |
9fc9ce37 | 1493 | common = video/i386/pc/vga.c; |
911bd640 | 1494 | enable = i386_pc; |
9fc9ce37 VS |
1495 | enable = i386_coreboot; |
1496 | enable = i386_multiboot; | |
8c411768 BC |
1497 | }; |
1498 | ||
1499 | module = { | |
1500 | name = vga_text; | |
16bd6cfa VS |
1501 | common = term/i386/pc/vga_text.c; |
1502 | common = term/i386/vga_common.c; | |
1503 | enable = i386_pc; | |
1504 | enable = i386_coreboot; | |
1505 | enable = i386_multiboot; | |
8c411768 BC |
1506 | }; |
1507 | ||
297f0c2b BC |
1508 | module = { |
1509 | name = video_cirrus; | |
f7711f5e BC |
1510 | x86 = video/cirrus.c; |
1511 | enable = x86; | |
297f0c2b BC |
1512 | }; |
1513 | ||
1514 | module = { | |
1515 | name = video_bochs; | |
f7711f5e BC |
1516 | x86 = video/bochs.c; |
1517 | enable = x86; | |
297f0c2b BC |
1518 | }; |
1519 | ||
8c411768 BC |
1520 | module = { |
1521 | name = functional_test; | |
8427685f BC |
1522 | common = tests/lib/functional_test.c; |
1523 | common = tests/lib/test.c; | |
8c411768 BC |
1524 | }; |
1525 | ||
1526 | module = { | |
1527 | name = example_functional_test; | |
8427685f | 1528 | common = tests/example_functional_test.c; |
8c411768 | 1529 | cflags = -Wno-format; |
8c411768 BC |
1530 | }; |
1531 | ||
1532 | module = { | |
1533 | name = bitmap; | |
8427685f | 1534 | common = video/bitmap.c; |
eefe8abd | 1535 | enable = videomodules; |
8c411768 BC |
1536 | }; |
1537 | ||
1538 | module = { | |
1539 | name = bitmap_scale; | |
8427685f | 1540 | common = video/bitmap_scale.c; |
eefe8abd | 1541 | enable = videomodules; |
8c411768 BC |
1542 | }; |
1543 | ||
1544 | module = { | |
1545 | name = efi_gop; | |
6585de4c VS |
1546 | efi = video/efi_gop.c; |
1547 | enable = efi; | |
8c411768 BC |
1548 | }; |
1549 | ||
1550 | module = { | |
1551 | name = efi_uga; | |
6585de4c | 1552 | efi = video/efi_uga.c; |
c18271ed | 1553 | enable = i386_efi; |
1554 | enable = x86_64_efi; | |
8c411768 BC |
1555 | }; |
1556 | ||
1557 | module = { | |
8c411768 | 1558 | name = jpeg; |
8427685f | 1559 | common = video/readers/jpeg.c; |
8c411768 BC |
1560 | }; |
1561 | ||
1562 | module = { | |
8c411768 | 1563 | name = png; |
8427685f | 1564 | common = video/readers/png.c; |
8c411768 BC |
1565 | }; |
1566 | ||
1567 | module = { | |
8c411768 | 1568 | name = tga; |
8427685f | 1569 | common = video/readers/tga.c; |
8c411768 BC |
1570 | }; |
1571 | ||
1572 | module = { | |
1573 | name = vbe; | |
9fc9ce37 | 1574 | common = video/i386/pc/vbe.c; |
911bd640 | 1575 | enable = i386_pc; |
9fc9ce37 VS |
1576 | enable = i386_coreboot; |
1577 | enable = i386_multiboot; | |
8c411768 BC |
1578 | }; |
1579 | ||
1580 | module = { | |
1581 | name = video_fb; | |
8427685f BC |
1582 | common = video/fb/video_fb.c; |
1583 | common = video/fb/fbblit.c; | |
1584 | common = video/fb/fbfill.c; | |
1585 | common = video/fb/fbutil.c; | |
eefe8abd | 1586 | enable = videomodules; |
8c411768 BC |
1587 | }; |
1588 | ||
1589 | module = { | |
1590 | name = video; | |
8427685f | 1591 | common = video/video.c; |
1c95b6d2 | 1592 | common = video/colors.c; |
eefe8abd | 1593 | enable = videomodules; |
8c411768 BC |
1594 | }; |
1595 | ||
1596 | module = { | |
1597 | name = ieee1275_fb; | |
8427685f | 1598 | ieee1275 = video/ieee1275.c; |
cf02731e | 1599 | enable = powerpc_ieee1275; |
8c411768 BC |
1600 | }; |
1601 | ||
1602 | module = { | |
1603 | name = sdl; | |
8427685f | 1604 | emu = video/emu/sdl.c; |
911bd640 | 1605 | enable = emu; |
8427685f | 1606 | condition = COND_GRUB_EMU_SDL; |
8c411768 BC |
1607 | }; |
1608 | ||
1609 | module = { | |
1610 | name = datehook; | |
8427685f | 1611 | common = hook/datehook.c; |
8c411768 | 1612 | }; |
92eb189b | 1613 | |
975cffff VS |
1614 | module = { |
1615 | name = net; | |
c0425677 | 1616 | common = net/net.c; |
138eeb36 | 1617 | common = net/bootp.c; |
7bb47706 MA |
1618 | common = net/ip.c; |
1619 | common = net/udp.c; | |
1620 | common = net/ethernet.c; | |
1621 | common = net/arp.c; | |
7bb47706 MA |
1622 | common = net/netbuff.c; |
1623 | }; | |
1624 | ||
1625 | module = { | |
1626 | name = tftp; | |
1627 | common = net/tftp.c; | |
1628 | }; | |
1629 | ||
1630 | module = { | |
1631 | name = ofnet; | |
9d22909b | 1632 | common = net/drivers/ieee1275/ofnet.c; |
7bb47706 MA |
1633 | enable = ieee1275; |
1634 | }; | |
90451bb1 | 1635 | |
9d22909b VS |
1636 | module = { |
1637 | name = efinet; | |
1638 | common = net/drivers/efi/efinet.c; | |
1639 | enable = efi; | |
1640 | }; | |
1641 | ||
90451bb1 VS |
1642 | module = { |
1643 | name = emunet; | |
1644 | emu = net/drivers/emu/emunet.c; | |
d8123bfb | 1645 | enable = emu; |
90451bb1 | 1646 | }; |
760a7e5a | 1647 | |
92eb189b VS |
1648 | module = { |
1649 | name = legacycfg; | |
1650 | common = commands/legacycfg.c; | |
fff175c7 | 1651 | common = lib/legacy_parse.c; |
d6d94820 | 1652 | emu = lib/i386/pc/vesa_modes_table.c; |
92eb189b | 1653 | enable = i386_pc; |
abda0cad | 1654 | enable = emu; |
bd960307 | 1655 | }; |
122a9b2c | 1656 | |
928bad47 BC |
1657 | module = { |
1658 | name = test_blockarg; | |
1659 | common = tests/test_blockarg.c; | |
47b4c2c3 | 1660 | }; |
06f70117 | 1661 | |
f0aff67c SJ |
1662 | module = { |
1663 | name = xzio; | |
1664 | common = io/xzio.c; | |
1665 | common = lib/xzembed/xz_dec_bcj.c; | |
1666 | common = lib/xzembed/xz_dec_lzma2.c; | |
1667 | common = lib/xzembed/xz_dec_stream.c; | |
1668 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed'; | |
1669 | }; | |
1670 | ||
d6beefcf SJ |
1671 | module = { |
1672 | name = lzopio; | |
1673 | common = io/lzopio.c; | |
1674 | common = lib/minilzo/minilzo.c; | |
1675 | cflags = '$(CFLAGS_POSIX) -Wno-undef'; | |
1676 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H'; | |
1677 | }; | |
1678 | ||
06f70117 VS |
1679 | module = { |
1680 | name = testload; | |
1681 | common = commands/testload.c; | |
fff175c7 | 1682 | }; |
890c9fa5 VS |
1683 | |
1684 | module = { | |
1685 | name = lsapm; | |
1686 | common = commands/i386/pc/lsapm.c; | |
1687 | enable = i386_pc; | |
1688 | }; | |
1a9130dd | 1689 | |
5aaf2c18 VS |
1690 | module = { |
1691 | name = keylayouts; | |
1692 | common = commands/keylayouts.c; | |
1a9130dd | 1693 | enable = videomodules; |
5aaf2c18 | 1694 | }; |
5ff1d945 VS |
1695 | |
1696 | module = { | |
1697 | name = time; | |
1698 | common = commands/time.c; | |
1699 | }; | |
99cecb4f | 1700 | |
c5dc1690 SJ |
1701 | module = { |
1702 | name = cacheinfo; | |
1703 | common = commands/cacheinfo.c; | |
1704 | condition = COND_ENABLE_CACHE_STATS; | |
1705 | }; | |
9a8d32a2 SJ |
1706 | |
1707 | module = { | |
1708 | name = adler32; | |
1709 | common = lib/adler32.c; | |
1710 | }; |