]> git.proxmox.com Git - grub2.git/blame - grub-core/Makefile.core.def
Fix FreeBSD compilation problem.
[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 326 objcopyflags = '-O binary';
1d955d00 327 ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
911bd640 328 enable = mips_yeeloong;
297f0c2b
BC
329};
330
e235a228
BC
331module = {
332 name = trig;
8427685f 333 common_nodist = trigtables.c;
e235a228 334 extra_dist = gentrigtables.c;
e235a228
BC
335};
336
baea1766
BC
337module = {
338 name = cs5536;
f7711f5e
BC
339 x86 = bus/cs5536.c;
340 enable = x86;
baea1766
BC
341};
342
8c411768
BC
343module = {
344 name = libusb;
8427685f 345 emu = bus/usb/emu/usb.c;
911bd640
BC
346 enable = emu;
347 condition = COND_GRUB_EMU_USB;
8c411768
BC
348};
349
297f0c2b
BC
350module = {
351 name = lsspd;
352 mips_yeeloong = commands/mips/yeeloong/lsspd.c;
911bd640 353 enable = mips_yeeloong;
297f0c2b
BC
354};
355
8c411768
BC
356module = {
357 name = usb;
8427685f
BC
358 common = bus/usb/usb.c;
359 noemu = bus/usb/usbtrans.c;
360 noemu = bus/usb/usbhub.c;
361 enable = emu;
eefe8abd 362 enable = usb;
8427685f 363 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
364};
365
d84666e6
BC
366module = {
367 name = usbserial_common;
368 common = bus/usb/serial/common.c;
eefe8abd 369 enable = usb;
d84666e6
BC
370};
371
372module = {
373 name = usbserial_pl2303;
374 common = bus/usb/serial/pl2303.c;
eefe8abd 375 enable = usb;
d84666e6
BC
376};
377
378module = {
379 name = usbserial_ftdi;
380 common = bus/usb/serial/ftdi.c;
eefe8abd 381 enable = usb;
d84666e6
BC
382};
383
8c411768
BC
384module = {
385 name = uhci;
8427685f 386 common = bus/usb/uhci.c;
eefe8abd 387 enable = x86;
8c411768
BC
388};
389
390module = {
391 name = ohci;
8427685f 392 common = bus/usb/ohci.c;
eefe8abd 393 enable = pci;
8c411768
BC
394};
395
396module = {
397 name = pci;
8427685f 398 noemu = bus/pci.c;
d9b78bce
BC
399 emu = bus/emu/pci.c;
400 emu = commands/lspci.c;
401
402 enable = emu;
911bd640 403 enable = i386_pc;
d9b78bce 404 enable = x86_efi;
911bd640
BC
405 enable = i386_ieee1275;
406 enable = i386_coreboot;
f0b05761 407 enable = i386_multiboot;
d9b78bce 408 emu_condition = COND_GRUB_EMU_PCI;
8c411768
BC
409};
410
411library = {
412 name = libgnulib.a;
8427685f 413 common = gnulib/regex.c;
8c411768
BC
414 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
415 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
8c411768
BC
416};
417
16c7cb32
BC
418module = {
419 name = cmostest;
eefe8abd
VS
420 common = commands/i386/cmostest.c;
421 enable = cmos;
16c7cb32
BC
422};
423
8c411768
BC
424module = {
425 name = iorw;
8427685f 426 common = commands/iorw.c;
f7711f5e 427 enable = x86;
8c411768
BC
428};
429
430module = {
431 name = regexp;
8427685f 432 common = commands/regexp.c;
8fdefb92 433 common = commands/wildcard.c;
8c411768
BC
434 ldadd = libgnulib.a;
435 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
436 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
8c411768
BC
437};
438
439module = {
440 name = acpi;
441
1782b135 442 common = commands/acpi.c;
8c411768 443 x86_efi = commands/efi/acpi.c;
8c411768 444 i386_pc = commands/i386/pc/acpi.c;
16bd6cfa
VS
445 i386_coreboot = commands/i386/pc/acpi.c;
446 i386_multiboot = commands/i386/pc/acpi.c;
911bd640
BC
447
448 enable = x86_efi;
449 enable = i386_pc;
16bd6cfa
VS
450 enable = i386_coreboot;
451 enable = i386_multiboot;
8c411768
BC
452};
453
1782b135
TG
454module = {
455 name = lsacpi;
456
457 common = commands/lsacpi.c;
458
459 enable = x86_efi;
460 enable = i386_pc;
461 enable = i386_coreboot;
462 enable = i386_multiboot;
463};
464
105de6a7
TG
465module = {
466 name = lsefisystab;
467
468 common = commands/efi/lsefisystab.c;
469
470 enable = x86_efi;
471};
472
473module = {
474 name = lssal;
475
476 common = commands/efi/lssal.c;
477
478 enable = x86_efi;
479};
480
41a331a8
TG
481module = {
482 name = lsefimmap;
483
484 common = commands/efi/lsefimmap.c;
485
486 enable = x86_efi;
487};
488
8c411768 489module = {
8c411768 490 name = blocklist;
8427685f 491 common = commands/blocklist.c;
8c411768
BC
492};
493
494module = {
8c411768 495 name = boot;
8427685f 496 common = commands/boot.c;
8c411768 497 i386_pc = lib/i386/pc/biosnum.c;
685475e5 498 enable = videomodules;
8c411768
BC
499};
500
501module = {
8c411768 502 name = cat;
8427685f 503 common = commands/cat.c;
8c411768
BC
504};
505
506module = {
8c411768 507 name = cmp;
8427685f 508 common = commands/cmp.c;
8c411768
BC
509};
510
511module = {
8c411768 512 name = configfile;
8427685f 513 common = commands/configfile.c;
8c411768
BC
514};
515
516module = {
517 name = cpuid;
354128c8 518 x86 = commands/i386/cpuid.c;
911bd640 519 enable = x86;
8c411768
BC
520};
521
8c411768 522module = {
8c411768 523 name = date;
8427685f 524 common = commands/date.c;
8c411768
BC
525};
526
527module = {
528 name = drivemap;
529
530 i386_pc = commands/i386/pc/drivemap.c;
531 i386_pc = commands/i386/pc/drivemap_int13h.S;
911bd640 532 enable = i386_pc;
8c411768
BC
533};
534
535module = {
8c411768 536 name = echo;
8427685f 537 common = commands/echo.c;
8c411768
BC
538};
539
540module = {
8c411768 541 name = extcmd;
8427685f
BC
542 common = commands/extcmd.c;
543 common = lib/arg.c;
ee74fa48 544 enable = terminfomodule;
8c411768
BC
545};
546
547module = {
548 name = fixvideo;
549 x86_efi = commands/efi/fixvideo.c;
911bd640 550 enable = x86_efi;
8c411768
BC
551};
552
553module = {
8c411768 554 name = gptsync;
8427685f 555 common = commands/gptsync.c;
8c411768
BC
556};
557
558module = {
559 name = halt;
8427685f 560 nopc = commands/halt.c;
8c411768 561 i386_pc = commands/i386/pc/halt.c;
4df7996d 562 i386_pc = commands/acpihalt.c;
2419f17a
VS
563 i386_coreboot = commands/acpihalt.c;
564 i386_multiboot = commands/acpihalt.c;
565 x86_efi = commands/acpihalt.c;
afba9f98
VS
566 i386_multiboot = lib/i386/halt.c;
567 i386_coreboot = lib/i386/halt.c;
568 i386_qemu = lib/i386/halt.c;
569 x86_efi = lib/efi/halt.c;
570 ieee1275 = lib/ieee1275/halt.c;
571 emu = lib/emu/halt.c;
8c411768
BC
572};
573
574module = {
8c411768 575 name = hashsum;
8427685f 576 common = commands/hashsum.c;
8c411768
BC
577};
578
579module = {
580 name = hdparm;
8427685f
BC
581 common = commands/hdparm.c;
582 common = lib/hexdump.c;
eefe8abd 583 enable = pci;
8c411768
BC
584};
585
586module = {
8c411768 587 name = help;
8427685f 588 common = commands/help.c;
8c411768
BC
589};
590
591module = {
8c411768 592 name = hexdump;
8427685f
BC
593 common = commands/hexdump.c;
594 common = lib/hexdump.c;
8c411768
BC
595};
596
597module = {
8c411768 598 name = keystatus;
8427685f 599 common = commands/keystatus.c;
8c411768
BC
600};
601
602module = {
603 name = loadbios;
604 x86_efi = commands/efi/loadbios.c;
911bd640 605 enable = x86_efi;
8c411768
BC
606};
607
608module = {
8c411768 609 name = loadenv;
8427685f
BC
610 common = commands/loadenv.c;
611 common = lib/envblk.c;
8c411768
BC
612};
613
614module = {
8c411768 615 name = ls;
8427685f 616 common = commands/ls.c;
8c411768
BC
617};
618
619module = {
8c411768 620 name = lsmmap;
8427685f 621 common = commands/lsmmap.c;
8c411768
BC
622};
623
624module = {
625 name = lspci;
8427685f 626 common = commands/lspci.c;
8c411768 627
eefe8abd 628 enable = pci;
8c411768
BC
629};
630
631module = {
8c411768 632 name = memrw;
8427685f 633 common = commands/memrw.c;
8c411768
BC
634};
635
636module = {
8c411768 637 name = minicmd;
8427685f 638 common = commands/minicmd.c;
8c411768
BC
639};
640
641module = {
8c411768 642 name = parttool;
8427685f 643 common = commands/parttool.c;
8c411768
BC
644};
645
646module = {
8c411768 647 name = password;
8427685f 648 common = commands/password.c;
8c411768
BC
649};
650
651module = {
8c411768 652 name = password_pbkdf2;
8427685f 653 common = commands/password_pbkdf2.c;
8c411768
BC
654};
655
656module = {
657 name = play;
f7711f5e
BC
658 x86 = commands/i386/pc/play.c;
659 enable = x86;
8c411768
BC
660};
661
662module = {
8c411768 663 name = probe;
8427685f 664 common = commands/probe.c;
8c411768
BC
665};
666
667module = {
668 name = pxecmd;
669 i386_pc = commands/i386/pc/pxecmd.c;
911bd640 670 enable = i386_pc;
8c411768
BC
671};
672
673module = {
8c411768 674 name = read;
8427685f 675 common = commands/read.c;
8c411768
BC
676};
677
678module = {
8c411768 679 name = reboot;
8427685f 680 common = commands/reboot.c;
8c411768
BC
681};
682
683module = {
8c411768 684 name = search;
8427685f 685 common = commands/search_wrap.c;
610c1efd 686 extra_dist = commands/search.c;
8c411768
BC
687};
688
689module = {
8c411768 690 name = search_fs_file;
8427685f 691 common = commands/search_file.c;
8c411768
BC
692};
693
694module = {
8c411768 695 name = search_fs_uuid;
8427685f 696 common = commands/search_uuid.c;
8c411768
BC
697};
698
699module = {
8c411768 700 name = search_label;
8427685f 701 common = commands/search_label.c;
8c411768
BC
702};
703
704module = {
705 name = setpci;
8427685f 706 common = commands/setpci.c;
911bd640 707 enable = x86;
8c411768
BC
708};
709
710module = {
8c411768 711 name = sleep;
8427685f 712 common = commands/sleep.c;
8c411768
BC
713};
714
715module = {
716 name = suspend;
8427685f 717 ieee1275 = commands/ieee1275/suspend.c;
911bd640
BC
718 enable = i386_ieee1275;
719 enable = powerpc_ieee1275;
8c411768
BC
720};
721
722module = {
8c411768 723 name = terminal;
8427685f 724 common = commands/terminal.c;
8c411768
BC
725};
726
727module = {
8c411768 728 name = test;
8427685f 729 common = commands/test.c;
8c411768
BC
730};
731
732module = {
8c411768 733 name = true;
8427685f 734 common = commands/true.c;
8c411768
BC
735};
736
737module = {
738 name = usbtest;
8427685f 739 common = commands/usbtest.c;
eefe8abd 740 enable = usb;
911bd640 741 enable = emu;
8427685f 742 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
743};
744
745module = {
540e2fe1
VS
746 name = videoinfo;
747 common = commands/videoinfo.c;
8c411768
BC
748};
749
750module = {
8c411768 751 name = videotest;
8427685f 752 common = commands/videotest.c;
8c411768
BC
753};
754
755module = {
8c411768 756 name = xnu_uuid;
8427685f 757 common = commands/xnu_uuid.c;
8c411768
BC
758};
759
760module = {
8c411768 761 name = dm_nv;
8427685f 762 common = disk/dmraid_nvidia.c;
8c411768
BC
763};
764
765module = {
8c411768 766 name = loopback;
8427685f 767 common = disk/loopback.c;
8c411768
BC
768};
769
770module = {
8c411768 771 name = lvm;
8427685f 772 common = disk/lvm.c;
8c411768
BC
773};
774
775module = {
1e8d555b 776 name = mdraid09;
8427685f 777 common = disk/mdraid_linux.c;
8c411768
BC
778};
779
1e8d555b
VS
780module = {
781 name = mdraid1x;
782 common = disk/mdraid1x_linux.c;
783};
784
8c411768 785module = {
8c411768 786 name = raid;
8427685f 787 common = disk/raid.c;
8c411768
BC
788};
789
790module = {
8c411768 791 name = raid5rec;
8427685f 792 common = disk/raid5_recover.c;
8c411768
BC
793};
794
795module = {
8c411768 796 name = raid6rec;
8427685f 797 common = disk/raid6_recover.c;
8c411768
BC
798};
799
800module = {
8c411768 801 name = scsi;
8427685f 802 common = disk/scsi.c;
8c411768
BC
803};
804
805module = {
8c411768 806 name = memdisk;
8427685f 807 common = disk/memdisk.c;
8c411768
BC
808};
809
810module = {
811 name = ata;
8427685f 812 common = disk/ata.c;
eefe8abd 813 enable = pci;
8c411768
BC
814};
815
816module = {
817 name = ata_pthru;
8427685f 818 common = disk/ata_pthru.c;
eefe8abd 819 enable = pci;
8c411768
BC
820};
821
822module = {
823 name = biosdisk;
824 i386_pc = disk/i386/pc/biosdisk.c;
911bd640 825 enable = i386_pc;
8c411768
BC
826};
827
828module = {
829 name = usbms;
8427685f 830 common = disk/usbms.c;
eefe8abd 831 enable = usb;
911bd640 832 enable = emu;
8427685f 833 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
834};
835
836module = {
837 name = nand;
8427685f 838 ieee1275 = disk/ieee1275/nand.c;
911bd640 839 enable = i386_ieee1275;
8c411768
BC
840};
841
842module = {
843 name = efiemu;
16bd6cfa
VS
844 common = efiemu/main.c;
845 common = efiemu/i386/loadcore32.c;
846 common = efiemu/i386/loadcore64.c;
8c411768 847 i386_pc = efiemu/i386/pc/cfgtables.c;
8218d8b6
VS
848 i386_coreboot = efiemu/i386/pc/cfgtables.c;
849 i386_multiboot = efiemu/i386/pc/cfgtables.c;
850 i386_ieee1275 = efiemu/i386/nocfgtables.c;
6f8157cb 851 i386_qemu = efiemu/i386/nocfgtables.c;
16bd6cfa
VS
852 common = efiemu/mm.c;
853 common = efiemu/loadcore_common.c;
854 common = efiemu/symbols.c;
855 common = efiemu/loadcore32.c;
856 common = efiemu/loadcore64.c;
857 common = efiemu/prepare32.c;
858 common = efiemu/prepare64.c;
859 common = efiemu/pnvram.c;
860 common = efiemu/i386/coredetect.c;
a60f6ee1
BC
861
862 extra_dist = efiemu/prepare.c;
863 extra_dist = efiemu/loadcore.c;
864 extra_dist = efiemu/runtime/efiemu.S;
865 extra_dist = efiemu/runtime/efiemu.c;
911bd640
BC
866
867 enable = i386_pc;
8218d8b6 868 enable = i386_coreboot;
16bd6cfa
VS
869 enable = i386_ieee1275;
870 enable = i386_multiboot;
6f8157cb 871 enable = i386_qemu;
8c411768
BC
872};
873
874module = {
875 name = font;
8427685f
BC
876 common = font/font.c;
877 common = font/font_cmd.c;
eefe8abd 878 enable = videomodules;
8c411768
BC
879};
880
881module = {
8c411768 882 name = affs;
8427685f 883 common = fs/affs.c;
8c411768
BC
884};
885
886module = {
8c411768 887 name = afs;
8427685f 888 common = fs/afs.c;
8c411768
BC
889};
890
891module = {
8c411768 892 name = afs_be;
8427685f 893 common = fs/afs_be.c;
8c411768
BC
894};
895
896module = {
8c411768 897 name = befs;
8427685f 898 common = fs/befs.c;
8c411768
BC
899};
900
901module = {
8c411768 902 name = befs_be;
8427685f 903 common = fs/befs_be.c;
8c411768
BC
904};
905
4dfbc574
RM
906module = {
907 name = btrfs;
908 common = fs/btrfs.c;
909};
910
8c411768 911module = {
8c411768 912 name = cpio;
8427685f 913 common = fs/cpio.c;
8c411768
BC
914};
915
916module = {
8c411768 917 name = ext2;
8427685f 918 common = fs/ext2.c;
8c411768
BC
919};
920
921module = {
8c411768 922 name = fat;
8427685f 923 common = fs/fat.c;
8c411768
BC
924};
925
926module = {
8c411768 927 name = fshelp;
8427685f 928 common = fs/fshelp.c;
8c411768
BC
929};
930
931module = {
8c411768 932 name = hfs;
8427685f 933 common = fs/hfs.c;
8c411768
BC
934};
935
936module = {
8c411768 937 name = hfsplus;
8427685f 938 common = fs/hfsplus.c;
8c411768
BC
939};
940
941module = {
8c411768 942 name = iso9660;
8427685f 943 common = fs/iso9660.c;
8c411768
BC
944};
945
946module = {
8c411768 947 name = jfs;
8427685f 948 common = fs/jfs.c;
8c411768
BC
949};
950
951module = {
8c411768 952 name = minix;
8427685f 953 common = fs/minix.c;
8c411768
BC
954};
955
b4a0c915
VS
956module = {
957 name = minix2;
958 common = fs/minix2.c;
959};
960
8c411768 961module = {
8c411768 962 name = nilfs2;
8427685f 963 common = fs/nilfs2.c;
8c411768
BC
964};
965
966module = {
8c411768 967 name = ntfs;
8427685f 968 common = fs/ntfs.c;
8c411768
BC
969};
970
971module = {
8c411768 972 name = ntfscomp;
8427685f 973 common = fs/ntfscomp.c;
8c411768
BC
974};
975
976module = {
8c411768 977 name = reiserfs;
8427685f 978 common = fs/reiserfs.c;
8c411768
BC
979};
980
981module = {
8c411768 982 name = sfs;
8427685f 983 common = fs/sfs.c;
8c411768
BC
984};
985
986module = {
8c411768 987 name = tar;
8427685f 988 common = fs/tar.c;
8c411768
BC
989};
990
991module = {
8c411768 992 name = udf;
8427685f 993 common = fs/udf.c;
8c411768
BC
994};
995
996module = {
8c411768 997 name = ufs1;
8427685f 998 common = fs/ufs.c;
8c411768
BC
999};
1000
1001module = {
8c411768 1002 name = ufs2;
8427685f 1003 common = fs/ufs2.c;
8c411768
BC
1004};
1005
1006module = {
8c411768 1007 name = xfs;
8427685f 1008 common = fs/xfs.c;
8c411768
BC
1009};
1010
bf78d5b2
RM
1011module = {
1012 name = zfs;
1013 common = fs/zfs/zfs.c;
1014 common = fs/zfs/zfs_lzjb.c;
1015 common = fs/zfs/zfs_sha256.c;
1016 common = fs/zfs/zfs_fletcher.c;
1017};
1018
1019module = {
1020 name = zfsinfo;
1021 common = fs/zfs/zfsinfo.c;
1022};
1023
8c411768
BC
1024module = {
1025 name = pxe;
1026 i386_pc = fs/i386/pc/pxe.c;
911bd640 1027 enable = i386_pc;
8c411768
BC
1028};
1029
1030module = {
1031 name = gettext;
8427685f 1032 common = gettext/gettext.c;
8c411768
BC
1033};
1034
1035module = {
8c411768 1036 name = gfxmenu;
8427685f
BC
1037 common = gfxmenu/gfxmenu.c;
1038 common = gfxmenu/model.c;
1039 common = gfxmenu/view.c;
1040 common = gfxmenu/font.c;
1041 common = gfxmenu/icon_manager.c;
1042 common = gfxmenu/theme_loader.c;
1043 common = gfxmenu/widget-box.c;
1044 common = gfxmenu/gui_canvas.c;
1045 common = gfxmenu/gui_circular_progress.c;
1046 common = gfxmenu/gui_box.c;
1047 common = gfxmenu/gui_label.c;
1048 common = gfxmenu/gui_list.c;
1049 common = gfxmenu/gui_image.c;
1050 common = gfxmenu/gui_progress_bar.c;
1051 common = gfxmenu/gui_util.c;
1052 common = gfxmenu/gui_string_util.c;
1053 common = gfxmenu/named_colors.c;
8c411768
BC
1054};
1055
1056module = {
8c411768 1057 name = hello;
8427685f 1058 common = hello/hello.c;
8c411768
BC
1059};
1060
1061module = {
8c411768 1062 name = gzio;
8427685f 1063 common = io/gzio.c;
8c411768
BC
1064};
1065
1066module = {
1067 name = bufio;
8427685f 1068 common = io/bufio.c;
eefe8abd 1069 enable = videomodules;
8c411768
BC
1070};
1071
1072module = {
8c411768 1073 name = elf;
8427685f 1074 common = kern/elf.c;
8c411768
BC
1075};
1076
8c411768 1077module = {
8c411768 1078 name = crypto;
8427685f 1079 common = lib/crypto.c;
610c1efd
BC
1080
1081 extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
8c411768
BC
1082};
1083
8c411768 1084module = {
8c411768 1085 name = pbkdf2;
8427685f 1086 common = lib/pbkdf2.c;
8c411768
BC
1087};
1088
1089module = {
1090 name = relocator;
16bd6cfa
VS
1091 common = lib/relocator.c;
1092 x86 = lib/i386/relocator16.S;
1093 x86 = lib/i386/relocator32.S;
1094 x86 = lib/i386/relocator64.S;
1095 i386 = lib/i386/relocator_asm.S;
1096 x86_64 = lib/x86_64/relocator_asm.S;
8c411768 1097 x86 = lib/i386/relocator.c;
16bd6cfa
VS
1098 ieee1275 = lib/ieee1275/relocator.c;
1099 x86_efi = lib/efi/relocator.c;
1100 mips = lib/mips/relocator_asm.S;
1101 mips = lib/mips/relocator.c;
1102 powerpc = lib/powerpc/relocator_asm.S;
1103 powerpc = lib/powerpc/relocator.c;
1104
6556eba9
BC
1105 extra_dist = lib/i386/relocator_common.S;
1106 extra_dist = kern/powerpc/cache_flush.S;
1107
911bd640 1108 enable = mips;
16bd6cfa 1109 enable = powerpc;
911bd640 1110 enable = x86;
8c411768
BC
1111};
1112
1113module = {
1114 name = datetime;
eefe8abd 1115 cmos = lib/cmos_datetime.c;
8c411768
BC
1116 x86_efi = lib/efi/datetime.c;
1117 sparc64_ieee1275 = lib/ieee1275/datetime.c;
1118 powerpc_ieee1275 = lib/ieee1275/datetime.c;
eefe8abd 1119 enable = noemu;
8c411768
BC
1120};
1121
1122module = {
1123 name = setjmp;
8427685f 1124 common = lib/setjmp.S;
2b6c0084
BC
1125 extra_dist = lib/i386/setjmp.S;
1126 extra_dist = lib/mips/setjmp.S;
1127 extra_dist = lib/x86_64/setjmp.S;
1128 extra_dist = lib/sparc64/setjmp.S;
1129 extra_dist = lib/powerpc/setjmp.S;
8c411768
BC
1130};
1131
1132module = {
1133 name = aout;
8427685f 1134 common = loader/aout.c;
16bd6cfa 1135 enable = x86;
8c411768
BC
1136};
1137
1138module = {
1139 name = bsd;
16bd6cfa
VS
1140 x86 = loader/i386/bsd.c;
1141 x86 = loader/i386/bsd32.c;
1142 x86 = loader/i386/bsd64.c;
610c1efd
BC
1143
1144 extra_dist = loader/i386/bsdXX.c;
1145 extra_dist = loader/i386/bsd_pagetable.c;
1146
16bd6cfa 1147 enable = x86;
8c411768
BC
1148};
1149
1150module = {
1151 name = linux16;
8427685f 1152 i386_pc = loader/i386/pc/linux.c;
25953e10 1153 i386_pc = lib/cmdline.c;
911bd640 1154 enable = i386_pc;
8c411768
BC
1155};
1156
16bd6cfa
VS
1157module = {
1158 name = ntldr;
1159 i386_pc = loader/i386/pc/ntldr.c;
1160 enable = i386_pc;
1161};
1162
8c411768
BC
1163module = {
1164 name = multiboot2;
1165 cppflags = "-DGRUB_USE_MULTIBOOT2";
1166
8427685f
BC
1167 common = loader/multiboot.c;
1168 common = loader/multiboot_mbi2.c;
911bd640
BC
1169 enable = x86;
1170 enable = mips;
8c411768
BC
1171};
1172
1173module = {
1174 name = multiboot;
8427685f
BC
1175 common = loader/multiboot.c;
1176 x86 = loader/i386/multiboot_mbi.c;
a60f6ee1 1177 extra_dist = loader/multiboot_elfxx.c;
911bd640 1178 enable = x86;
8c411768
BC
1179};
1180
1181module = {
1182 name = linux;
16bd6cfa 1183 x86 = loader/i386/linux.c;
e31bb619 1184 i386_pc = lib/i386/pc/vesa_modes_table.c;
8c411768
BC
1185 mips = loader/mips/linux.c;
1186 powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1187 sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
25953e10 1188 common = lib/cmdline.c;
8427685f 1189 enable = noemu;
8c411768
BC
1190};
1191
1192module = {
1193 name = xnu;
16bd6cfa
VS
1194 x86 = loader/xnu_resume.c;
1195 x86 = loader/i386/xnu.c;
1196 x86 = loader/macho32.c;
1197 x86 = loader/macho64.c;
1198 x86 = loader/macho.c;
1199 x86 = loader/xnu.c;
a60f6ee1
BC
1200
1201 extra_dist = loader/machoXX.c;
16bd6cfa 1202 enable = x86;
8c411768
BC
1203};
1204
1205module = {
1206 name = appleldr;
1207 x86_efi = loader/efi/appleloader.c;
911bd640 1208 enable = x86_efi;
8c411768
BC
1209};
1210
1211module = {
1212 name = chain;
1213 x86_efi = loader/efi/chainloader.c;
1214 i386_pc = loader/i386/pc/chainloader.c;
911bd640
BC
1215 enable = i386_pc;
1216 enable = x86_efi;
8c411768
BC
1217};
1218
1219module = {
1220 name = mmap;
eefe8abd
VS
1221 common = mmap/mmap.c;
1222 x86 = mmap/i386/uppermem.c;
1223 x86 = mmap/i386/mmap.c;
1224
8c411768
BC
1225 i386_pc = mmap/i386/pc/mmap.c;
1226 i386_pc = mmap/i386/pc/mmap_helper.S;
1227
8c411768
BC
1228 x86_efi = mmap/efi/mmap.c;
1229
8c411768 1230 mips_yeeloong = mmap/mips/yeeloong/uppermem.c;
911bd640
BC
1231
1232 enable = x86;
1233 enable = mips_yeeloong;
8c411768
BC
1234};
1235
1236module = {
8c411768 1237 name = normal;
8427685f
BC
1238 common = normal/main.c;
1239 common = normal/cmdline.c;
1240 common = normal/dyncmd.c;
1241 common = normal/auth.c;
1242 common = normal/autofs.c;
1243 common = normal/color.c;
1244 common = normal/completion.c;
1245 common = normal/datetime.c;
1246 common = normal/menu.c;
1247 common = normal/menu_entry.c;
1248 common = normal/menu_text.c;
1249 common = normal/misc.c;
1250 common = normal/crypto.c;
1251 common = normal/term.c;
1252 common = normal/context.c;
1253 common = normal/charset.c;
1254
1255 common = script/main.c;
1256 common = script/script.c;
1257 common = script/execute.c;
1258 common = script/function.c;
1259 common = script/lexer.c;
1260 common = script/argv.c;
1261
9284756e
BC
1262 common = commands/menuentry.c;
1263
8427685f
BC
1264 common = unidata.c;
1265 common_nodist = grub_script.tab.c;
1266 common_nodist = grub_script.yy.c;
1267 common_nodist = grub_script.tab.h;
1268 common_nodist = grub_script.yy.h;
297f0c2b
BC
1269
1270 extra_dist = script/yylex.l;
1271 extra_dist = script/parser.y;
1272
1273 cflags = '$(CFLAGS_POSIX) -Wno-error';
1274 cppflags = '$(CPPFLAGS_POSIX)';
8c411768
BC
1275};
1276
1277module = {
8c411768 1278 name = part_acorn;
8427685f 1279 common = partmap/acorn.c;
8c411768
BC
1280};
1281
1282module = {
8c411768 1283 name = part_amiga;
8427685f 1284 common = partmap/amiga.c;
8c411768
BC
1285};
1286
1287module = {
8c411768 1288 name = part_apple;
8427685f 1289 common = partmap/apple.c;
8c411768
BC
1290};
1291
1292module = {
8c411768 1293 name = part_gpt;
8427685f 1294 common = partmap/gpt.c;
8c411768
BC
1295};
1296
1297module = {
8c411768 1298 name = part_msdos;
8427685f 1299 common = partmap/msdos.c;
8c411768
BC
1300};
1301
1302module = {
8c411768 1303 name = part_sun;
8427685f 1304 common = partmap/sun.c;
8c411768
BC
1305};
1306
1307module = {
8c411768 1308 name = part_bsd;
8427685f 1309 common = partmap/bsdlabel.c;
8c411768
BC
1310};
1311
1312module = {
8c411768 1313 name = part_sunpc;
8427685f 1314 common = partmap/sunpc.c;
8c411768
BC
1315};
1316
1317module = {
8c411768 1318 name = msdospart;
8427685f 1319 common = parttool/msdospart.c;
8c411768
BC
1320};
1321
8c411768
BC
1322module = {
1323 name = at_keyboard;
8427685f 1324 common = term/at_keyboard.c;
911bd640 1325 enable = x86;
8c411768
BC
1326};
1327
1328module = {
1329 name = gfxterm;
8427685f 1330 common = term/gfxterm.c;
eefe8abd 1331 enable = videomodules;
8c411768
BC
1332};
1333
1334module = {
1335 name = serial;
8427685f 1336 common = term/serial.c;
d84666e6
BC
1337 x86 = term/ns8250.c;
1338
1339 enable = emu;
911bd640 1340 enable = i386;
d84666e6 1341 enable = x86_64_efi;
f7711f5e 1342 emu_condition = COND_GRUB_EMU_USB;
d84666e6
BC
1343};
1344
1345module = {
1346 name = sendkey;
1347 i386_pc = commands/i386/pc/sendkey.c;
1348 enable = i386_pc;
8c411768
BC
1349};
1350
1351module = {
8c411768 1352 name = terminfo;
8427685f
BC
1353 common = term/terminfo.c;
1354 common = term/tparm.c;
ee74fa48 1355 enable = terminfomodule;
8c411768
BC
1356};
1357
1358module = {
1359 name = usb_keyboard;
8427685f 1360 common = term/usb_keyboard.c;
eefe8abd 1361 enable = usb;
8c411768
BC
1362};
1363
1364module = {
1365 name = vga;
1426af20 1366 i386_pc = video/i386/pc/vga.c;
911bd640 1367 enable = i386_pc;
8c411768
BC
1368};
1369
1370module = {
1371 name = vga_text;
16bd6cfa
VS
1372 common = term/i386/pc/vga_text.c;
1373 common = term/i386/vga_common.c;
1374 enable = i386_pc;
1375 enable = i386_coreboot;
1376 enable = i386_multiboot;
8c411768
BC
1377};
1378
297f0c2b
BC
1379module = {
1380 name = video_cirrus;
f7711f5e
BC
1381 x86 = video/cirrus.c;
1382 enable = x86;
297f0c2b
BC
1383};
1384
1385module = {
1386 name = video_bochs;
f7711f5e
BC
1387 x86 = video/bochs.c;
1388 enable = x86;
297f0c2b
BC
1389};
1390
8c411768
BC
1391module = {
1392 name = functional_test;
8427685f
BC
1393 common = tests/lib/functional_test.c;
1394 common = tests/lib/test.c;
8c411768
BC
1395};
1396
1397module = {
1398 name = example_functional_test;
8427685f 1399 common = tests/example_functional_test.c;
8c411768 1400 cflags = -Wno-format;
8c411768
BC
1401};
1402
1403module = {
1404 name = bitmap;
8427685f 1405 common = video/bitmap.c;
eefe8abd 1406 enable = videomodules;
8c411768
BC
1407};
1408
1409module = {
1410 name = bitmap_scale;
8427685f 1411 common = video/bitmap_scale.c;
eefe8abd 1412 enable = videomodules;
8c411768
BC
1413};
1414
1415module = {
1416 name = efi_gop;
1417 x86_efi = video/efi_gop.c;
911bd640 1418 enable = x86_efi;
8c411768
BC
1419};
1420
1421module = {
1422 name = efi_uga;
1423 x86_efi = video/efi_uga.c;
911bd640 1424 enable = x86_efi;
8c411768
BC
1425};
1426
1427module = {
8c411768 1428 name = jpeg;
8427685f 1429 common = video/readers/jpeg.c;
8c411768
BC
1430};
1431
1432module = {
8c411768 1433 name = png;
8427685f 1434 common = video/readers/png.c;
8c411768
BC
1435};
1436
1437module = {
8c411768 1438 name = tga;
8427685f 1439 common = video/readers/tga.c;
8c411768
BC
1440};
1441
1442module = {
1443 name = vbe;
1444 i386_pc = video/i386/pc/vbe.c;
911bd640 1445 enable = i386_pc;
8c411768
BC
1446};
1447
1448module = {
1449 name = video_fb;
8427685f
BC
1450 common = video/fb/video_fb.c;
1451 common = video/fb/fbblit.c;
1452 common = video/fb/fbfill.c;
1453 common = video/fb/fbutil.c;
eefe8abd 1454 enable = videomodules;
8c411768
BC
1455};
1456
1457module = {
1458 name = video;
8427685f 1459 common = video/video.c;
eefe8abd 1460 enable = videomodules;
8c411768
BC
1461};
1462
1463module = {
1464 name = ieee1275_fb;
8427685f 1465 ieee1275 = video/ieee1275.c;
911bd640 1466 enable = powerpc;
8c411768
BC
1467};
1468
1469module = {
1470 name = sdl;
8427685f 1471 emu = video/emu/sdl.c;
911bd640 1472 enable = emu;
8427685f 1473 condition = COND_GRUB_EMU_SDL;
8c411768
BC
1474};
1475
1476module = {
1477 name = datehook;
8427685f 1478 common = hook/datehook.c;
8c411768 1479};
92eb189b
VS
1480
1481module = {
1482 name = legacycfg;
1483 common = commands/legacycfg.c;
fff175c7 1484 common = lib/legacy_parse.c;
d6d94820 1485 emu = lib/i386/pc/vesa_modes_table.c;
92eb189b 1486 enable = i386_pc;
abda0cad 1487 enable = emu;
bd960307 1488};
122a9b2c 1489
928bad47
BC
1490module = {
1491 name = test_blockarg;
1492 common = tests/test_blockarg.c;
47b4c2c3 1493};
06f70117 1494
f0aff67c
SJ
1495module = {
1496 name = xzio;
1497 common = io/xzio.c;
1498 common = lib/xzembed/xz_dec_bcj.c;
1499 common = lib/xzembed/xz_dec_lzma2.c;
1500 common = lib/xzembed/xz_dec_stream.c;
1501 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
1502};
1503
06f70117
VS
1504module = {
1505 name = testload;
1506 common = commands/testload.c;
fff175c7 1507};
890c9fa5
VS
1508
1509module = {
1510 name = lsapm;
1511 common = commands/i386/pc/lsapm.c;
1512 enable = i386_pc;
1513};
1a9130dd 1514
5aaf2c18
VS
1515module = {
1516 name = keylayouts;
1517 common = commands/keylayouts.c;
1a9130dd 1518 enable = videomodules;
5aaf2c18 1519};