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;
15 common = grub-core/kern/misc.c;
16 common = grub-core/kern/emu/mm.c;
17 common = grub-core/kern/emu/misc.c;
18 common = grub-core/kern/emu/getroot.c;
19 common = grub-core/kern/emu/hostdisk.c;
21 common = grub-core/commands/blocklist.c;
22 common = grub-core/commands/extcmd.c;
23 common = grub-core/commands/ls.c;
24 common = grub-core/disk/dmraid_nvidia.c;
25 common = grub-core/disk/loopback.c;
26 common = grub-core/disk/lvm.c;
27 common = grub-core/disk/mdraid_linux.c;
28 common = grub-core/disk/mdraid1x_linux.c;
29 common = grub-core/disk/raid5_recover.c;
30 common = grub-core/disk/raid6_recover.c;
31 common = grub-core/disk/raid.c;
32 common = grub-core/fs/affs.c;
33 common = grub-core/fs/afs_be.c;
34 common = grub-core/fs/afs.c;
35 common = grub-core/fs/befs_be.c;
36 common = grub-core/fs/befs.c;
37 common = grub-core/fs/btrfs.c;
38 common = grub-core/fs/cpio.c;
39 common = grub-core/fs/ext2.c;
40 common = grub-core/fs/fat.c;
41 common = grub-core/fs/fshelp.c;
42 common = grub-core/fs/hfs.c;
43 common = grub-core/fs/hfsplus.c;
44 common = grub-core/fs/iso9660.c;
45 common = grub-core/fs/jfs.c;
46 common = grub-core/fs/minix.c;
47 common = grub-core/fs/minix2.c;
48 common = grub-core/fs/nilfs2.c;
49 common = grub-core/fs/ntfs.c;
50 common = grub-core/fs/ntfscomp.c;
51 common = grub-core/fs/reiserfs.c;
52 common = grub-core/fs/sfs.c;
53 common = grub-core/fs/tar.c;
54 common = grub-core/fs/udf.c;
55 common = grub-core/fs/ufs2.c;
56 common = grub-core/fs/ufs.c;
57 common = grub-core/fs/xfs.c;
58 common = grub-core/kern/command.c;
59 common = grub-core/kern/device.c;
60 common = grub-core/kern/disk.c;
61 common = grub-core/kern/env.c;
62 common = grub-core/kern/err.c;
63 common = grub-core/kern/file.c;
64 common = grub-core/kern/fs.c;
65 common = grub-core/kern/list.c;
66 common = grub-core/kern/partition.c;
67 common = grub-core/lib/arg.c;
68 common = grub-core/lib/crypto.c;
69 common = grub-core/lib/envblk.c;
70 common = grub-core/lib/hexdump.c;
71 common = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
72 common = grub-core/lib/libgcrypt-grub/cipher/crc.c;
73 common = grub-core/lib/LzFind.c;
74 common = grub-core/lib/LzmaEnc.c;
75 common = grub-core/lib/pbkdf2.c;
76 common = grub-core/normal/datetime.c;
77 common = grub-core/normal/misc.c;
78 common = grub-core/partmap/acorn.c;
79 common = grub-core/partmap/amiga.c;
80 common = grub-core/partmap/apple.c;
81 common = grub-core/partmap/gpt.c;
82 common = grub-core/partmap/msdos.c;
83 common = grub-core/partmap/sun.c;
84 common = grub-core/partmap/sunpc.c;
85 common = grub-core/partmap/bsdlabel.c;
86 common = grub-core/script/function.c;
87 common = grub-core/script/lexer.c;
88 common = grub-core/script/main.c;
89 common = grub-core/script/script.c;
90 common = grub-core/script/argv.c;
95 common = util/bin2h.c;
97 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
98 ldadd = grub-core/gnulib/libgnu.a;
106 common = util/grub-mkimage.c;
107 common = util/resolve.c;
108 extra_dist = util/grub-mkimagexx.c;
111 ldadd = '$(LIBLZMA)';
112 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
113 ldadd = grub-core/gnulib/libgnu.a;
114 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
118 name = grub-mkrelpath;
121 common = util/grub-mkrelpath.c;
124 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
125 ldadd = grub-core/gnulib/libgnu.a;
129 name = grub-script-check;
132 common = util/grub-script-check.c;
135 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
136 ldadd = grub-core/gnulib/libgnu.a;
143 common = util/grub-editenv.c;
146 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
147 ldadd = grub-core/gnulib/libgnu.a;
151 name = grub-mkpasswd-pbkdf2;
154 common = util/grub-mkpasswd-pbkdf2.c;
157 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
158 ldadd = grub-core/gnulib/libgnu.a;
159 cflags = '$(CFLAGS_GCRY)';
160 cppflags = '$(CPPFLAGS_GCRY)';
164 name = grub-macho2img;
166 common = util/grub-macho2img.c;
167 condition = COND_APPLE_CC;
173 common = util/grub-pe2elf.c;
176 ldadd = '$(LIBINTL)';
177 ldadd = grub-core/gnulib/libgnu.a;
178 condition = COND_GRUB_PE2ELF;
184 common_nodist = grub_fstest_init.c;
185 common = util/grub-fstest.c;
186 common = grub-core/kern/emu/hostfs.c;
187 common = grub-core/disk/host.c;
189 cflags = '$(CFLAGS_GCRY)';
190 cppflags = '$(CPPFLAGS_GCRY)';
193 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
194 ldadd = grub-core/gnulib/libgnu.a;
200 common = util/grub-mkfont.c;
201 common = grub-core/unidata.c;
203 cflags = '$(freetype_cflags)';
206 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
207 ldadd = grub-core/gnulib/libgnu.a;
208 ldadd = '$(freetype_libs)';
209 condition = COND_GRUB_MKFONT;
213 name = grub-mkdevicemap;
217 common = util/grub-mkdevicemap.c;
218 common = util/deviceiter.c;
219 nosparc64 = util/devicemap.c;
221 sparc64_ieee1275 = util/ieee1275/ofpath.c;
222 sparc64_ieee1275 = util/ieee1275/devicemap.c;
225 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
226 ldadd = grub-core/gnulib/libgnu.a;
233 common = util/grub-probe.c;
236 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
237 ldadd = grub-core/gnulib/libgnu.a;
244 common = util/grub-setup.c;
245 common = util/raid.c;
247 common = util/reed_solomon.c;
249 sparc64_ieee1275 = util/ieee1275/ofpath.c;
252 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
253 ldadd = grub-core/gnulib/libgnu.a;
256 enable = sparc64_ieee1275;
260 name = grub-ofpathname;
262 ieee1275 = util/ieee1275/grub-ofpathname.c;
263 ieee1275 = util/ieee1275/ofpath.c;
266 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
267 ldadd = grub-core/gnulib/libgnu.a;
268 enable = sparc64_ieee1275;
272 name = grub-mklayout;
275 common = util/grub-mklayout.c;
278 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
279 ldadd = grub-core/gnulib/libgnu.a;
283 common = util/grub.d/README;
284 installdir = grubconf;
289 common = util/grub.d/00_header.in;
290 installdir = grubconf;
295 common = util/grub.d/10_windows.in;
296 installdir = grubconf;
297 condition = COND_HOST_WINDOWS;
302 common = util/grub.d/10_hurd.in;
303 installdir = grubconf;
304 condition = COND_HOST_HURD;
308 name = '10_kfreebsd';
309 common = util/grub.d/10_kfreebsd.in;
310 installdir = grubconf;
311 condition = COND_HOST_KFREEBSD;
316 common = util/grub.d/10_netbsd.in;
317 installdir = grubconf;
318 condition = COND_HOST_NETBSD;
323 common = util/grub.d/10_linux.in;
324 installdir = grubconf;
325 condition = COND_HOST_LINUX;
329 name = '20_linux_xen';
330 common = util/grub.d/20_linux_xen.in;
331 installdir = grubconf;
332 condition = COND_HOST_LINUX;
336 name = '30_os-prober';
337 common = util/grub.d/30_os-prober.in;
338 installdir = grubconf;
343 common = util/grub.d/40_custom.in;
344 installdir = grubconf;
349 common = util/grub.d/41_custom.in;
350 installdir = grubconf;
355 name = grub-mkrescue;
356 x86 = util/grub-mkrescue.in;
357 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
361 enable = i386_multiboot;
362 enable = i386_coreboot;
363 enable = powerpc_ieee1275;
371 common = util/grub-install.in;
378 name = grub-mknetdir;
380 common = util/grub-mknetdir.in;
384 name = grub-mkconfig;
385 common = util/grub-mkconfig.in;
391 name = grub-set-default;
392 common = util/grub-set-default.in;
399 common = util/grub-reboot.in;
405 name = grub-mkconfig_lib;
406 common = util/grub-mkconfig_lib.in;
411 name = update-grub_lib;
412 common = util/update-grub_lib.in;
418 common = util/grub-kbdcomp.in;
423 common = tests/util/grub-shell.in;
428 name = grub-shell-tester;
429 common = tests/util/grub-shell-tester.in;
435 name = example_scripted_test;
436 common = tests/example_scripted_test.in;
441 name = example_grub_script_test;
442 common = tests/example_grub_script_test.in;
447 name = grub_script_echo1;
448 common = tests/grub_script_echo1.in;
453 name = grub_script_echo_keywords;
454 common = tests/grub_script_echo_keywords.in;
459 name = grub_script_vars1;
460 common = tests/grub_script_vars1.in;
465 name = grub_script_for1;
466 common = tests/grub_script_for1.in;
471 name = grub_script_while1;
472 common = tests/grub_script_while1.in;
477 name = grub_script_if;
478 common = tests/grub_script_if.in;
483 name = grub_script_blanklines;
484 common = tests/grub_script_blanklines.in;
489 name = grub_script_final_semicolon;
490 common = tests/grub_script_final_semicolon.in;
495 name = grub_script_dollar;
496 common = tests/grub_script_dollar.in;
501 name = grub_script_comments;
502 common = tests/grub_script_comments.in;
507 name = grub_script_functions;
508 common = tests/grub_script_functions.in;
513 name = grub_script_break;
514 common = tests/grub_script_break.in;
519 name = grub_script_continue;
520 common = tests/grub_script_continue.in;
525 name = grub_script_shift;
526 common = tests/grub_script_shift.in;
531 name = grub_script_blockarg;
532 common = tests/grub_script_blockarg.in;
537 name = grub_script_setparams;
538 common = tests/grub_script_setparams.in;
543 name = grub_script_return;
544 common = tests/grub_script_return.in;
549 name = grub_cmd_regexp;
550 common = tests/grub_cmd_regexp.in;
555 name = grub_script_expansion;
556 common = tests/grub_script_expansion.in;
561 name = grub_script_not;
562 common = tests/grub_script_not.in;
568 common = tests/partmap_test.in;
573 name = grub_cmd_echo;
574 common = tests/grub_cmd_echo.in;
579 name = example_unit_test;
580 common = tests/example_unit_test.c;
581 common = tests/lib/unit_test.c;
582 common = grub-core/kern/list.c;
583 common = grub-core/kern/misc.c;
584 common = grub-core/tests/lib/test.c;
585 cflags = -Wno-format;
587 ldadd = '$(LIBDEVMAPPER)';
591 name = grub-menulst2cfg;
593 common = util/grub-menulst2cfg.c;
594 common = grub-core/lib/legacy_parse.c;
595 common = grub-core/lib/i386/pc/vesa_modes_table.c;
598 ldflags = '$(LIBINTL) $(LIBDEVMAPPER)';
599 ldadd = grub-core/gnulib/libgnu.a;