1 AutoGen definitions Makefile.tpl;
5 cflags = '$(CFLAGS_GCRY)';
6 cppflags = '$(CPPFLAGS_GCRY)';
8 common_nodist = grub_script.tab.c;
9 common_nodist = grub_script.yy.c;
10 common_nodist = libgrub_a_init.c;
11 common_nodist = grub_script.yy.h;
12 common_nodist = grub_script.tab.h;
14 common = grub-core/gnulib/error.c;
15 common = grub-core/gnulib/fnmatch.c;
16 common = grub-core/gnulib/getdelim.c;
17 common = grub-core/gnulib/getline.c;
18 common = grub-core/gnulib/getopt1.c;
19 common = grub-core/gnulib/getopt.c;
20 common = grub-core/gnulib/progname.c;
23 common = grub-core/kern/misc.c;
24 common = grub-core/kern/emu/mm.c;
25 common = grub-core/kern/emu/misc.c;
26 common = grub-core/kern/emu/getroot.c;
27 common = grub-core/kern/emu/hostdisk.c;
29 common = grub-core/commands/blocklist.c;
30 common = grub-core/commands/extcmd.c;
31 common = grub-core/commands/ls.c;
32 common = grub-core/disk/dmraid_nvidia.c;
33 common = grub-core/disk/loopback.c;
34 common = grub-core/disk/lvm.c;
35 common = grub-core/disk/mdraid_linux.c;
36 common = grub-core/disk/raid5_recover.c;
37 common = grub-core/disk/raid6_recover.c;
38 common = grub-core/disk/raid.c;
39 common = grub-core/fs/affs.c;
40 common = grub-core/fs/afs_be.c;
41 common = grub-core/fs/afs.c;
42 common = grub-core/fs/befs_be.c;
43 common = grub-core/fs/befs.c;
44 common = grub-core/fs/btrfs.c;
45 common = grub-core/fs/cpio.c;
46 common = grub-core/fs/ext2.c;
47 common = grub-core/fs/fat.c;
48 common = grub-core/fs/fshelp.c;
49 common = grub-core/fs/hfs.c;
50 common = grub-core/fs/hfsplus.c;
51 common = grub-core/fs/iso9660.c;
52 common = grub-core/fs/jfs.c;
53 common = grub-core/fs/minix.c;
54 common = grub-core/fs/minix2.c;
55 common = grub-core/fs/nilfs2.c;
56 common = grub-core/fs/ntfs.c;
57 common = grub-core/fs/ntfscomp.c;
58 common = grub-core/fs/reiserfs.c;
59 common = grub-core/fs/sfs.c;
60 common = grub-core/fs/tar.c;
61 common = grub-core/fs/udf.c;
62 common = grub-core/fs/ufs2.c;
63 common = grub-core/fs/ufs.c;
64 common = grub-core/fs/xfs.c;
65 common = grub-core/kern/command.c;
66 common = grub-core/kern/device.c;
67 common = grub-core/kern/disk.c;
68 common = grub-core/kern/env.c;
69 common = grub-core/kern/err.c;
70 common = grub-core/kern/file.c;
71 common = grub-core/kern/fs.c;
72 common = grub-core/kern/list.c;
73 common = grub-core/kern/partition.c;
74 common = grub-core/lib/arg.c;
75 common = grub-core/lib/crypto.c;
76 common = grub-core/lib/envblk.c;
77 common = grub-core/lib/hexdump.c;
78 common = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
79 common = grub-core/lib/libgcrypt-grub/cipher/crc.c;
80 common = grub-core/lib/LzFind.c;
81 common = grub-core/lib/LzmaEnc.c;
82 common = grub-core/lib/pbkdf2.c;
83 common = grub-core/normal/datetime.c;
84 common = grub-core/normal/misc.c;
85 common = grub-core/partmap/acorn.c;
86 common = grub-core/partmap/amiga.c;
87 common = grub-core/partmap/apple.c;
88 common = grub-core/partmap/gpt.c;
89 common = grub-core/partmap/msdos.c;
90 common = grub-core/partmap/sun.c;
91 common = grub-core/partmap/sunpc.c;
92 common = grub-core/script/function.c;
93 common = grub-core/script/lexer.c;
94 common = grub-core/script/main.c;
95 common = grub-core/script/script.c;
96 common = grub-core/script/argv.c;
101 common = util/bin2h.c;
103 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
111 common = util/grub-mkimage.c;
112 common = util/resolve.c;
113 extra_dist = util/grub-mkimagexx.c;
116 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
117 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
121 name = grub-mkrelpath;
124 common = util/grub-mkrelpath.c;
127 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
131 name = grub-script-check;
134 common = util/grub-script-check.c;
137 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
144 common = util/grub-editenv.c;
147 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
151 name = grub-mkpasswd-pbkdf2;
154 common = util/grub-mkpasswd-pbkdf2.c;
157 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
158 cflags = '$(CFLAGS_GCRY)';
159 cppflags = '$(CPPFLAGS_GCRY)';
163 name = grub-macho2img;
165 common = util/grub-macho2img.c;
166 condition = COND_APPLE_CC;
172 common = util/grub-pe2elf.c;
175 ldadd = '$(LIBINTL)';
176 condition = COND_GRUB_PE2ELF;
182 common_nodist = grub_fstest_init.c;
183 common = util/grub-fstest.c;
184 common = grub-core/kern/emu/hostfs.c;
185 common = grub-core/disk/host.c;
188 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
189 cflags = '$(CFLAGS_GCRY)';
190 cppflags = '$(CPPFLAGS_GCRY)';
196 common = util/grub-mkfont.c;
197 common = grub-core/unidata.c;
199 cflags = '$(freetype_cflags)';
202 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
203 ldadd = '$(freetype_libs)';
204 condition = COND_GRUB_MKFONT;
208 name = grub-mkdevicemap;
212 common = util/grub-mkdevicemap.c;
213 common = util/deviceiter.c;
214 nosparc64 = util/devicemap.c;
216 sparc64_ieee1275 = util/ieee1275/ofpath.c;
217 sparc64_ieee1275 = util/ieee1275/devicemap.c;
220 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
227 common = util/grub-probe.c;
230 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
237 common = util/grub-setup.c;
238 common = util/raid.c;
241 sparc64_ieee1275 = util/ieee1275/ofpath.c;
244 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
247 enable = sparc64_ieee1275;
251 name = grub-ofpathname;
253 ieee1275 = util/ieee1275/grub-ofpathname.c;
254 ieee1275 = util/ieee1275/ofpath.c;
257 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
258 enable = sparc64_ieee1275;
262 name = grub-mklayout;
265 common = util/grub-mklayout.c;
268 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
272 common = util/grub.d/README;
273 installdir = grubconf;
278 common = util/grub.d/00_header.in;
279 installdir = grubconf;
284 common = util/grub.d/10_windows.in;
285 installdir = grubconf;
286 condition = COND_HOST_WINDOWS;
291 common = util/grub.d/10_hurd.in;
292 installdir = grubconf;
293 condition = COND_HOST_HURD;
297 name = '10_kfreebsd';
298 common = util/grub.d/10_kfreebsd.in;
299 installdir = grubconf;
300 condition = COND_HOST_KFREEBSD;
305 common = util/grub.d/10_netbsd.in;
306 installdir = grubconf;
307 condition = COND_HOST_NETBSD;
312 common = util/grub.d/10_linux.in;
313 installdir = grubconf;
314 condition = COND_HOST_LINUX;
318 name = '20_linux_xen';
319 common = util/grub.d/20_linux_xen.in;
320 installdir = grubconf;
321 condition = COND_HOST_LINUX;
325 name = '30_os-prober';
326 common = util/grub.d/30_os-prober.in;
327 installdir = grubconf;
332 common = util/grub.d/40_custom.in;
333 installdir = grubconf;
338 common = util/grub.d/41_custom.in;
339 installdir = grubconf;
344 name = grub-mkrescue;
345 x86 = util/grub-mkrescue.in;
346 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
350 enable = i386_multiboot;
351 enable = i386_coreboot;
352 enable = powerpc_ieee1275;
360 common = util/grub-install.in;
367 name = grub-mknetdir;
369 common = util/grub-mknetdir.in;
373 name = grub-mkconfig;
374 common = util/grub-mkconfig.in;
380 name = grub-set-default;
381 common = util/grub-set-default.in;
388 common = util/grub-reboot.in;
394 name = grub-mkconfig_lib;
395 common = util/grub-mkconfig_lib.in;
400 name = update-grub_lib;
401 common = util/update-grub_lib.in;
407 common = util/grub-kbdcomp.in;
412 common = tests/util/grub-shell.in;
417 name = grub-shell-tester;
418 common = tests/util/grub-shell-tester.in;
424 name = example_scripted_test;
425 common = tests/example_scripted_test.in;
430 name = example_grub_script_test;
431 common = tests/example_grub_script_test.in;
436 name = grub_script_echo1;
437 common = tests/grub_script_echo1.in;
442 name = grub_script_echo_keywords;
443 common = tests/grub_script_echo_keywords.in;
448 name = grub_script_vars1;
449 common = tests/grub_script_vars1.in;
454 name = grub_script_for1;
455 common = tests/grub_script_for1.in;
460 name = grub_script_while1;
461 common = tests/grub_script_while1.in;
466 name = grub_script_if;
467 common = tests/grub_script_if.in;
472 name = grub_script_blanklines;
473 common = tests/grub_script_blanklines.in;
478 name = grub_script_final_semicolon;
479 common = tests/grub_script_final_semicolon.in;
484 name = grub_script_dollar;
485 common = tests/grub_script_dollar.in;
490 name = grub_script_comments;
491 common = tests/grub_script_comments.in;
496 name = grub_script_functions;
497 common = tests/grub_script_functions.in;
502 name = grub_script_break;
503 common = tests/grub_script_break.in;
508 name = grub_script_continue;
509 common = tests/grub_script_continue.in;
514 name = grub_script_shift;
515 common = tests/grub_script_shift.in;
520 name = grub_script_blockarg;
521 common = tests/grub_script_blockarg.in;
526 name = grub_script_setparams;
527 common = tests/grub_script_setparams.in;
532 name = grub_script_return;
533 common = tests/grub_script_return.in;
538 name = grub_cmd_regexp;
539 common = tests/grub_cmd_regexp.in;
544 name = grub_script_expansion;
545 common = tests/grub_script_expansion.in;
550 name = grub_script_not;
551 common = tests/grub_script_not.in;
557 common = tests/partmap_test.in;
562 name = grub_cmd_echo;
563 common = tests/grub_cmd_echo.in;
568 name = example_unit_test;
569 common = tests/example_unit_test.c;
570 common = tests/lib/unit_test.c;
571 common = grub-core/kern/list.c;
572 common = grub-core/kern/misc.c;
573 common = grub-core/tests/lib/test.c;
574 cflags = -Wno-format;
576 ldadd = '$(LIBDEVMAPPER)';
580 name = grub-menulst2cfg;
582 common = util/grub-menulst2cfg.c;
583 common = grub-core/lib/legacy_parse.c;
584 common = grub-core/lib/i386/pc/vesa_modes_table.c;
587 ldflags = '$(LIBINTL) $(LIBDEVMAPPER)';