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 = util/getroot.c;
14 common = grub-core/kern/emu/hostdisk.c;
15 common = grub-core/kern/emu/misc.c;
16 common = grub-core/kern/emu/mm.c;
17 common = grub-core/kern/env.c;
18 common = grub-core/kern/err.c;
19 common = grub-core/kern/file.c;
20 common = grub-core/kern/fs.c;
21 common = grub-core/kern/list.c;
22 common = grub-core/kern/misc.c;
23 common = grub-core/kern/partition.c;
24 common = grub-core/lib/crypto.c;
25 common = grub-core/disk/luks.c;
26 common = grub-core/disk/geli.c;
27 common = grub-core/disk/cryptodisk.c;
28 common = grub-core/disk/AFSplitter.c;
29 common = grub-core/lib/pbkdf2.c;
30 common = grub-core/commands/extcmd.c;
31 common = grub-core/lib/arg.c;
32 common = grub-core/disk/ldm.c;
33 common = grub-core/disk/diskfilter.c;
34 common = grub-core/partmap/gpt.c;
39 cflags = '$(CFLAGS_POSIX) -Wno-undef';
40 cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
42 common_nodist = grub_script.tab.c;
43 common_nodist = grub_script.yy.c;
44 common_nodist = libgrub_a_init.c;
45 common_nodist = grub_script.yy.h;
46 common_nodist = grub_script.tab.h;
48 common = grub-core/commands/blocklist.c;
49 common = grub-core/commands/xnu_uuid.c;
50 common = grub-core/commands/testload.c;
51 common = grub-core/commands/ls.c;
52 common = grub-core/disk/dmraid_nvidia.c;
53 common = grub-core/disk/loopback.c;
54 common = grub-core/disk/lvm.c;
55 common = grub-core/disk/mdraid_linux.c;
56 common = grub-core/disk/mdraid1x_linux.c;
57 common = grub-core/disk/raid5_recover.c;
58 common = grub-core/disk/raid6_recover.c;
59 common = grub-core/fs/affs.c;
60 common = grub-core/fs/afs.c;
61 common = grub-core/fs/bfs.c;
62 common = grub-core/fs/btrfs.c;
63 common = grub-core/fs/cpio.c;
64 common = grub-core/fs/cpio_be.c;
65 common = grub-core/fs/odc.c;
66 common = grub-core/fs/newc.c;
67 common = grub-core/fs/ext2.c;
68 common = grub-core/fs/fat.c;
69 common = grub-core/fs/exfat.c;
70 common = grub-core/fs/fshelp.c;
71 common = grub-core/fs/hfs.c;
72 common = grub-core/fs/hfsplus.c;
73 common = grub-core/fs/iso9660.c;
74 common = grub-core/fs/jfs.c;
75 common = grub-core/fs/minix.c;
76 common = grub-core/fs/minix2.c;
77 common = grub-core/fs/minix3.c;
78 common = grub-core/fs/nilfs2.c;
79 common = grub-core/fs/ntfs.c;
80 common = grub-core/fs/ntfscomp.c;
81 common = grub-core/fs/reiserfs.c;
82 common = grub-core/fs/romfs.c;
83 common = grub-core/fs/sfs.c;
84 common = grub-core/fs/squash4.c;
85 common = grub-core/fs/tar.c;
86 common = grub-core/fs/udf.c;
87 common = grub-core/fs/ufs2.c;
88 common = grub-core/fs/ufs.c;
89 common = grub-core/fs/xfs.c;
90 common = grub-core/fs/zfs/zfscrypt.c;
91 common = grub-core/fs/zfs/zfs.c;
92 common = grub-core/fs/zfs/zfsinfo.c;
93 common = grub-core/fs/zfs/zfs_lzjb.c;
94 common = grub-core/fs/zfs/zfs_sha256.c;
95 common = grub-core/fs/zfs/zfs_fletcher.c;
96 common = grub-core/lib/envblk.c;
97 common = grub-core/lib/hexdump.c;
98 common = grub-core/lib/LzFind.c;
99 common = grub-core/lib/LzmaEnc.c;
100 common = grub-core/lib/crc.c;
101 common = grub-core/lib/adler32.c;
102 common = grub-core/lib/crc64.c;
103 common = grub-core/normal/datetime.c;
104 common = grub-core/normal/misc.c;
105 common = grub-core/partmap/acorn.c;
106 common = grub-core/partmap/amiga.c;
107 common = grub-core/partmap/apple.c;
108 common = grub-core/partmap/msdos.c;
109 common = grub-core/partmap/sun.c;
110 common = grub-core/partmap/plan.c;
111 common = grub-core/partmap/dvh.c;
112 common = grub-core/partmap/sunpc.c;
113 common = grub-core/partmap/bsdlabel.c;
114 common = grub-core/script/function.c;
115 common = grub-core/script/lexer.c;
116 common = grub-core/script/main.c;
117 common = grub-core/script/script.c;
118 common = grub-core/script/argv.c;
119 common = grub-core/io/gzio.c;
120 common = grub-core/io/lzopio.c;
121 common = grub-core/kern/ia64/dl_helper.c;
122 common = grub-core/lib/minilzo/minilzo.c;
123 common = grub-core/lib/xzembed/xz_dec_bcj.c;
124 common = grub-core/lib/xzembed/xz_dec_lzma2.c;
125 common = grub-core/lib/xzembed/xz_dec_stream.c;
130 common = util/bin2h.c;
131 ldadd = libgrubmods.a;
132 ldadd = libgrubgcry.a;
133 ldadd = libgrubkern.a;
134 ldadd = grub-core/gnulib/libgnu.a;
135 ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
143 common = util/grub-mkimage.c;
144 common = util/resolve.c;
145 extra_dist = util/grub-mkimagexx.c;
147 ldadd = libgrubmods.a;
148 ldadd = libgrubgcry.a;
149 ldadd = libgrubkern.a;
150 ldadd = grub-core/gnulib/libgnu.a;
151 ldadd = '$(LIBLZMA)';
152 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
153 cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
157 name = grub-mkrelpath;
160 common = util/grub-mkrelpath.c;
162 ldadd = libgrubmods.a;
163 ldadd = libgrubgcry.a;
164 ldadd = libgrubkern.a;
165 ldadd = grub-core/gnulib/libgnu.a;
166 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
170 name = grub-script-check;
173 common = util/grub-script-check.c;
175 ldadd = libgrubmods.a;
176 ldadd = libgrubgcry.a;
177 ldadd = libgrubkern.a;
178 ldadd = grub-core/gnulib/libgnu.a;
179 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
186 common = util/grub-editenv.c;
188 ldadd = libgrubmods.a;
189 ldadd = libgrubgcry.a;
190 ldadd = libgrubkern.a;
191 ldadd = grub-core/gnulib/libgnu.a;
192 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
196 name = grub-mkpasswd-pbkdf2;
199 common = util/grub-mkpasswd-pbkdf2.c;
201 ldadd = libgrubmods.a;
202 ldadd = libgrubgcry.a;
203 ldadd = libgrubkern.a;
204 ldadd = grub-core/gnulib/libgnu.a;
205 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
206 cflags = '$(CFLAGS_GCRY)';
207 cppflags = '$(CPPFLAGS_GCRY)';
211 name = grub-macho2img;
213 common = util/grub-macho2img.c;
214 condition = COND_APPLE_CC;
220 common = util/grub-pe2elf.c;
222 ldadd = libgrubmods.a;
223 ldadd = libgrubgcry.a;
224 ldadd = libgrubkern.a;
225 ldadd = grub-core/gnulib/libgnu.a;
226 ldadd = '$(LIBINTL)';
227 condition = COND_GRUB_PE2ELF;
233 common_nodist = grub_fstest_init.c;
234 common = util/grub-fstest.c;
235 common = grub-core/kern/emu/hostfs.c;
236 common = grub-core/disk/host.c;
238 cflags = '$(CFLAGS_GCRY)';
239 cppflags = '$(CPPFLAGS_GCRY)';
241 ldadd = libgrubmods.a;
242 ldadd = libgrubgcry.a;
243 ldadd = libgrubkern.a;
244 ldadd = grub-core/gnulib/libgnu.a;
245 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
251 common_nodist = grub_fstest_init.c;
252 common = util/grub-mount.c;
253 common = grub-core/kern/emu/hostfs.c;
254 common = grub-core/disk/host.c;
256 ldadd = libgrubmods.a;
257 ldadd = libgrubgcry.a;
258 ldadd = libgrubkern.a;
259 ldadd = grub-core/gnulib/libgnu.a;
260 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) -lfuse';
261 condition = COND_GRUB_MOUNT;
267 common = util/grub-mkfont.c;
268 common = grub-core/unidata.c;
270 cflags = '$(freetype_cflags)';
272 ldadd = libgrubmods.a;
273 ldadd = libgrubgcry.a;
274 ldadd = libgrubkern.a;
275 ldadd = grub-core/gnulib/libgnu.a;
276 ldadd = '$(freetype_libs)';
277 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
278 condition = COND_GRUB_MKFONT;
282 name = grub-mkdevicemap;
286 common = util/grub-mkdevicemap.c;
287 common = util/deviceiter.c;
288 common = util/devicemap.c;
290 ldadd = libgrubmods.a;
291 ldadd = libgrubgcry.a;
292 ldadd = libgrubkern.a;
293 ldadd = grub-core/gnulib/libgnu.a;
294 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
301 common = util/grub-probe.c;
302 common = util/ieee1275/ofpath.c;
304 ldadd = libgrubmods.a;
305 ldadd = libgrubgcry.a;
306 ldadd = libgrubkern.a;
307 ldadd = grub-core/gnulib/libgnu.a;
308 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
315 common = util/grub-setup.c;
317 common = grub-core/lib/reed_solomon.c;
319 sparc64_ieee1275 = util/ieee1275/ofpath.c;
321 ldadd = libgrubmods.a;
322 ldadd = libgrubkern.a;
323 ldadd = libgrubgcry.a;
324 ldadd = grub-core/gnulib/libgnu.a;
325 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
328 enable = sparc64_ieee1275;
332 name = grub-ofpathname;
335 ieee1275 = util/ieee1275/grub-ofpathname.c;
336 ieee1275 = util/ieee1275/ofpath.c;
338 ldadd = libgrubmods.a;
339 ldadd = libgrubgcry.a;
340 ldadd = libgrubkern.a;
341 ldadd = grub-core/gnulib/libgnu.a;
342 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
344 enable = sparc64_ieee1275;
348 name = grub-mklayout;
351 common = util/grub-mklayout.c;
353 ldadd = libgrubmods.a;
354 ldadd = libgrubgcry.a;
355 ldadd = libgrubkern.a;
356 ldadd = grub-core/gnulib/libgnu.a;
357 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
361 common = util/grub.d/README;
362 installdir = grubconf;
367 common = util/grub.d/00_header.in;
368 installdir = grubconf;
373 common = util/grub.d/10_windows.in;
374 installdir = grubconf;
375 condition = COND_HOST_WINDOWS;
380 common = util/grub.d/10_hurd.in;
381 installdir = grubconf;
382 condition = COND_HOST_HURD;
386 name = '10_kfreebsd';
387 common = util/grub.d/10_kfreebsd.in;
388 installdir = grubconf;
389 condition = COND_HOST_KFREEBSD;
394 common = util/grub.d/10_illumos.in;
395 installdir = grubconf;
396 condition = COND_HOST_ILLUMOS;
401 common = util/grub.d/10_netbsd.in;
402 installdir = grubconf;
403 condition = COND_HOST_NETBSD;
408 common = util/grub.d/10_linux.in;
409 installdir = grubconf;
410 condition = COND_HOST_LINUX;
414 name = '20_linux_xen';
415 common = util/grub.d/20_linux_xen.in;
416 installdir = grubconf;
417 condition = COND_HOST_LINUX;
421 name = '30_os-prober';
422 common = util/grub.d/30_os-prober.in;
423 installdir = grubconf;
428 common = util/grub.d/40_custom.in;
429 installdir = grubconf;
434 common = util/grub.d/41_custom.in;
435 installdir = grubconf;
440 name = grub-mkrescue;
441 x86 = util/grub-mkrescue.in;
442 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
447 enable = i386_multiboot;
448 enable = i386_coreboot;
449 enable = powerpc_ieee1275;
454 name = grub-mkstandalone;
455 common = util/grub-mkstandalone.in;
463 common = util/grub-install.in;
470 name = grub-mknetdir;
472 common = util/grub-mknetdir.in;
476 name = grub-mkconfig;
477 common = util/grub-mkconfig.in;
483 name = grub-set-default;
484 common = util/grub-set-default.in;
491 common = util/grub-reboot.in;
497 name = grub-mkconfig_lib;
498 common = util/grub-mkconfig_lib.in;
504 common = util/grub-kbdcomp.in;
509 common = tests/util/grub-shell.in;
514 name = grub-shell-tester;
515 common = tests/util/grub-shell-tester.in;
521 name = example_scripted_test;
522 common = tests/example_scripted_test.in;
527 name = example_grub_script_test;
528 common = tests/example_grub_script_test.in;
533 name = grub_script_echo1;
534 common = tests/grub_script_echo1.in;
539 name = grub_script_echo_keywords;
540 common = tests/grub_script_echo_keywords.in;
545 name = grub_script_vars1;
546 common = tests/grub_script_vars1.in;
551 name = grub_script_for1;
552 common = tests/grub_script_for1.in;
557 name = grub_script_while1;
558 common = tests/grub_script_while1.in;
563 name = grub_script_if;
564 common = tests/grub_script_if.in;
569 name = grub_script_blanklines;
570 common = tests/grub_script_blanklines.in;
575 name = grub_script_final_semicolon;
576 common = tests/grub_script_final_semicolon.in;
581 name = grub_script_dollar;
582 common = tests/grub_script_dollar.in;
587 name = grub_script_comments;
588 common = tests/grub_script_comments.in;
593 name = grub_script_functions;
594 common = tests/grub_script_functions.in;
599 name = grub_script_break;
600 common = tests/grub_script_break.in;
605 name = grub_script_continue;
606 common = tests/grub_script_continue.in;
611 name = grub_script_shift;
612 common = tests/grub_script_shift.in;
617 name = grub_script_blockarg;
618 common = tests/grub_script_blockarg.in;
623 name = grub_script_setparams;
624 common = tests/grub_script_setparams.in;
629 name = grub_script_return;
630 common = tests/grub_script_return.in;
635 name = grub_cmd_regexp;
636 common = tests/grub_cmd_regexp.in;
641 name = grub_script_expansion;
642 common = tests/grub_script_expansion.in;
647 name = grub_script_not;
648 common = tests/grub_script_not.in;
654 common = tests/partmap_test.in;
659 name = grub_cmd_echo;
660 common = tests/grub_cmd_echo.in;
665 name = example_unit_test;
666 common = tests/example_unit_test.c;
667 common = tests/lib/unit_test.c;
668 common = grub-core/kern/list.c;
669 common = grub-core/kern/misc.c;
670 common = grub-core/tests/lib/test.c;
671 cflags = -Wno-format;
672 ldadd = libgrubmods.a;
673 ldadd = libgrubgcry.a;
674 ldadd = libgrubkern.a;
675 ldadd = grub-core/gnulib/libgnu.a;
676 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
682 common = tests/printf_unit_test.c;
683 common = tests/lib/unit_test.c;
684 common = grub-core/kern/list.c;
685 common = grub-core/kern/misc.c;
686 common = grub-core/tests/lib/test.c;
687 ldadd = libgrubmods.a;
688 ldadd = libgrubgcry.a;
689 ldadd = libgrubkern.a;
690 ldadd = grub-core/gnulib/libgnu.a;
691 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
695 name = grub-menulst2cfg;
697 common = util/grub-menulst2cfg.c;
698 common = grub-core/lib/legacy_parse.c;
699 common = grub-core/lib/i386/pc/vesa_modes_table.c;
701 ldadd = libgrubmods.a;
702 ldadd = libgrubgcry.a;
703 ldadd = libgrubkern.a;
704 ldadd = grub-core/gnulib/libgnu.a;
705 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';