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