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