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/raid5_recover.c;
29 common = grub-core/disk/raid6_recover.c;
30 common = grub-core/disk/raid.c;
31 common = grub-core/fs/affs.c;
32 common = grub-core/fs/afs_be.c;
33 common = grub-core/fs/afs.c;
34 common = grub-core/fs/befs_be.c;
35 common = grub-core/fs/befs.c;
36 common = grub-core/fs/btrfs.c;
37 common = grub-core/fs/cpio.c;
38 common = grub-core/fs/ext2.c;
39 common = grub-core/fs/fat.c;
40 common = grub-core/fs/fshelp.c;
41 common = grub-core/fs/hfs.c;
42 common = grub-core/fs/hfsplus.c;
43 common = grub-core/fs/iso9660.c;
44 common = grub-core/fs/jfs.c;
45 common = grub-core/fs/minix.c;
46 common = grub-core/fs/minix2.c;
47 common = grub-core/fs/nilfs2.c;
48 common = grub-core/fs/ntfs.c;
49 common = grub-core/fs/ntfscomp.c;
50 common = grub-core/fs/reiserfs.c;
51 common = grub-core/fs/sfs.c;
52 common = grub-core/fs/tar.c;
53 common = grub-core/fs/udf.c;
54 common = grub-core/fs/ufs2.c;
55 common = grub-core/fs/ufs.c;
56 common = grub-core/fs/xfs.c;
57 common = grub-core/kern/command.c;
58 common = grub-core/kern/device.c;
59 common = grub-core/kern/disk.c;
60 common = grub-core/kern/env.c;
61 common = grub-core/kern/err.c;
62 common = grub-core/kern/file.c;
63 common = grub-core/kern/fs.c;
64 common = grub-core/kern/list.c;
65 common = grub-core/kern/partition.c;
66 common = grub-core/lib/arg.c;
67 common = grub-core/lib/crypto.c;
68 common = grub-core/lib/envblk.c;
69 common = grub-core/lib/hexdump.c;
70 common = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
71 common = grub-core/lib/libgcrypt-grub/cipher/crc.c;
72 common = grub-core/lib/LzFind.c;
73 common = grub-core/lib/LzmaEnc.c;
74 common = grub-core/lib/pbkdf2.c;
75 common = grub-core/normal/datetime.c;
76 common = grub-core/normal/misc.c;
77 common = grub-core/partmap/acorn.c;
78 common = grub-core/partmap/amiga.c;
79 common = grub-core/partmap/apple.c;
80 common = grub-core/partmap/gpt.c;
81 common = grub-core/partmap/msdos.c;
82 common = grub-core/partmap/sun.c;
83 common = grub-core/partmap/sunpc.c;
84 common = grub-core/script/function.c;
85 common = grub-core/script/lexer.c;
86 common = grub-core/script/main.c;
87 common = grub-core/script/script.c;
88 common = grub-core/script/argv.c;
93 common = util/bin2h.c;
95 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
96 ldadd = grub-core/gnulib/libgnu.a;
104 common = util/grub-mkimage.c;
105 common = util/resolve.c;
106 extra_dist = util/grub-mkimagexx.c;
109 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
110 ldadd = grub-core/gnulib/libgnu.a;
111 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
115 name = grub-mkrelpath;
118 common = util/grub-mkrelpath.c;
121 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
122 ldadd = grub-core/gnulib/libgnu.a;
126 name = grub-script-check;
129 common = util/grub-script-check.c;
132 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
133 ldadd = grub-core/gnulib/libgnu.a;
140 common = util/grub-editenv.c;
143 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
144 ldadd = grub-core/gnulib/libgnu.a;
148 name = grub-mkpasswd-pbkdf2;
151 common = util/grub-mkpasswd-pbkdf2.c;
154 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
155 ldadd = grub-core/gnulib/libgnu.a;
156 cflags = '$(CFLAGS_GCRY)';
157 cppflags = '$(CPPFLAGS_GCRY)';
161 name = grub-macho2img;
163 common = util/grub-macho2img.c;
164 condition = COND_APPLE_CC;
170 common = util/grub-pe2elf.c;
173 ldadd = '$(LIBINTL)';
174 ldadd = grub-core/gnulib/libgnu.a;
175 condition = COND_GRUB_PE2ELF;
181 common_nodist = grub_fstest_init.c;
182 common = util/grub-fstest.c;
183 common = grub-core/kern/emu/hostfs.c;
184 common = grub-core/disk/host.c;
186 cflags = '$(CFLAGS_GCRY)';
187 cppflags = '$(CPPFLAGS_GCRY)';
190 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
191 ldadd = grub-core/gnulib/libgnu.a;
197 common = util/grub-mkfont.c;
198 common = grub-core/unidata.c;
200 cflags = '$(freetype_cflags)';
203 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
204 ldadd = grub-core/gnulib/libgnu.a;
205 ldadd = '$(freetype_libs)';
206 condition = COND_GRUB_MKFONT;
210 name = grub-mkdevicemap;
214 common = util/grub-mkdevicemap.c;
215 common = util/deviceiter.c;
216 nosparc64 = util/devicemap.c;
218 sparc64_ieee1275 = util/ieee1275/ofpath.c;
219 sparc64_ieee1275 = util/ieee1275/devicemap.c;
222 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
223 ldadd = grub-core/gnulib/libgnu.a;
230 common = util/grub-probe.c;
233 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
234 ldadd = grub-core/gnulib/libgnu.a;
241 common = util/grub-setup.c;
242 common = util/raid.c;
245 sparc64_ieee1275 = util/ieee1275/ofpath.c;
248 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
249 ldadd = grub-core/gnulib/libgnu.a;
252 enable = sparc64_ieee1275;
256 name = grub-ofpathname;
258 ieee1275 = util/ieee1275/grub-ofpathname.c;
259 ieee1275 = util/ieee1275/ofpath.c;
262 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
263 ldadd = grub-core/gnulib/libgnu.a;
264 enable = sparc64_ieee1275;
268 name = grub-mklayout;
271 common = util/grub-mklayout.c;
274 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
275 ldadd = grub-core/gnulib/libgnu.a;
279 common = util/grub.d/README;
280 installdir = grubconf;
285 common = util/grub.d/00_header.in;
286 installdir = grubconf;
291 common = util/grub.d/10_windows.in;
292 installdir = grubconf;
293 condition = COND_HOST_WINDOWS;
298 common = util/grub.d/10_hurd.in;
299 installdir = grubconf;
300 condition = COND_HOST_HURD;
304 name = '10_kfreebsd';
305 common = util/grub.d/10_kfreebsd.in;
306 installdir = grubconf;
307 condition = COND_HOST_KFREEBSD;
312 common = util/grub.d/10_netbsd.in;
313 installdir = grubconf;
314 condition = COND_HOST_NETBSD;
319 common = util/grub.d/10_linux.in;
320 installdir = grubconf;
321 condition = COND_HOST_LINUX;
325 name = '20_linux_xen';
326 common = util/grub.d/20_linux_xen.in;
327 installdir = grubconf;
328 condition = COND_HOST_LINUX;
332 name = '30_os-prober';
333 common = util/grub.d/30_os-prober.in;
334 installdir = grubconf;
339 common = util/grub.d/40_custom.in;
340 installdir = grubconf;
345 common = util/grub.d/41_custom.in;
346 installdir = grubconf;
351 name = grub-mkrescue;
352 x86 = util/grub-mkrescue.in;
353 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
357 enable = i386_multiboot;
358 enable = i386_coreboot;
359 enable = powerpc_ieee1275;
367 common = util/grub-install.in;
374 name = grub-mknetdir;
376 common = util/grub-mknetdir.in;
380 name = grub-mkconfig;
381 common = util/grub-mkconfig.in;
387 name = grub-set-default;
388 common = util/grub-set-default.in;
395 common = util/grub-reboot.in;
401 name = grub-mkconfig_lib;
402 common = util/grub-mkconfig_lib.in;
407 name = update-grub_lib;
408 common = util/update-grub_lib.in;
414 common = util/grub-kbdcomp.in;
419 common = tests/util/grub-shell.in;
424 name = grub-shell-tester;
425 common = tests/util/grub-shell-tester.in;
431 name = example_scripted_test;
432 common = tests/example_scripted_test.in;
437 name = example_grub_script_test;
438 common = tests/example_grub_script_test.in;
443 name = grub_script_echo1;
444 common = tests/grub_script_echo1.in;
449 name = grub_script_echo_keywords;
450 common = tests/grub_script_echo_keywords.in;
455 name = grub_script_vars1;
456 common = tests/grub_script_vars1.in;
461 name = grub_script_for1;
462 common = tests/grub_script_for1.in;
467 name = grub_script_while1;
468 common = tests/grub_script_while1.in;
473 name = grub_script_if;
474 common = tests/grub_script_if.in;
479 name = grub_script_blanklines;
480 common = tests/grub_script_blanklines.in;
485 name = grub_script_final_semicolon;
486 common = tests/grub_script_final_semicolon.in;
491 name = grub_script_dollar;
492 common = tests/grub_script_dollar.in;
497 name = grub_script_comments;
498 common = tests/grub_script_comments.in;
503 name = grub_script_functions;
504 common = tests/grub_script_functions.in;
509 name = grub_script_break;
510 common = tests/grub_script_break.in;
515 name = grub_script_continue;
516 common = tests/grub_script_continue.in;
521 name = grub_script_shift;
522 common = tests/grub_script_shift.in;
527 name = grub_script_blockarg;
528 common = tests/grub_script_blockarg.in;
533 name = grub_script_setparams;
534 common = tests/grub_script_setparams.in;
539 name = grub_script_return;
540 common = tests/grub_script_return.in;
545 name = grub_cmd_regexp;
546 common = tests/grub_cmd_regexp.in;
551 name = grub_script_expansion;
552 common = tests/grub_script_expansion.in;
557 name = grub_script_not;
558 common = tests/grub_script_not.in;
564 common = tests/partmap_test.in;
569 name = grub_cmd_echo;
570 common = tests/grub_cmd_echo.in;
575 name = example_unit_test;
576 common = tests/example_unit_test.c;
577 common = tests/lib/unit_test.c;
578 common = grub-core/kern/list.c;
579 common = grub-core/kern/misc.c;
580 common = grub-core/tests/lib/test.c;
581 cflags = -Wno-format;
583 ldadd = '$(LIBDEVMAPPER)';
587 name = grub-menulst2cfg;
589 common = util/grub-menulst2cfg.c;
590 common = grub-core/lib/legacy_parse.c;
591 common = grub-core/lib/i386/pc/vesa_modes_table.c;
594 ldflags = '$(LIBINTL) $(LIBDEVMAPPER)';
595 ldadd = grub-core/gnulib/libgnu.a;