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/lib/arg.c;
74 common = grub-core/lib/crypto.c;
75 common = grub-core/lib/envblk.c;
76 common = grub-core/lib/hexdump.c;
77 common = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
78 common = grub-core/lib/libgcrypt-grub/cipher/crc.c;
79 common = grub-core/lib/LzFind.c;
80 common = grub-core/lib/LzmaEnc.c;
81 common = grub-core/lib/pbkdf2.c;
82 common = grub-core/normal/datetime.c;
83 common = grub-core/normal/misc.c;
84 common = grub-core/partmap/acorn.c;
85 common = grub-core/partmap/amiga.c;
86 common = grub-core/partmap/apple.c;
87 common = grub-core/partmap/gpt.c;
88 common = grub-core/partmap/msdos.c;
89 common = grub-core/partmap/sun.c;
90 common = grub-core/partmap/sunpc.c;
91 common = grub-core/partmap/bsdlabel.c;
92 common = grub-core/script/function.c;
93 common = grub-core/script/lexer.c;
94 common = grub-core/script/main.c;
95 common = grub-core/script/script.c;
96 common = grub-core/script/argv.c;
101 common = util/bin2h.c;
102 ldadd = libgrubmods.a;
103 ldadd = libgrubkern.a;
104 ldadd = grub-core/gnulib/libgnu.a;
105 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
113 common = util/grub-mkimage.c;
114 common = util/resolve.c;
115 extra_dist = util/grub-mkimagexx.c;
117 ldadd = libgrubmods.a;
118 ldadd = libgrubkern.a;
119 ldadd = grub-core/gnulib/libgnu.a;
120 ldadd = '$(LIBLZMA)';
121 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
122 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
126 name = grub-mkrelpath;
129 common = util/grub-mkrelpath.c;
131 ldadd = libgrubmods.a;
132 ldadd = libgrubkern.a;
133 ldadd = grub-core/gnulib/libgnu.a;
134 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
138 name = grub-script-check;
141 common = util/grub-script-check.c;
143 ldadd = libgrubmods.a;
144 ldadd = libgrubkern.a;
145 ldadd = grub-core/gnulib/libgnu.a;
146 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
153 common = util/grub-editenv.c;
155 ldadd = libgrubmods.a;
156 ldadd = libgrubkern.a;
157 ldadd = grub-core/gnulib/libgnu.a;
158 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
162 name = grub-mkpasswd-pbkdf2;
165 common = util/grub-mkpasswd-pbkdf2.c;
167 ldadd = libgrubmods.a;
168 ldadd = libgrubkern.a;
169 ldadd = grub-core/gnulib/libgnu.a;
170 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
171 cflags = '$(CFLAGS_GCRY)';
172 cppflags = '$(CPPFLAGS_GCRY)';
176 name = grub-macho2img;
178 common = util/grub-macho2img.c;
179 condition = COND_APPLE_CC;
185 common = util/grub-pe2elf.c;
187 ldadd = libgrubmods.a;
188 ldadd = libgrubkern.a;
189 ldadd = grub-core/gnulib/libgnu.a;
190 ldadd = '$(LIBINTL)';
191 condition = COND_GRUB_PE2ELF;
197 common_nodist = grub_fstest_init.c;
198 common = util/grub-fstest.c;
199 common = grub-core/kern/emu/hostfs.c;
200 common = grub-core/disk/host.c;
202 cflags = '$(CFLAGS_GCRY)';
203 cppflags = '$(CPPFLAGS_GCRY)';
205 ldadd = libgrubmods.a;
206 ldadd = libgrubkern.a;
207 ldadd = grub-core/gnulib/libgnu.a;
208 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
214 common = util/grub-mkfont.c;
215 common = grub-core/unidata.c;
217 cflags = '$(freetype_cflags)';
219 ldadd = libgrubmods.a;
220 ldadd = libgrubkern.a;
221 ldadd = grub-core/gnulib/libgnu.a;
222 ldadd = '$(freetype_libs)';
223 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
224 condition = COND_GRUB_MKFONT;
228 name = grub-mkdevicemap;
232 common = util/grub-mkdevicemap.c;
233 common = util/deviceiter.c;
234 nosparc64 = util/devicemap.c;
236 sparc64_ieee1275 = util/ieee1275/ofpath.c;
237 sparc64_ieee1275 = util/ieee1275/devicemap.c;
239 ldadd = libgrubmods.a;
240 ldadd = libgrubkern.a;
241 ldadd = grub-core/gnulib/libgnu.a;
242 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
249 common = util/grub-probe.c;
251 ldadd = libgrubmods.a;
252 ldadd = libgrubkern.a;
253 ldadd = grub-core/gnulib/libgnu.a;
254 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
261 common = util/grub-setup.c;
262 common = util/raid.c;
264 common = grub-core/lib/reed_solomon.c;
266 sparc64_ieee1275 = util/ieee1275/ofpath.c;
268 ldadd = libgrubmods.a;
269 ldadd = libgrubkern.a;
270 ldadd = grub-core/gnulib/libgnu.a;
271 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR)';
274 enable = sparc64_ieee1275;
278 name = grub-ofpathname;
280 ieee1275 = util/ieee1275/grub-ofpathname.c;
281 ieee1275 = util/ieee1275/ofpath.c;
283 ldadd = libgrubmods.a;
284 ldadd = libgrubkern.a;
285 ldadd = grub-core/gnulib/libgnu.a;
286 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
288 enable = sparc64_ieee1275;
292 name = grub-mklayout;
295 common = util/grub-mklayout.c;
297 ldadd = libgrubmods.a;
298 ldadd = libgrubkern.a;
299 ldadd = grub-core/gnulib/libgnu.a;
300 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
304 common = util/grub.d/README;
305 installdir = grubconf;
310 common = util/grub.d/00_header.in;
311 installdir = grubconf;
316 common = util/grub.d/10_windows.in;
317 installdir = grubconf;
318 condition = COND_HOST_WINDOWS;
323 common = util/grub.d/10_hurd.in;
324 installdir = grubconf;
325 condition = COND_HOST_HURD;
329 name = '10_kfreebsd';
330 common = util/grub.d/10_kfreebsd.in;
331 installdir = grubconf;
332 condition = COND_HOST_KFREEBSD;
337 common = util/grub.d/10_netbsd.in;
338 installdir = grubconf;
339 condition = COND_HOST_NETBSD;
344 common = util/grub.d/10_linux.in;
345 installdir = grubconf;
346 condition = COND_HOST_LINUX;
350 name = '20_linux_xen';
351 common = util/grub.d/20_linux_xen.in;
352 installdir = grubconf;
353 condition = COND_HOST_LINUX;
357 name = '30_os-prober';
358 common = util/grub.d/30_os-prober.in;
359 installdir = grubconf;
364 common = util/grub.d/40_custom.in;
365 installdir = grubconf;
370 common = util/grub.d/41_custom.in;
371 installdir = grubconf;
376 name = grub-mkrescue;
377 x86 = util/grub-mkrescue.in;
378 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
382 enable = i386_multiboot;
383 enable = i386_coreboot;
384 enable = powerpc_ieee1275;
392 common = util/grub-install.in;
399 name = grub-mknetdir;
401 common = util/grub-mknetdir.in;
405 name = grub-mkconfig;
406 common = util/grub-mkconfig.in;
412 name = grub-set-default;
413 common = util/grub-set-default.in;
420 common = util/grub-reboot.in;
426 name = grub-mkconfig_lib;
427 common = util/grub-mkconfig_lib.in;
432 name = update-grub_lib;
433 common = util/update-grub_lib.in;
439 common = util/grub-kbdcomp.in;
444 common = tests/util/grub-shell.in;
449 name = grub-shell-tester;
450 common = tests/util/grub-shell-tester.in;
456 name = example_scripted_test;
457 common = tests/example_scripted_test.in;
462 name = example_grub_script_test;
463 common = tests/example_grub_script_test.in;
468 name = grub_script_echo1;
469 common = tests/grub_script_echo1.in;
474 name = grub_script_echo_keywords;
475 common = tests/grub_script_echo_keywords.in;
480 name = grub_script_vars1;
481 common = tests/grub_script_vars1.in;
486 name = grub_script_for1;
487 common = tests/grub_script_for1.in;
492 name = grub_script_while1;
493 common = tests/grub_script_while1.in;
498 name = grub_script_if;
499 common = tests/grub_script_if.in;
504 name = grub_script_blanklines;
505 common = tests/grub_script_blanklines.in;
510 name = grub_script_final_semicolon;
511 common = tests/grub_script_final_semicolon.in;
516 name = grub_script_dollar;
517 common = tests/grub_script_dollar.in;
522 name = grub_script_comments;
523 common = tests/grub_script_comments.in;
528 name = grub_script_functions;
529 common = tests/grub_script_functions.in;
534 name = grub_script_break;
535 common = tests/grub_script_break.in;
540 name = grub_script_continue;
541 common = tests/grub_script_continue.in;
546 name = grub_script_shift;
547 common = tests/grub_script_shift.in;
552 name = grub_script_blockarg;
553 common = tests/grub_script_blockarg.in;
558 name = grub_script_setparams;
559 common = tests/grub_script_setparams.in;
564 name = grub_script_return;
565 common = tests/grub_script_return.in;
570 name = grub_cmd_regexp;
571 common = tests/grub_cmd_regexp.in;
576 name = grub_script_expansion;
577 common = tests/grub_script_expansion.in;
582 name = grub_script_not;
583 common = tests/grub_script_not.in;
589 common = tests/partmap_test.in;
594 name = grub_cmd_echo;
595 common = tests/grub_cmd_echo.in;
600 name = example_unit_test;
601 common = tests/example_unit_test.c;
602 common = tests/lib/unit_test.c;
603 common = grub-core/kern/list.c;
604 common = grub-core/kern/misc.c;
605 common = grub-core/tests/lib/test.c;
606 cflags = -Wno-format;
607 ldadd = libgrubmods.a;
608 ldadd = libgrubkern.a;
609 ldadd = grub-core/gnulib/libgnu.a;
610 ldadd = '$(LIBDEVMAPPER)';
614 name = grub-menulst2cfg;
616 common = util/grub-menulst2cfg.c;
617 common = grub-core/lib/legacy_parse.c;
618 common = grub-core/lib/i386/pc/vesa_modes_table.c;
620 ldadd = libgrubmods.a;
621 ldadd = libgrubkern.a;
622 ldadd = grub-core/gnulib/libgnu.a;
623 ldflags = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';