1 AutoGen definitions Makefile.tpl;
5 cflags = '$(CFLAGS_GNULIB)';
6 cppflags = '$(CPPFLAGS_GNULIB)';
9 common = grub-core/kern/command.c;
10 common = grub-core/kern/device.c;
11 common = grub-core/kern/disk.c;
12 common = grub-core/kern/emu/getroot.c;
13 common = grub-core/kern/emu/hostdisk.c;
14 common = grub-core/kern/emu/misc.c;
15 common = grub-core/kern/emu/mm.c;
16 common = grub-core/kern/env.c;
17 common = grub-core/kern/err.c;
18 common = grub-core/kern/file.c;
19 common = grub-core/kern/fs.c;
20 common = grub-core/kern/list.c;
21 common = grub-core/kern/misc.c;
22 common = grub-core/kern/partition.c;
27 cflags = '$(CFLAGS_GCRY)';
28 cppflags = '$(CPPFLAGS_GCRY)';
30 common_nodist = grub_script.tab.c;
31 common_nodist = grub_script.yy.c;
32 common_nodist = libgrub_a_init.c;
33 common_nodist = grub_script.yy.h;
34 common_nodist = grub_script.tab.h;
36 common = grub-core/commands/blocklist.c;
37 common = grub-core/commands/extcmd.c;
38 common = grub-core/commands/ls.c;
39 common = grub-core/disk/dmraid_nvidia.c;
40 common = grub-core/disk/loopback.c;
41 common = grub-core/disk/lvm.c;
42 common = grub-core/disk/mdraid_linux.c;
43 common = grub-core/disk/mdraid1x_linux.c;
44 common = grub-core/disk/raid5_recover.c;
45 common = grub-core/disk/raid6_recover.c;
46 common = grub-core/disk/raid.c;
47 common = grub-core/fs/affs.c;
48 common = grub-core/fs/afs_be.c;
49 common = grub-core/fs/afs.c;
50 common = grub-core/fs/befs_be.c;
51 common = grub-core/fs/befs.c;
52 common = grub-core/fs/btrfs.c;
53 common = grub-core/fs/cpio.c;
54 common = grub-core/fs/ext2.c;
55 common = grub-core/fs/fat.c;
56 common = grub-core/fs/fshelp.c;
57 common = grub-core/fs/hfs.c;
58 common = grub-core/fs/hfsplus.c;
59 common = grub-core/fs/iso9660.c;
60 common = grub-core/fs/jfs.c;
61 common = grub-core/fs/minix.c;
62 common = grub-core/fs/minix2.c;
63 common = grub-core/fs/nilfs2.c;
64 common = grub-core/fs/ntfs.c;
65 common = grub-core/fs/ntfscomp.c;
66 common = grub-core/fs/reiserfs.c;
67 common = grub-core/fs/sfs.c;
68 common = grub-core/fs/tar.c;
69 common = grub-core/fs/udf.c;
70 common = grub-core/fs/ufs2.c;
71 common = grub-core/fs/ufs.c;
72 common = grub-core/fs/xfs.c;
73 common = grub-core/fs/zfs/zfs.c;
74 common = grub-core/fs/zfs/zfs_lzjb.c;
75 common = grub-core/fs/zfs/zfs_sha256.c;
76 common = grub-core/fs/zfs/zfs_fletcher.c;
77 common = grub-core/lib/arg.c;
78 common = grub-core/lib/crypto.c;
79 common = grub-core/lib/envblk.c;
80 common = grub-core/lib/hexdump.c;
81 common = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
82 common = grub-core/lib/libgcrypt-grub/cipher/crc.c;
83 common = grub-core/lib/LzFind.c;
84 common = grub-core/lib/LzmaEnc.c;
85 common = grub-core/lib/pbkdf2.c;
86 common = grub-core/normal/datetime.c;
87 common = grub-core/normal/misc.c;
88 common = grub-core/partmap/acorn.c;
89 common = grub-core/partmap/amiga.c;
90 common = grub-core/partmap/apple.c;
91 common = grub-core/partmap/gpt.c;
92 common = grub-core/partmap/msdos.c;
93 common = grub-core/partmap/sun.c;
94 common = grub-core/partmap/sunpc.c;
95 common = grub-core/partmap/bsdlabel.c;
96 common = grub-core/script/function.c;
97 common = grub-core/script/lexer.c;
98 common = grub-core/script/main.c;
99 common = grub-core/script/script.c;
100 common = grub-core/script/argv.c;
105 common = util/bin2h.c;
106 ldadd = libgrubmods.a;
107 ldadd = libgrubkern.a;
108 ldadd = grub-core/gnulib/libgnu.a;
109 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
117 common = util/grub-mkimage.c;
118 common = util/resolve.c;
119 extra_dist = util/grub-mkimagexx.c;
121 ldadd = libgrubmods.a;
122 ldadd = libgrubkern.a;
123 ldadd = grub-core/gnulib/libgnu.a;
124 ldadd = '$(LIBLZMA)';
125 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
126 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
130 name = grub-mkrelpath;
133 common = util/grub-mkrelpath.c;
135 ldadd = libgrubmods.a;
136 ldadd = libgrubkern.a;
137 ldadd = grub-core/gnulib/libgnu.a;
138 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
142 name = grub-script-check;
145 common = util/grub-script-check.c;
147 ldadd = libgrubmods.a;
148 ldadd = libgrubkern.a;
149 ldadd = grub-core/gnulib/libgnu.a;
150 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
157 common = util/grub-editenv.c;
159 ldadd = libgrubmods.a;
160 ldadd = libgrubkern.a;
161 ldadd = grub-core/gnulib/libgnu.a;
162 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
166 name = grub-mkpasswd-pbkdf2;
169 common = util/grub-mkpasswd-pbkdf2.c;
171 ldadd = libgrubmods.a;
172 ldadd = libgrubkern.a;
173 ldadd = grub-core/gnulib/libgnu.a;
174 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
175 cflags = '$(CFLAGS_GCRY)';
176 cppflags = '$(CPPFLAGS_GCRY)';
180 name = grub-macho2img;
182 common = util/grub-macho2img.c;
183 condition = COND_APPLE_CC;
189 common = util/grub-pe2elf.c;
191 ldadd = libgrubmods.a;
192 ldadd = libgrubkern.a;
193 ldadd = grub-core/gnulib/libgnu.a;
194 ldadd = '$(LIBINTL)';
195 condition = COND_GRUB_PE2ELF;
201 common_nodist = grub_fstest_init.c;
202 common = util/grub-fstest.c;
203 common = grub-core/kern/emu/hostfs.c;
204 common = grub-core/disk/host.c;
206 cflags = '$(CFLAGS_GCRY)';
207 cppflags = '$(CPPFLAGS_GCRY)';
209 ldadd = libgrubmods.a;
210 ldadd = libgrubkern.a;
211 ldadd = grub-core/gnulib/libgnu.a;
212 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
218 common = util/grub-mkfont.c;
219 common = grub-core/unidata.c;
221 cflags = '$(freetype_cflags)';
223 ldadd = libgrubmods.a;
224 ldadd = libgrubkern.a;
225 ldadd = grub-core/gnulib/libgnu.a;
226 ldadd = '$(freetype_libs)';
227 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
228 condition = COND_GRUB_MKFONT;
232 name = grub-mkdevicemap;
236 common = util/grub-mkdevicemap.c;
237 common = util/deviceiter.c;
238 nosparc64 = util/devicemap.c;
240 sparc64_ieee1275 = util/ieee1275/ofpath.c;
241 sparc64_ieee1275 = util/ieee1275/devicemap.c;
243 ldadd = libgrubmods.a;
244 ldadd = libgrubkern.a;
245 ldadd = grub-core/gnulib/libgnu.a;
246 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
253 common = util/grub-probe.c;
255 ldadd = libgrubmods.a;
256 ldadd = libgrubkern.a;
257 ldadd = grub-core/gnulib/libgnu.a;
258 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
265 common = util/grub-setup.c;
266 common = util/raid.c;
268 common = grub-core/lib/reed_solomon.c;
270 sparc64_ieee1275 = util/ieee1275/ofpath.c;
272 ldadd = libgrubmods.a;
273 ldadd = libgrubkern.a;
274 ldadd = grub-core/gnulib/libgnu.a;
275 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
278 enable = sparc64_ieee1275;
282 name = grub-ofpathname;
284 ieee1275 = util/ieee1275/grub-ofpathname.c;
285 ieee1275 = util/ieee1275/ofpath.c;
287 ldadd = libgrubmods.a;
288 ldadd = libgrubkern.a;
289 ldadd = grub-core/gnulib/libgnu.a;
290 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
292 enable = sparc64_ieee1275;
296 name = grub-mklayout;
299 common = util/grub-mklayout.c;
301 ldadd = libgrubmods.a;
302 ldadd = libgrubkern.a;
303 ldadd = grub-core/gnulib/libgnu.a;
304 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
308 common = util/grub.d/README;
309 installdir = grubconf;
314 common = util/grub.d/00_header.in;
315 installdir = grubconf;
320 common = util/grub.d/10_windows.in;
321 installdir = grubconf;
322 condition = COND_HOST_WINDOWS;
327 common = util/grub.d/10_hurd.in;
328 installdir = grubconf;
329 condition = COND_HOST_HURD;
333 name = '10_kfreebsd';
334 common = util/grub.d/10_kfreebsd.in;
335 installdir = grubconf;
336 condition = COND_HOST_KFREEBSD;
341 common = util/grub.d/10_netbsd.in;
342 installdir = grubconf;
343 condition = COND_HOST_NETBSD;
348 common = util/grub.d/10_linux.in;
349 installdir = grubconf;
350 condition = COND_HOST_LINUX;
354 name = '20_linux_xen';
355 common = util/grub.d/20_linux_xen.in;
356 installdir = grubconf;
357 condition = COND_HOST_LINUX;
361 name = '30_os-prober';
362 common = util/grub.d/30_os-prober.in;
363 installdir = grubconf;
368 common = util/grub.d/40_custom.in;
369 installdir = grubconf;
374 common = util/grub.d/41_custom.in;
375 installdir = grubconf;
380 name = grub-mkrescue;
381 x86 = util/grub-mkrescue.in;
382 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
386 enable = i386_multiboot;
387 enable = i386_coreboot;
388 enable = powerpc_ieee1275;
396 common = util/grub-install.in;
403 name = grub-mknetdir;
405 common = util/grub-mknetdir.in;
409 name = grub-mkconfig;
410 common = util/grub-mkconfig.in;
416 name = grub-set-default;
417 common = util/grub-set-default.in;
424 common = util/grub-reboot.in;
430 name = grub-mkconfig_lib;
431 common = util/grub-mkconfig_lib.in;
436 name = update-grub_lib;
437 common = util/update-grub_lib.in;
443 common = util/grub-kbdcomp.in;
448 common = tests/util/grub-shell.in;
453 name = grub-shell-tester;
454 common = tests/util/grub-shell-tester.in;
460 name = example_scripted_test;
461 common = tests/example_scripted_test.in;
466 name = example_grub_script_test;
467 common = tests/example_grub_script_test.in;
472 name = grub_script_echo1;
473 common = tests/grub_script_echo1.in;
478 name = grub_script_echo_keywords;
479 common = tests/grub_script_echo_keywords.in;
484 name = grub_script_vars1;
485 common = tests/grub_script_vars1.in;
490 name = grub_script_for1;
491 common = tests/grub_script_for1.in;
496 name = grub_script_while1;
497 common = tests/grub_script_while1.in;
502 name = grub_script_if;
503 common = tests/grub_script_if.in;
508 name = grub_script_blanklines;
509 common = tests/grub_script_blanklines.in;
514 name = grub_script_final_semicolon;
515 common = tests/grub_script_final_semicolon.in;
520 name = grub_script_dollar;
521 common = tests/grub_script_dollar.in;
526 name = grub_script_comments;
527 common = tests/grub_script_comments.in;
532 name = grub_script_functions;
533 common = tests/grub_script_functions.in;
538 name = grub_script_break;
539 common = tests/grub_script_break.in;
544 name = grub_script_continue;
545 common = tests/grub_script_continue.in;
550 name = grub_script_shift;
551 common = tests/grub_script_shift.in;
556 name = grub_script_blockarg;
557 common = tests/grub_script_blockarg.in;
562 name = grub_script_setparams;
563 common = tests/grub_script_setparams.in;
568 name = grub_script_return;
569 common = tests/grub_script_return.in;
574 name = grub_cmd_regexp;
575 common = tests/grub_cmd_regexp.in;
580 name = grub_script_expansion;
581 common = tests/grub_script_expansion.in;
586 name = grub_script_not;
587 common = tests/grub_script_not.in;
593 common = tests/partmap_test.in;
598 name = grub_cmd_echo;
599 common = tests/grub_cmd_echo.in;
604 name = example_unit_test;
605 common = tests/example_unit_test.c;
606 common = tests/lib/unit_test.c;
607 common = grub-core/kern/list.c;
608 common = grub-core/kern/misc.c;
609 common = grub-core/tests/lib/test.c;
610 cflags = -Wno-format;
611 ldadd = libgrubmods.a;
612 ldadd = libgrubkern.a;
613 ldadd = grub-core/gnulib/libgnu.a;
614 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
618 name = grub-menulst2cfg;
620 common = util/grub-menulst2cfg.c;
621 common = grub-core/lib/legacy_parse.c;
622 common = grub-core/lib/i386/pc/vesa_modes_table.c;
624 ldadd = libgrubmods.a;
625 ldadd = libgrubkern.a;
626 ldadd = grub-core/gnulib/libgnu.a;
627 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';