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/hostfs.c;
27 common = grub-core/kern/emu/getroot.c;
28 common = grub-core/kern/emu/hostdisk.c;
30 common = grub-core/commands/blocklist.c;
31 common = grub-core/commands/extcmd.c;
32 common = grub-core/commands/ls.c;
33 common = grub-core/disk/dmraid_nvidia.c;
34 common = grub-core/disk/host.c;
35 common = grub-core/disk/loopback.c;
36 common = grub-core/disk/lvm.c;
37 common = grub-core/disk/mdraid_linux.c;
38 common = grub-core/disk/raid5_recover.c;
39 common = grub-core/disk/raid6_recover.c;
40 common = grub-core/disk/raid.c;
41 common = grub-core/fs/affs.c;
42 common = grub-core/fs/afs_be.c;
43 common = grub-core/fs/afs.c;
44 common = grub-core/fs/befs_be.c;
45 common = grub-core/fs/befs.c;
46 common = grub-core/fs/cpio.c;
47 common = grub-core/fs/ext2.c;
48 common = grub-core/fs/fat.c;
49 common = grub-core/fs/fshelp.c;
50 common = grub-core/fs/hfs.c;
51 common = grub-core/fs/hfsplus.c;
52 common = grub-core/fs/iso9660.c;
53 common = grub-core/fs/jfs.c;
54 common = grub-core/fs/minix.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/crc.c;
76 common = grub-core/lib/crypto.c;
77 common = grub-core/lib/envblk.c;
78 common = grub-core/lib/hexdump.c;
79 common = grub-core/lib/libgcrypt-grub/cipher/sha512.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/script/function.c;
92 common = grub-core/script/lexer.c;
93 common = grub-core/script/main.c;
94 common = grub-core/script/script.c;
95 common = grub-core/script/argv.c;
100 common = util/bin2h.c;
102 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
110 common = util/grub-mkimage.c;
111 common = util/resolve.c;
112 extra_dist = util/grub-mkimagexx.c;
115 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
116 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
120 name = grub-mkrelpath;
123 common = util/grub-mkrelpath.c;
126 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
130 name = grub-script-check;
133 common = util/grub-script-check.c;
136 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
143 common = util/grub-editenv.c;
146 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
150 name = grub-mkpasswd-pbkdf2;
153 common = util/grub-mkpasswd-pbkdf2.c;
156 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
157 cflags = '$(CFLAGS_GCRY)';
158 cppflags = '$(CPPFLAGS_GCRY)';
162 name = grub-macho2img;
164 common = util/grub-macho2img.c;
165 condition = COND_APPLE_CC;
171 common = util/grub-pe2elf.c;
174 ldadd = '$(LIBINTL)';
175 condition = COND_GRUB_PE2ELF;
181 common = util/grub-fstest.c;
184 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
185 condition = COND_GRUB_FSTEST;
191 common = util/grub-mkfont.c;
192 common = grub-core/unidata.c;
194 cflags = '$(freetype_cflags)';
197 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
198 ldadd = '$(freetype_libs)';
199 condition = COND_GRUB_MKFONT;
203 name = grub-mkdevicemap;
207 common = util/grub-mkdevicemap.c;
208 common = util/deviceiter.c;
209 nosparc64 = util/devicemap.c;
211 sparc64_ieee1275 = util/ieee1275/ofpath.c;
212 sparc64_ieee1275 = util/ieee1275/devicemap.c;
215 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
222 common = util/grub-probe.c;
225 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
232 i386_pc = util/i386/pc/grub-setup.c;
233 i386_pc = util/raid.c;
234 i386_pc = util/lvm.c;
236 sparc64_ieee1275 = util/ieee1275/ofpath.c;
237 sparc64_ieee1275 = util/sparc64/ieee1275/grub-setup.c;
238 sparc64_ieee1275 = util/raid.c;
239 sparc64_ieee1275 = util/lvm.c;
242 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
245 enable = sparc64_ieee1275;
249 name = grub-ofpathname;
251 ieee1275 = util/ieee1275/grub-ofpathname.c;
252 ieee1275 = util/ieee1275/ofpath.c;
255 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
256 enable = sparc64_ieee1275;
260 common = util/grub.d/README;
261 installdir = grubconf;
266 common = util/grub.d/00_header.in;
267 installdir = grubconf;
272 common = util/grub.d/10_windows.in;
273 installdir = grubconf;
274 condition = COND_HOST_WINDOWS;
279 common = util/grub.d/10_hurd.in;
280 installdir = grubconf;
281 condition = COND_HOST_HURD;
285 name = '10_kfreebsd';
286 common = util/grub.d/10_kfreebsd.in;
287 installdir = grubconf;
288 condition = COND_HOST_KFREEBSD;
293 common = util/grub.d/10_netbsd.in;
294 installdir = grubconf;
295 condition = COND_HOST_NETBSD;
300 common = util/grub.d/10_linux.in;
301 installdir = grubconf;
302 condition = COND_HOST_LINUX;
306 name = '20_linux_xen';
307 common = util/grub.d/20_linux_xen.in;
308 installdir = grubconf;
309 condition = COND_HOST_LINUX;
313 name = '30_os-prober';
314 common = util/grub.d/30_os-prober.in;
315 installdir = grubconf;
320 common = util/grub.d/40_custom.in;
321 installdir = grubconf;
326 common = util/grub.d/41_custom.in;
327 installdir = grubconf;
332 name = grub-mkrescue;
333 x86 = util/grub-mkrescue.in;
334 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
338 enable = i386_multiboot;
339 enable = i386_coreboot;
340 enable = powerpc_ieee1275;
348 mips = util/grub-install.in;
349 i386_pc = util/grub-install.in;
350 i386_qemu = util/grub-install.in;
351 i386_coreboot = util/grub-install.in;
352 i386_multiboot = util/grub-install.in;
353 sparc64_ieee1275 = util/grub-install.in;
354 i386_ieee1275 = util/grub-install.in;
355 powerpc_ieee1275 = util/grub-install.in;
357 x86_efi = util/i386/efi/grub-install.in;
363 name = grub-mkconfig;
364 common = util/grub-mkconfig.in;
370 name = grub-set-default;
371 common = util/grub-set-default.in;
378 common = util/grub-reboot.in;
384 name = grub-mkconfig_lib;
385 common = util/grub-mkconfig_lib.in;
390 name = update-grub_lib;
391 common = util/update-grub_lib.in;
397 common = tests/util/grub-shell.in;
402 name = grub-shell-tester;
403 common = tests/util/grub-shell-tester.in;
409 name = example_scripted_test;
410 common = tests/example_scripted_test.in;
415 name = example_grub_script_test;
416 common = tests/example_grub_script_test.in;
421 name = grub_script_echo1;
422 common = tests/grub_script_echo1.in;
427 name = grub_script_echo_keywords;
428 common = tests/grub_script_echo_keywords.in;
433 name = grub_script_vars1;
434 common = tests/grub_script_vars1.in;
439 name = grub_script_for1;
440 common = tests/grub_script_for1.in;
445 name = grub_script_while1;
446 common = tests/grub_script_while1.in;
451 name = grub_script_if;
452 common = tests/grub_script_if.in;
457 name = grub_script_blanklines;
458 common = tests/grub_script_blanklines.in;
463 name = grub_script_final_semicolon;
464 common = tests/grub_script_final_semicolon.in;
469 name = grub_script_dollar;
470 common = tests/grub_script_dollar.in;
475 name = grub_script_comments;
476 common = tests/grub_script_comments.in;
481 name = grub_script_functions;
482 common = tests/grub_script_functions.in;
487 name = grub_script_break;
488 common = tests/grub_script_break.in;
493 name = grub_script_continue;
494 common = tests/grub_script_continue.in;
499 name = grub_script_shift;
500 common = tests/grub_script_shift.in;
505 name = example_unit_test;
506 common = tests/example_unit_test.c;
507 common = tests/lib/unit_test.c;
508 common = grub-core/kern/list.c;
509 common = grub-core/kern/misc.c;
510 common = grub-core/tests/lib/test.c;
511 cflags = -Wno-format;
513 ldadd = '$(LIBDEVMAPPER)';