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) $(LIBZFS) $(LIBNVPAIR)';
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) $(LIBZFS) $(LIBNVPAIR)';
125 ldadd = grub-core/gnulib/libgnu.a;
129 name = grub-script-check;
132 common = util/grub-script-check.c;
135 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
136 ldadd = grub-core/gnulib/libgnu.a;
143 common = util/grub-editenv.c;
146 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
147 ldadd = grub-core/gnulib/libgnu.a;
151 name = grub-mkpasswd-pbkdf2;
154 common = util/grub-mkpasswd-pbkdf2.c;
157 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
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) $(LIBZFS) $(LIBNVPAIR)';
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) $(LIBZFS) $(LIBNVPAIR)';
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) $(LIBZFS) $(LIBNVPAIR)';
226 ldadd = grub-core/gnulib/libgnu.a;
233 common = util/grub-probe.c;
236 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
237 ldadd = grub-core/gnulib/libgnu.a;
244 common = util/grub-setup.c;
245 common = util/raid.c;
248 sparc64_ieee1275 = util/ieee1275/ofpath.c;
251 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
252 ldadd = grub-core/gnulib/libgnu.a;
255 enable = sparc64_ieee1275;
259 name = grub-ofpathname;
261 ieee1275 = util/ieee1275/grub-ofpathname.c;
262 ieee1275 = util/ieee1275/ofpath.c;
265 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
266 ldadd = grub-core/gnulib/libgnu.a;
267 enable = sparc64_ieee1275;
271 name = grub-mklayout;
274 common = util/grub-mklayout.c;
277 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
278 ldadd = grub-core/gnulib/libgnu.a;
282 common = util/grub.d/README;
283 installdir = grubconf;
288 common = util/grub.d/00_header.in;
289 installdir = grubconf;
294 common = util/grub.d/10_windows.in;
295 installdir = grubconf;
296 condition = COND_HOST_WINDOWS;
301 common = util/grub.d/10_hurd.in;
302 installdir = grubconf;
303 condition = COND_HOST_HURD;
307 name = '10_kfreebsd';
308 common = util/grub.d/10_kfreebsd.in;
309 installdir = grubconf;
310 condition = COND_HOST_KFREEBSD;
315 common = util/grub.d/10_netbsd.in;
316 installdir = grubconf;
317 condition = COND_HOST_NETBSD;
322 common = util/grub.d/10_linux.in;
323 installdir = grubconf;
324 condition = COND_HOST_LINUX;
328 name = '20_linux_xen';
329 common = util/grub.d/20_linux_xen.in;
330 installdir = grubconf;
331 condition = COND_HOST_LINUX;
335 name = '30_os-prober';
336 common = util/grub.d/30_os-prober.in;
337 installdir = grubconf;
342 common = util/grub.d/40_custom.in;
343 installdir = grubconf;
348 common = util/grub.d/41_custom.in;
349 installdir = grubconf;
354 name = grub-mkrescue;
355 x86 = util/grub-mkrescue.in;
356 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
360 enable = i386_multiboot;
361 enable = i386_coreboot;
362 enable = powerpc_ieee1275;
370 common = util/grub-install.in;
377 name = grub-mknetdir;
379 common = util/grub-mknetdir.in;
383 name = grub-mkconfig;
384 common = util/grub-mkconfig.in;
390 name = grub-set-default;
391 common = util/grub-set-default.in;
398 common = util/grub-reboot.in;
404 name = grub-mkconfig_lib;
405 common = util/grub-mkconfig_lib.in;
410 name = update-grub_lib;
411 common = util/update-grub_lib.in;
417 common = util/grub-kbdcomp.in;
422 common = tests/util/grub-shell.in;
427 name = grub-shell-tester;
428 common = tests/util/grub-shell-tester.in;
434 name = example_scripted_test;
435 common = tests/example_scripted_test.in;
440 name = example_grub_script_test;
441 common = tests/example_grub_script_test.in;
446 name = grub_script_echo1;
447 common = tests/grub_script_echo1.in;
452 name = grub_script_echo_keywords;
453 common = tests/grub_script_echo_keywords.in;
458 name = grub_script_vars1;
459 common = tests/grub_script_vars1.in;
464 name = grub_script_for1;
465 common = tests/grub_script_for1.in;
470 name = grub_script_while1;
471 common = tests/grub_script_while1.in;
476 name = grub_script_if;
477 common = tests/grub_script_if.in;
482 name = grub_script_blanklines;
483 common = tests/grub_script_blanklines.in;
488 name = grub_script_final_semicolon;
489 common = tests/grub_script_final_semicolon.in;
494 name = grub_script_dollar;
495 common = tests/grub_script_dollar.in;
500 name = grub_script_comments;
501 common = tests/grub_script_comments.in;
506 name = grub_script_functions;
507 common = tests/grub_script_functions.in;
512 name = grub_script_break;
513 common = tests/grub_script_break.in;
518 name = grub_script_continue;
519 common = tests/grub_script_continue.in;
524 name = grub_script_shift;
525 common = tests/grub_script_shift.in;
530 name = grub_script_blockarg;
531 common = tests/grub_script_blockarg.in;
536 name = grub_script_setparams;
537 common = tests/grub_script_setparams.in;
542 name = grub_script_return;
543 common = tests/grub_script_return.in;
548 name = grub_cmd_regexp;
549 common = tests/grub_cmd_regexp.in;
554 name = grub_script_expansion;
555 common = tests/grub_script_expansion.in;
560 name = grub_script_not;
561 common = tests/grub_script_not.in;
567 common = tests/partmap_test.in;
572 name = grub_cmd_echo;
573 common = tests/grub_cmd_echo.in;
578 name = example_unit_test;
579 common = tests/example_unit_test.c;
580 common = tests/lib/unit_test.c;
581 common = grub-core/kern/list.c;
582 common = grub-core/kern/misc.c;
583 common = grub-core/tests/lib/test.c;
584 cflags = -Wno-format;
586 ldadd = grub-core/gnulib/libgnu.a;
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) $(LIBZFS) $(LIBNVPAIR)';
599 ldadd = grub-core/gnulib/libgnu.a;