2010-05-06 06:04:04 +00:00
|
|
|
AutoGen definitions Makefile.tpl;
|
|
|
|
|
|
|
|
library = {
|
2010-06-04 04:04:28 +00:00
|
|
|
name = libgrub.a;
|
2010-05-06 06:04:04 +00:00
|
|
|
cflags = '$(CFLAGS_GCRY)';
|
|
|
|
cppflags = '$(CPPFLAGS_GCRY)';
|
|
|
|
|
|
|
|
nodist = grub_script.tab.c;
|
|
|
|
nodist = grub_script.yy.c;
|
2010-06-04 04:04:28 +00:00
|
|
|
nodist = libgrub_a_init.c;
|
2010-05-06 06:04:04 +00:00
|
|
|
|
|
|
|
source = grub-core/gnulib/error.c;
|
|
|
|
source = grub-core/gnulib/fnmatch.c;
|
|
|
|
source = grub-core/gnulib/getdelim.c;
|
|
|
|
source = grub-core/gnulib/getline.c;
|
|
|
|
source = grub-core/gnulib/getopt1.c;
|
|
|
|
source = grub-core/gnulib/getopt.c;
|
|
|
|
source = grub-core/gnulib/progname.c;
|
|
|
|
|
|
|
|
source = util/misc.c;
|
|
|
|
source = grub-core/kern/misc.c;
|
2010-05-06 07:25:47 +00:00
|
|
|
source = grub-core/kern/emu/mm.c;
|
2010-05-06 06:04:04 +00:00
|
|
|
source = grub-core/kern/emu/misc.c;
|
|
|
|
source = grub-core/kern/emu/hostfs.c;
|
|
|
|
source = grub-core/kern/emu/getroot.c;
|
|
|
|
source = grub-core/kern/emu/hostdisk.c;
|
|
|
|
|
|
|
|
source = grub-core/commands/blocklist.c;
|
|
|
|
source = grub-core/commands/extcmd.c;
|
|
|
|
source = grub-core/commands/ls.c;
|
|
|
|
source = grub-core/disk/dmraid_nvidia.c;
|
|
|
|
source = grub-core/disk/host.c;
|
|
|
|
source = grub-core/disk/loopback.c;
|
|
|
|
source = grub-core/disk/lvm.c;
|
|
|
|
source = grub-core/disk/mdraid_linux.c;
|
|
|
|
source = grub-core/disk/raid5_recover.c;
|
|
|
|
source = grub-core/disk/raid6_recover.c;
|
|
|
|
source = grub-core/disk/raid.c;
|
|
|
|
source = grub-core/fs/affs.c;
|
|
|
|
source = grub-core/fs/afs_be.c;
|
|
|
|
source = grub-core/fs/afs.c;
|
|
|
|
source = grub-core/fs/befs_be.c;
|
|
|
|
source = grub-core/fs/befs.c;
|
|
|
|
source = grub-core/fs/cpio.c;
|
|
|
|
source = grub-core/fs/ext2.c;
|
|
|
|
source = grub-core/fs/fat.c;
|
|
|
|
source = grub-core/fs/fshelp.c;
|
|
|
|
source = grub-core/fs/hfs.c;
|
|
|
|
source = grub-core/fs/hfsplus.c;
|
|
|
|
source = grub-core/fs/iso9660.c;
|
|
|
|
source = grub-core/fs/jfs.c;
|
|
|
|
source = grub-core/fs/minix.c;
|
|
|
|
source = grub-core/fs/nilfs2.c;
|
|
|
|
source = grub-core/fs/ntfs.c;
|
|
|
|
source = grub-core/fs/ntfscomp.c;
|
|
|
|
source = grub-core/fs/reiserfs.c;
|
|
|
|
source = grub-core/fs/sfs.c;
|
|
|
|
source = grub-core/fs/tar.c;
|
|
|
|
source = grub-core/fs/udf.c;
|
|
|
|
source = grub-core/fs/ufs2.c;
|
|
|
|
source = grub-core/fs/ufs.c;
|
|
|
|
source = grub-core/fs/xfs.c;
|
|
|
|
source = grub-core/kern/command.c;
|
|
|
|
source = grub-core/kern/device.c;
|
|
|
|
source = grub-core/kern/disk.c;
|
|
|
|
source = grub-core/kern/env.c;
|
|
|
|
source = grub-core/kern/err.c;
|
|
|
|
source = grub-core/kern/file.c;
|
|
|
|
source = grub-core/kern/fs.c;
|
|
|
|
source = grub-core/kern/list.c;
|
|
|
|
source = grub-core/kern/partition.c;
|
|
|
|
source = grub-core/lib/arg.c;
|
|
|
|
source = grub-core/lib/crc.c;
|
|
|
|
source = grub-core/lib/crypto.c;
|
|
|
|
source = grub-core/lib/envblk.c;
|
|
|
|
source = grub-core/lib/hexdump.c;
|
|
|
|
source = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
|
|
|
|
source = grub-core/lib/LzFind.c;
|
|
|
|
source = grub-core/lib/LzmaEnc.c;
|
|
|
|
source = grub-core/lib/pbkdf2.c;
|
|
|
|
source = grub-core/normal/datetime.c;
|
|
|
|
source = grub-core/normal/misc.c;
|
|
|
|
source = grub-core/partmap/acorn.c;
|
|
|
|
source = grub-core/partmap/amiga.c;
|
|
|
|
source = grub-core/partmap/apple.c;
|
|
|
|
source = grub-core/partmap/gpt.c;
|
|
|
|
source = grub-core/partmap/msdos.c;
|
|
|
|
source = grub-core/partmap/sun.c;
|
|
|
|
source = grub-core/script/function.c;
|
|
|
|
source = grub-core/script/lexer.c;
|
|
|
|
source = grub-core/script/main.c;
|
|
|
|
source = grub-core/script/script.c;
|
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-bin2h;
|
|
|
|
source = util/bin2h.c;
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
mansection = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-mkimage;
|
|
|
|
mansection = 1;
|
|
|
|
|
2010-05-26 12:19:05 +00:00
|
|
|
source = util/grub-mkimage.c;
|
2010-05-06 06:04:04 +00:00
|
|
|
source = util/resolve.c;
|
2010-06-03 06:22:33 +00:00
|
|
|
extra_dist = util/grub-mkimagexx.c;
|
2010-05-06 06:04:04 +00:00
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
|
2010-06-08 12:38:45 +00:00
|
|
|
cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"';
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-mkrelpath;
|
|
|
|
mansection = 1;
|
|
|
|
|
|
|
|
source = util/grub-mkrelpath.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-script-check;
|
|
|
|
mansection = 1;
|
|
|
|
|
|
|
|
source = util/grub-script-check.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-editenv;
|
|
|
|
mansection = 1;
|
|
|
|
|
|
|
|
source = util/grub-editenv.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-mkpasswd-pbkdf2;
|
|
|
|
mansection = 1;
|
|
|
|
|
|
|
|
source = util/grub-mkpasswd-pbkdf2.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
cflags = '$(CFLAGS_GCRY)';
|
|
|
|
cppflags = '$(CPPFLAGS_GCRY)';
|
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-macho2img;
|
|
|
|
mansection = 1;
|
|
|
|
source = util/grub-macho2img.c;
|
2010-07-13 18:05:24 +00:00
|
|
|
condition = COND_APPLE_CC;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-pe2elf;
|
|
|
|
mansection = 1;
|
|
|
|
source = util/grub-pe2elf.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-07 11:53:54 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-07-13 18:05:24 +00:00
|
|
|
condition = COND_GRUB_PE2ELF;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-fstest;
|
|
|
|
mansection = 1;
|
|
|
|
source = util/grub-fstest.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-07-13 18:05:24 +00:00
|
|
|
condition = COND_GRUB_FSTEST;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-mkfont;
|
|
|
|
mansection = 1;
|
|
|
|
source = util/grub-mkfont.c;
|
2010-07-12 19:13:28 +00:00
|
|
|
nodist = grub-core/unidata.c;
|
2010-05-06 06:04:04 +00:00
|
|
|
|
|
|
|
cflags = '$(freetype_cflags)';
|
2010-06-07 11:53:54 +00:00
|
|
|
|
|
|
|
ldadd = libgrub.a;
|
|
|
|
ldadd = '$(LIBINTL)';
|
|
|
|
ldadd = '$(freetype_libs)';
|
2010-07-13 18:05:24 +00:00
|
|
|
condition = COND_GRUB_MKFONT;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-mkdevicemap;
|
|
|
|
installdir = sbin;
|
|
|
|
mansection = 8;
|
|
|
|
source = util/grub-mkdevicemap.c;
|
|
|
|
source = util/deviceiter.c;
|
|
|
|
source = util/devicemap.c;
|
|
|
|
|
|
|
|
sparc64_ieee1275 = util/grub-mkdevicemap.c;
|
|
|
|
sparc64_ieee1275 = util/deviceiter.c;
|
|
|
|
sparc64_ieee1275 = util/ieee1275/ofpath.c;
|
|
|
|
sparc64_ieee1275 = util/ieee1275/devicemap.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-06-05 06:50:37 +00:00
|
|
|
ldadd = '$(LIBUTIL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-probe;
|
|
|
|
installdir = sbin;
|
|
|
|
mansection = 8;
|
|
|
|
source = util/grub-probe.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-06-05 06:50:37 +00:00
|
|
|
ldadd = '$(LIBUTIL)';
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-setup;
|
|
|
|
installdir = sbin;
|
|
|
|
mansection = 8;
|
|
|
|
i386_pc = util/i386/pc/grub-setup.c;
|
|
|
|
i386_pc = util/raid.c;
|
|
|
|
i386_pc = util/lvm.c;
|
|
|
|
|
|
|
|
sparc64_ieee1275 = util/ieee1275/ofpath.c;
|
|
|
|
sparc64_ieee1275 = util/sparc64/ieee1275/grub-setup.c;
|
|
|
|
sparc64_ieee1275 = util/raid.c;
|
|
|
|
sparc64_ieee1275 = util/lvm.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-06-05 07:45:18 +00:00
|
|
|
ldadd = '$(LIBINTL)';
|
2010-06-05 06:50:37 +00:00
|
|
|
ldadd = '$(LIBUTIL)';
|
2010-07-13 18:05:24 +00:00
|
|
|
|
|
|
|
enable = i386_pc;
|
|
|
|
enable = sparc64_ieee1275;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
program = {
|
|
|
|
name = grub-ofpathname;
|
|
|
|
installdir = sbin;
|
|
|
|
source = util/ieee1275/grub-ofpathname.c;
|
|
|
|
source = util/ieee1275/ofpath.c;
|
|
|
|
|
2010-06-04 04:04:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-07-13 18:05:24 +00:00
|
|
|
enable = sparc64_ieee1275;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
data = {
|
|
|
|
source = util/grub.d/README;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = '00_header';
|
|
|
|
source = util/grub.d/00_header.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = '10_windows';
|
|
|
|
source = util/grub.d/10_windows.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = '10_hurd';
|
|
|
|
source = util/grub.d/10_hurd.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = '10_linux';
|
|
|
|
source = util/grub.d/10_linux.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = '30_os-prober';
|
|
|
|
source = util/grub.d/30_os-prober.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = '40_custom';
|
|
|
|
source = util/grub.d/40_custom.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
2010-07-12 19:13:28 +00:00
|
|
|
script = {
|
|
|
|
name = '41_custom';
|
|
|
|
source = util/grub.d/41_custom.in;
|
|
|
|
installdir = grubconf;
|
|
|
|
};
|
|
|
|
|
2010-05-06 06:04:04 +00:00
|
|
|
script = {
|
|
|
|
mansection = 1;
|
|
|
|
name = grub-mkrescue;
|
|
|
|
source = util/grub-mkrescue.in;
|
|
|
|
powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
|
2010-07-13 18:05:24 +00:00
|
|
|
enable = i386_pc;
|
|
|
|
enable = i386_qemu;
|
|
|
|
enable = i386_coreboot;
|
|
|
|
enable = powerpc_ieee1275;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
mansection = 8;
|
|
|
|
installdir = sbin;
|
|
|
|
name = grub-install;
|
|
|
|
source = util/grub-install.in;
|
|
|
|
x86_efi = util/i386/efi/grub-install.in;
|
|
|
|
i386_ieee1275 = util/ieee1275/grub-install.in;
|
|
|
|
powerpc_ieee1275 = util/ieee1275/grub-install.in;
|
2010-07-13 18:05:24 +00:00
|
|
|
|
|
|
|
enable = x86;
|
|
|
|
enable = mips;
|
|
|
|
enable = powerpc_ieee1275;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = grub-mkconfig;
|
|
|
|
source = util/grub-mkconfig.in;
|
|
|
|
mansection = 8;
|
|
|
|
installdir = sbin;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = grub-set-default;
|
|
|
|
source = util/grub-set-default.in;
|
|
|
|
mansection = 8;
|
|
|
|
installdir = sbin;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = grub-reboot;
|
|
|
|
source = util/grub-reboot.in;
|
|
|
|
mansection = 8;
|
|
|
|
installdir = sbin;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = grub-mkconfig_lib;
|
|
|
|
source = util/grub-mkconfig_lib.in;
|
|
|
|
installdir = pkglib;
|
|
|
|
};
|
|
|
|
|
|
|
|
script = {
|
|
|
|
name = update-grub_lib;
|
|
|
|
source = util/update-grub_lib.in;
|
|
|
|
installdir = pkglib;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub-shell;
|
|
|
|
source = tests/util/grub-shell.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub-shell-tester;
|
|
|
|
source = tests/util/grub-shell-tester.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = example_scripted_test;
|
|
|
|
source = tests/example_scripted_test.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = example_grub_script_test;
|
|
|
|
source = tests/example_grub_script_test.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_echo1;
|
|
|
|
source = tests/grub_script_echo1.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_echo_keywords;
|
|
|
|
source = tests/grub_script_echo_keywords.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_vars1;
|
|
|
|
source = tests/grub_script_vars1.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_for1;
|
|
|
|
source = tests/grub_script_for1.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_while1;
|
|
|
|
source = tests/grub_script_while1.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_if;
|
|
|
|
source = tests/grub_script_if.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_blanklines;
|
|
|
|
source = tests/grub_script_blanklines.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_final_semicolon;
|
|
|
|
source = tests/grub_script_final_semicolon.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_dollar;
|
|
|
|
source = tests/grub_script_dollar.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
script = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = grub_script_comments;
|
|
|
|
source = tests/grub_script_comments.in;
|
|
|
|
};
|
|
|
|
|
2010-07-13 18:05:24 +00:00
|
|
|
program = {
|
|
|
|
testcase;
|
2010-05-06 06:04:04 +00:00
|
|
|
name = example_unit_test;
|
|
|
|
source = tests/example_unit_test.c;
|
|
|
|
source = tests/lib/unit_test.c;
|
|
|
|
source = grub-core/kern/list.c;
|
|
|
|
source = grub-core/kern/misc.c;
|
|
|
|
source = grub-core/tests/lib/test.c;
|
|
|
|
cflags = -Wno-format;
|
2010-07-12 19:13:28 +00:00
|
|
|
ldadd = libgrub.a;
|
2010-05-06 06:04:04 +00:00
|
|
|
};
|