1 AutoGen definitions Makefile.tpl;
5 cflags = '$(CFLAGS_GNULIB)';
6 cppflags = '$(CPPFLAGS_GNULIB)';
9 common = grub-core/kern/command.c;
10 common = grub-core/kern/device.c;
11 common = grub-core/kern/disk.c;
12 common = util/getroot.c;
14 common = grub-core/kern/emu/hostdisk.c;
15 common = grub-core/kern/emu/misc.c;
16 common = grub-core/kern/emu/mm.c;
17 common = grub-core/kern/env.c;
18 common = grub-core/kern/err.c;
19 common = grub-core/kern/file.c;
20 common = grub-core/kern/fs.c;
21 common = grub-core/kern/list.c;
22 common = grub-core/kern/misc.c;
23 common = grub-core/kern/partition.c;
24 common = grub-core/lib/crypto.c;
25 common = grub-core/disk/luks.c;
26 common = grub-core/disk/geli.c;
27 common = grub-core/disk/cryptodisk.c;
28 common = grub-core/disk/AFSplitter.c;
29 common = grub-core/lib/pbkdf2.c;
30 common = grub-core/commands/extcmd.c;
31 common = grub-core/lib/arg.c;
32 common = grub-core/disk/ldm.c;
33 common = grub-core/disk/diskfilter.c;
34 common = grub-core/partmap/gpt.c;
35 common = grub-core/partmap/msdos.c;
36 common = grub-core/fs/proc.c;
41 cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn';
42 cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
44 common_nodist = grub_script.tab.c;
45 common_nodist = grub_script.yy.c;
46 common_nodist = libgrub_a_init.c;
47 common_nodist = grub_script.yy.h;
48 common_nodist = grub_script.tab.h;
50 common = grub-core/commands/blocklist.c;
51 common = grub-core/commands/xnu_uuid.c;
52 common = grub-core/commands/testload.c;
53 common = grub-core/commands/ls.c;
54 common = grub-core/disk/dmraid_nvidia.c;
55 common = grub-core/disk/loopback.c;
56 common = grub-core/disk/lvm.c;
57 common = grub-core/disk/mdraid_linux.c;
58 common = grub-core/disk/mdraid_linux_be.c;
59 common = grub-core/disk/mdraid1x_linux.c;
60 common = grub-core/disk/raid5_recover.c;
61 common = grub-core/disk/raid6_recover.c;
62 common = grub-core/font/font.c;
63 common = grub-core/gfxmenu/font.c;
64 common = grub-core/normal/charset.c;
65 common = grub-core/video/fb/fbblit.c;
66 common = grub-core/video/fb/fbutil.c;
67 common = grub-core/video/fb/fbfill.c;
68 common = grub-core/video/fb/video_fb.c;
69 common = grub-core/video/video.c;
70 common = grub-core/video/capture.c;
71 common = grub-core/video/colors.c;
72 common = grub-core/unidata.c;
73 common = grub-core/io/bufio.c;
74 common = grub-core/fs/affs.c;
75 common = grub-core/fs/afs.c;
76 common = grub-core/fs/bfs.c;
77 common = grub-core/fs/btrfs.c;
78 common = grub-core/fs/cpio.c;
79 common = grub-core/fs/cpio_be.c;
80 common = grub-core/fs/odc.c;
81 common = grub-core/fs/newc.c;
82 common = grub-core/fs/ext2.c;
83 common = grub-core/fs/fat.c;
84 common = grub-core/fs/exfat.c;
85 common = grub-core/fs/fshelp.c;
86 common = grub-core/fs/hfs.c;
87 common = grub-core/fs/hfsplus.c;
88 common = grub-core/fs/iso9660.c;
89 common = grub-core/fs/jfs.c;
90 common = grub-core/fs/minix.c;
91 common = grub-core/fs/minix2.c;
92 common = grub-core/fs/minix3.c;
93 common = grub-core/fs/minix_be.c;
94 common = grub-core/fs/minix2_be.c;
95 common = grub-core/fs/minix3_be.c;
96 common = grub-core/fs/nilfs2.c;
97 common = grub-core/fs/ntfs.c;
98 common = grub-core/fs/ntfscomp.c;
99 common = grub-core/fs/reiserfs.c;
100 common = grub-core/fs/romfs.c;
101 common = grub-core/fs/sfs.c;
102 common = grub-core/fs/squash4.c;
103 common = grub-core/fs/tar.c;
104 common = grub-core/fs/udf.c;
105 common = grub-core/fs/ufs2.c;
106 common = grub-core/fs/ufs.c;
107 common = grub-core/fs/ufs_be.c;
108 common = grub-core/fs/xfs.c;
109 common = grub-core/fs/zfs/zfscrypt.c;
110 common = grub-core/fs/zfs/zfs.c;
111 common = grub-core/fs/zfs/zfsinfo.c;
112 common = grub-core/fs/zfs/zfs_lzjb.c;
113 common = grub-core/fs/zfs/zfs_sha256.c;
114 common = grub-core/fs/zfs/zfs_fletcher.c;
115 common = grub-core/lib/envblk.c;
116 common = grub-core/lib/hexdump.c;
117 common = grub-core/lib/LzFind.c;
118 common = grub-core/lib/LzmaEnc.c;
119 common = grub-core/lib/crc.c;
120 common = grub-core/lib/adler32.c;
121 common = grub-core/lib/crc64.c;
122 common = grub-core/normal/datetime.c;
123 common = grub-core/normal/misc.c;
124 common = grub-core/partmap/acorn.c;
125 common = grub-core/partmap/amiga.c;
126 common = grub-core/partmap/apple.c;
127 common = grub-core/partmap/sun.c;
128 common = grub-core/partmap/plan.c;
129 common = grub-core/partmap/dvh.c;
130 common = grub-core/partmap/sunpc.c;
131 common = grub-core/partmap/bsdlabel.c;
132 common = grub-core/script/function.c;
133 common = grub-core/script/lexer.c;
134 common = grub-core/script/main.c;
135 common = grub-core/script/script.c;
136 common = grub-core/script/argv.c;
137 common = grub-core/io/gzio.c;
138 common = grub-core/io/lzopio.c;
139 common = grub-core/kern/ia64/dl_helper.c;
140 common = grub-core/lib/minilzo/minilzo.c;
141 common = grub-core/lib/xzembed/xz_dec_bcj.c;
142 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
143 common = grub-core/lib/xzembed/xz_dec_stream.c;
148 common = util/bin2h.c;
149 ldadd = libgrubmods.a;
150 ldadd = libgrubgcry.a;
151 ldadd = libgrubkern.a;
152 ldadd = grub-core/gnulib/libgnu.a;
153 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
161 common = util/grub-mkimage.c;
162 common = util/resolve.c;
163 common = grub-core/kern/emu/argp_common.c;
165 extra_dist = util/grub-mkimagexx.c;
167 ldadd = libgrubmods.a;
168 ldadd = libgrubgcry.a;
169 ldadd = libgrubkern.a;
170 ldadd = grub-core/gnulib/libgnu.a;
171 ldadd = '$(LIBLZMA)';
172 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
173 cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
177 name = grub-mkrelpath;
180 common = util/grub-mkrelpath.c;
181 common = grub-core/kern/emu/argp_common.c;
183 ldadd = libgrubmods.a;
184 ldadd = libgrubgcry.a;
185 ldadd = libgrubkern.a;
186 ldadd = grub-core/gnulib/libgnu.a;
187 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
191 name = grub-script-check;
194 common = util/grub-script-check.c;
195 common = grub-core/kern/emu/argp_common.c;
197 ldadd = libgrubmods.a;
198 ldadd = libgrubgcry.a;
199 ldadd = libgrubkern.a;
200 ldadd = grub-core/gnulib/libgnu.a;
201 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
208 common = util/grub-editenv.c;
210 ldadd = libgrubmods.a;
211 ldadd = libgrubgcry.a;
212 ldadd = libgrubkern.a;
213 ldadd = grub-core/gnulib/libgnu.a;
214 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
218 name = grub-mkpasswd-pbkdf2;
221 common = util/grub-mkpasswd-pbkdf2.c;
222 common = grub-core/kern/emu/argp_common.c;
224 ldadd = libgrubmods.a;
225 ldadd = libgrubgcry.a;
226 ldadd = libgrubkern.a;
227 ldadd = grub-core/gnulib/libgnu.a;
228 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
232 name = grub-macho2img;
234 common = util/grub-macho2img.c;
235 condition = COND_APPLE_CC;
241 common = util/grub-pe2elf.c;
243 ldadd = libgrubmods.a;
244 ldadd = libgrubgcry.a;
245 ldadd = libgrubkern.a;
246 ldadd = grub-core/gnulib/libgnu.a;
247 ldadd = '$(LIBINTL)';
248 condition = COND_GRUB_PE2ELF;
254 common_nodist = grub_fstest_init.c;
255 common = util/grub-fstest.c;
256 common = grub-core/kern/emu/hostfs.c;
257 common = grub-core/disk/host.c;
259 ldadd = libgrubmods.a;
260 ldadd = libgrubgcry.a;
261 ldadd = libgrubkern.a;
262 ldadd = grub-core/gnulib/libgnu.a;
263 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
269 common_nodist = grub_fstest_init.c;
270 common = util/grub-mount.c;
271 common = grub-core/kern/emu/hostfs.c;
272 common = grub-core/disk/host.c;
274 ldadd = libgrubmods.a;
275 ldadd = libgrubgcry.a;
276 ldadd = libgrubkern.a;
277 ldadd = grub-core/gnulib/libgnu.a;
278 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) -lfuse';
279 condition = COND_GRUB_MOUNT;
285 common = util/grub-mkfont.c;
286 common = grub-core/unidata.c;
287 common = grub-core/kern/emu/argp_common.c;
289 cflags = '$(freetype_cflags)';
291 ldadd = libgrubmods.a;
292 ldadd = libgrubgcry.a;
293 ldadd = libgrubkern.a;
294 ldadd = grub-core/gnulib/libgnu.a;
295 ldadd = '$(freetype_libs)';
296 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
297 condition = COND_GRUB_MKFONT;
304 common = util/grub-probe.c;
305 common = util/ieee1275/ofpath.c;
306 common = grub-core/kern/emu/argp_common.c;
308 ldadd = libgrubmods.a;
309 ldadd = libgrubgcry.a;
310 ldadd = libgrubkern.a;
311 ldadd = grub-core/gnulib/libgnu.a;
312 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
316 name = grub-bios-setup;
319 common = util/grub-setup.c;
321 common = grub-core/kern/emu/argp_common.c;
322 common = grub-core/lib/reed_solomon.c;
324 ldadd = libgrubmods.a;
325 ldadd = libgrubkern.a;
326 ldadd = libgrubgcry.a;
327 ldadd = grub-core/gnulib/libgnu.a;
328 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
329 cppflags = '-DGRUB_SETUP_BIOS=1';
333 name = grub-sparc64-setup;
336 common = util/grub-setup.c;
338 common = grub-core/kern/emu/argp_common.c;
339 common = grub-core/lib/reed_solomon.c;
340 common = util/ieee1275/ofpath.c;
342 ldadd = libgrubmods.a;
343 ldadd = libgrubkern.a;
344 ldadd = libgrubgcry.a;
345 ldadd = grub-core/gnulib/libgnu.a;
346 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
347 cppflags = '-DGRUB_SETUP_SPARC64=1';
351 name = grub-ofpathname;
354 common = util/ieee1275/grub-ofpathname.c;
355 common = util/ieee1275/ofpath.c;
357 ldadd = libgrubmods.a;
358 ldadd = libgrubgcry.a;
359 ldadd = libgrubkern.a;
360 ldadd = grub-core/gnulib/libgnu.a;
361 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
365 name = grub-mklayout;
368 common = util/grub-mklayout.c;
369 common = grub-core/kern/emu/argp_common.c;
371 ldadd = libgrubmods.a;
372 ldadd = libgrubgcry.a;
373 ldadd = libgrubkern.a;
374 ldadd = grub-core/gnulib/libgnu.a;
375 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
379 common = util/grub.d/README;
380 installdir = grubconf;
385 common = util/grub.d/00_header.in;
386 installdir = grubconf;
391 common = util/grub.d/10_windows.in;
392 installdir = grubconf;
393 condition = COND_HOST_WINDOWS;
398 common = util/grub.d/10_hurd.in;
399 installdir = grubconf;
400 condition = COND_HOST_HURD;
404 name = '10_kfreebsd';
405 common = util/grub.d/10_kfreebsd.in;
406 installdir = grubconf;
407 condition = COND_HOST_KFREEBSD;
412 common = util/grub.d/10_illumos.in;
413 installdir = grubconf;
414 condition = COND_HOST_ILLUMOS;
419 common = util/grub.d/10_netbsd.in;
420 installdir = grubconf;
421 condition = COND_HOST_NETBSD;
426 common = util/grub.d/10_linux.in;
427 installdir = grubconf;
428 condition = COND_HOST_LINUX;
433 common = util/grub.d/10_xnu.in;
434 installdir = grubconf;
435 condition = COND_HOST_XNU;
439 name = '20_linux_xen';
440 common = util/grub.d/20_linux_xen.in;
441 installdir = grubconf;
442 condition = COND_HOST_LINUX;
446 name = '30_os-prober';
447 common = util/grub.d/30_os-prober.in;
448 installdir = grubconf;
453 common = util/grub.d/40_custom.in;
454 installdir = grubconf;
459 common = util/grub.d/41_custom.in;
460 installdir = grubconf;
465 name = grub-mkrescue;
466 common = util/grub-install_header;
467 common = util/grub-mkrescue.in;
473 name = grub-mkstandalone;
474 common = util/grub-install_header;
475 common = util/grub-mkstandalone.in;
483 common = util/grub-install_header;
484 common = util/grub-install.in;
491 name = grub-mknetdir;
493 common = util/grub-install_header;
494 common = util/grub-mknetdir.in;
498 name = grub-mkconfig;
499 common = util/grub-mkconfig.in;
505 name = grub-set-default;
506 common = util/grub-set-default.in;
513 common = util/grub-reboot.in;
519 name = grub-mkconfig_lib;
520 common = util/grub-mkconfig_lib.in;
526 common = util/grub-kbdcomp.in;
532 common = tests/util/grub-shell.in;
537 name = grub-shell-tester;
538 common = tests/util/grub-shell-tester.in;
544 name = example_scripted_test;
545 common = tests/example_scripted_test.in;
551 common = tests/pata_test.in;
557 common = tests/ahci_test.in;
563 common = tests/uhci_test.in;
569 common = tests/ohci_test.in;
575 common = tests/ehci_test.in;
580 name = example_grub_script_test;
581 common = tests/example_grub_script_test.in;
586 name = grub_script_echo1;
587 common = tests/grub_script_echo1.in;
592 name = grub_script_leading_whitespace;
593 common = tests/grub_script_leading_whitespace.in;
598 name = grub_script_echo_keywords;
599 common = tests/grub_script_echo_keywords.in;
604 name = grub_script_vars1;
605 common = tests/grub_script_vars1.in;
610 name = grub_script_for1;
611 common = tests/grub_script_for1.in;
616 name = grub_script_while1;
617 common = tests/grub_script_while1.in;
622 name = grub_script_if;
623 common = tests/grub_script_if.in;
628 name = grub_script_blanklines;
629 common = tests/grub_script_blanklines.in;
634 name = grub_script_final_semicolon;
635 common = tests/grub_script_final_semicolon.in;
640 name = grub_script_dollar;
641 common = tests/grub_script_dollar.in;
646 name = grub_script_comments;
647 common = tests/grub_script_comments.in;
652 name = grub_script_functions;
653 common = tests/grub_script_functions.in;
658 name = grub_script_break;
659 common = tests/grub_script_break.in;
664 name = grub_script_continue;
665 common = tests/grub_script_continue.in;
670 name = grub_script_shift;
671 common = tests/grub_script_shift.in;
676 name = grub_script_blockarg;
677 common = tests/grub_script_blockarg.in;
682 name = grub_script_setparams;
683 common = tests/grub_script_setparams.in;
688 name = grub_script_return;
689 common = tests/grub_script_return.in;
694 name = grub_cmd_regexp;
695 common = tests/grub_cmd_regexp.in;
700 name = grub_cmd_date;
701 common = tests/grub_cmd_date.in;
706 name = grub_cmd_set_date;
707 common = tests/grub_cmd_set_date.in;
712 name = grub_cmd_sleep;
713 common = tests/grub_cmd_sleep.in;
718 name = grub_script_expansion;
719 common = tests/grub_script_expansion.in;
724 name = grub_script_not;
725 common = tests/grub_script_not.in;
731 common = tests/partmap_test.in;
737 common = tests/hddboot_test.in;
743 common = tests/fddboot_test.in;
749 common = tests/cdboot_test.in;
755 common = tests/netboot_test.in;
761 common = tests/pseries_test.in;
766 name = core_compress_test;
767 common = tests/core_compress_test.in;
772 name = xzcompress_test;
773 common = tests/xzcompress_test.in;
778 name = gzcompress_test;
779 common = tests/gzcompress_test.in;
784 name = lzocompress_test;
785 common = tests/lzocompress_test.in;
790 name = grub_cmd_echo;
791 common = tests/grub_cmd_echo.in;
797 common = tests/help_test.in;
802 name = grub_script_gettext;
803 common = tests/grub_script_gettext.in;
808 name = grub_script_escape_comma;
809 common = tests/grub_script_escape_comma.in;
814 name = grub_script_strcmp;
815 common = tests/grub_script_strcmp.in;
820 name = grub_func_test;
821 common = tests/grub_func_test.in;
826 name = example_unit_test;
827 common = tests/example_unit_test.c;
828 common = tests/lib/unit_test.c;
829 common = grub-core/kern/list.c;
830 common = grub-core/kern/misc.c;
831 common = grub-core/tests/lib/test.c;
832 ldadd = libgrubmods.a;
833 ldadd = libgrubgcry.a;
834 ldadd = libgrubkern.a;
835 ldadd = grub-core/gnulib/libgnu.a;
836 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
842 common = tests/printf_unit_test.c;
843 common = tests/lib/unit_test.c;
844 common = grub-core/kern/list.c;
845 common = grub-core/kern/misc.c;
846 common = grub-core/tests/lib/test.c;
847 ldadd = libgrubmods.a;
848 ldadd = libgrubgcry.a;
849 ldadd = libgrubkern.a;
850 ldadd = grub-core/gnulib/libgnu.a;
851 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
857 common = tests/cmp_unit_test.c;
858 common = tests/lib/unit_test.c;
859 common = grub-core/kern/list.c;
860 common = grub-core/kern/misc.c;
861 common = grub-core/tests/lib/test.c;
862 ldadd = libgrubmods.a;
863 ldadd = libgrubgcry.a;
864 ldadd = libgrubkern.a;
865 ldadd = grub-core/gnulib/libgnu.a;
866 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
870 name = grub-menulst2cfg;
872 common = util/grub-menulst2cfg.c;
873 common = grub-core/lib/legacy_parse.c;
874 common = grub-core/lib/i386/pc/vesa_modes_table.c;
876 ldadd = libgrubmods.a;
877 ldadd = libgrubgcry.a;
878 ldadd = libgrubkern.a;
879 ldadd = grub-core/gnulib/libgnu.a;
880 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
884 name = grub-glue-efi;
887 common = util/grub-glue-efi.c;
888 common = grub-core/kern/emu/argp_common.c;
890 ldadd = libgrubmods.a;
891 ldadd = libgrubgcry.a;
892 ldadd = libgrubkern.a;
893 ldadd = grub-core/gnulib/libgnu.a;
894 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
898 name = grub-render-label;
901 common = util/grub-render-label.c;
902 common = grub-core/kern/emu/argp_common.c;
903 common = grub-core/kern/emu/hostfs.c;
904 common = grub-core/disk/host.c;
906 ldadd = libgrubmods.a;
907 ldadd = libgrubgcry.a;
908 ldadd = libgrubkern.a;
909 ldadd = grub-core/gnulib/libgnu.a;
910 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';