grub/Makefile.util.def

527 lines
11 KiB
Modula-2
Raw Normal View History

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)';
common_nodist = grub_script.tab.c;
common_nodist = grub_script.yy.c;
common_nodist = libgrub_a_init.c;
common_nodist = grub_script.yy.h;
common_nodist = grub_script.tab.h;
common = grub-core/gnulib/error.c;
common = grub-core/gnulib/fnmatch.c;
common = grub-core/gnulib/getdelim.c;
common = grub-core/gnulib/getline.c;
common = grub-core/gnulib/getopt1.c;
common = grub-core/gnulib/getopt.c;
common = grub-core/gnulib/progname.c;
common = util/misc.c;
common = grub-core/kern/misc.c;
common = grub-core/kern/emu/mm.c;
common = grub-core/kern/emu/misc.c;
common = grub-core/kern/emu/hostfs.c;
common = grub-core/kern/emu/getroot.c;
common = grub-core/kern/emu/hostdisk.c;
common = grub-core/commands/blocklist.c;
common = grub-core/commands/extcmd.c;
common = grub-core/commands/ls.c;
common = grub-core/disk/dmraid_nvidia.c;
common = grub-core/disk/host.c;
common = grub-core/disk/loopback.c;
common = grub-core/disk/lvm.c;
common = grub-core/disk/mdraid_linux.c;
common = grub-core/disk/raid5_recover.c;
common = grub-core/disk/raid6_recover.c;
common = grub-core/disk/raid.c;
common = grub-core/fs/affs.c;
common = grub-core/fs/afs_be.c;
common = grub-core/fs/afs.c;
common = grub-core/fs/befs_be.c;
common = grub-core/fs/befs.c;
common = grub-core/fs/cpio.c;
common = grub-core/fs/ext2.c;
common = grub-core/fs/fat.c;
common = grub-core/fs/fshelp.c;
common = grub-core/fs/hfs.c;
common = grub-core/fs/hfsplus.c;
common = grub-core/fs/iso9660.c;
common = grub-core/fs/jfs.c;
common = grub-core/fs/minix.c;
common = grub-core/fs/nilfs2.c;
common = grub-core/fs/ntfs.c;
common = grub-core/fs/ntfscomp.c;
common = grub-core/fs/reiserfs.c;
common = grub-core/fs/sfs.c;
common = grub-core/fs/tar.c;
common = grub-core/fs/udf.c;
common = grub-core/fs/ufs2.c;
common = grub-core/fs/ufs.c;
common = grub-core/fs/xfs.c;
common = grub-core/kern/command.c;
common = grub-core/kern/device.c;
common = grub-core/kern/disk.c;
common = grub-core/kern/env.c;
common = grub-core/kern/err.c;
common = grub-core/kern/file.c;
common = grub-core/kern/fs.c;
common = grub-core/kern/list.c;
common = grub-core/kern/partition.c;
common = grub-core/lib/arg.c;
common = grub-core/lib/crc.c;
common = grub-core/lib/crypto.c;
common = grub-core/lib/envblk.c;
common = grub-core/lib/hexdump.c;
common = grub-core/lib/libgcrypt-grub/cipher/sha512.c;
common = grub-core/lib/LzFind.c;
common = grub-core/lib/LzmaEnc.c;
common = grub-core/lib/pbkdf2.c;
common = grub-core/normal/datetime.c;
common = grub-core/normal/misc.c;
common = grub-core/partmap/acorn.c;
common = grub-core/partmap/amiga.c;
common = grub-core/partmap/apple.c;
common = grub-core/partmap/gpt.c;
common = grub-core/partmap/msdos.c;
common = grub-core/partmap/sun.c;
common = grub-core/script/function.c;
common = grub-core/script/lexer.c;
common = grub-core/script/main.c;
common = grub-core/script/script.c;
common = grub-core/script/argv.c;
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-bin2h;
common = util/bin2h.c;
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
mansection = 1;
};
program = {
name = grub-mkimage;
mansection = 1;
common = util/grub-mkimage.c;
common = 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;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
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;
common = util/grub-mkrelpath.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-script-check;
mansection = 1;
common = util/grub-script-check.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-editenv;
mansection = 1;
common = util/grub-editenv.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-mkpasswd-pbkdf2;
mansection = 1;
common = util/grub-mkpasswd-pbkdf2.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
cflags = '$(CFLAGS_GCRY)';
cppflags = '$(CPPFLAGS_GCRY)';
};
program = {
name = grub-macho2img;
mansection = 1;
common = 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;
common = util/grub-pe2elf.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
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;
common = util/grub-fstest.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
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;
common = util/grub-mkfont.c;
common = 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) $(LIBDEVMAPPER)';
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;
2010-08-21 15:33:26 +00:00
common = util/grub-mkdevicemap.c;
common = util/deviceiter.c;
nosparc64 = util/devicemap.c;
2010-05-06 06:04:04 +00:00
sparc64_ieee1275 = util/ieee1275/ofpath.c;
sparc64_ieee1275 = util/ieee1275/devicemap.c;
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-probe;
installdir = sbin;
mansection = 8;
common = util/grub-probe.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(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;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(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;
ieee1275 = util/ieee1275/grub-ofpathname.c;
ieee1275 = util/ieee1275/ofpath.c;
2010-05-06 06:04:04 +00:00
2010-06-04 04:04:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL)';
2010-07-13 18:05:24 +00:00
enable = sparc64_ieee1275;
2010-05-06 06:04:04 +00:00
};
2010-08-31 19:47:26 +00:00
program = {
name = grub-elf2pe;
common = util/ia64/efi/elf2pe.c;
cppflags = '-DELF2PE_IA64';
ldadd = libgrub.a;
ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
mansection = 1;
enable = ia64_efi;
};
2010-05-06 06:04:04 +00:00
data = {
common = util/grub.d/README;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
};
script = {
name = '00_header';
common = util/grub.d/00_header.in;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
};
script = {
name = '10_windows';
common = util/grub.d/10_windows.in;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
2010-08-23 07:53:56 +00:00
condition = COND_HOST_WINDOWS;
2010-05-06 06:04:04 +00:00
};
script = {
name = '10_hurd';
common = util/grub.d/10_hurd.in;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
2010-08-23 07:53:56 +00:00
condition = COND_HOST_HURD;
2010-08-21 15:33:26 +00:00
};
script = {
2010-08-21 15:53:42 +00:00
name = '10_kfreebsd';
2010-08-21 15:33:26 +00:00
common = util/grub.d/10_kfreebsd.in;
installdir = grubconf;
2010-08-23 07:53:56 +00:00
condition = COND_HOST_KFREEBSD;
2010-08-21 15:33:26 +00:00
};
script = {
2010-08-21 15:53:42 +00:00
name = '10_netbsd';
2010-08-21 15:33:26 +00:00
common = util/grub.d/10_netbsd.in;
installdir = grubconf;
2010-08-23 07:53:56 +00:00
condition = COND_HOST_NETBSD;
2010-05-06 06:04:04 +00:00
};
script = {
name = '10_linux';
common = util/grub.d/10_linux.in;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
2010-08-23 07:53:56 +00:00
condition = COND_HOST_LINUX;
};
script = {
name = '20_linux_xen';
common = util/grub.d/20_linux_xen.in;
installdir = grubconf;
condition = COND_HOST_LINUX;
2010-05-06 06:04:04 +00:00
};
script = {
name = '30_os-prober';
common = util/grub.d/30_os-prober.in;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
};
script = {
name = '40_custom';
common = util/grub.d/40_custom.in;
2010-05-06 06:04:04 +00:00
installdir = grubconf;
};
2010-07-12 19:13:28 +00:00
script = {
name = '41_custom';
common = util/grub.d/41_custom.in;
2010-07-12 19:13:28 +00:00
installdir = grubconf;
};
2010-05-06 06:04:04 +00:00
script = {
mansection = 1;
name = grub-mkrescue;
x86 = util/grub-mkrescue.in;
2010-05-06 06:04:04 +00:00
powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-08-31 19:47:26 +00:00
enable = i386_efi;
enable = x86_64_efi;
2010-07-13 18:05:24 +00:00
enable = i386_qemu;
2010-08-28 23:26:48 +00:00
enable = i386_multiboot;
2010-07-13 18:05:24 +00:00
enable = i386_coreboot;
enable = powerpc_ieee1275;
2010-05-06 06:04:04 +00:00
};
script = {
mansection = 8;
installdir = sbin;
name = grub-install;
mips = util/grub-install.in;
i386_pc = util/grub-install.in;
i386_qemu = util/grub-install.in;
i386_coreboot = util/grub-install.in;
i386_multiboot = util/grub-install.in;
sparc64_ieee1275 = util/grub-install.in;
2010-08-31 19:47:26 +00:00
i386_efi = util/i386/efi/grub-install.in;
x86_64_efi = util/i386/efi/grub-install.in;
2010-05-06 06:04:04 +00:00
i386_ieee1275 = util/ieee1275/grub-install.in;
powerpc_ieee1275 = util/ieee1275/grub-install.in;
2010-07-13 18:05:24 +00:00
enable = noemu;
2010-05-06 06:04:04 +00:00
};
script = {
name = grub-mkconfig;
common = util/grub-mkconfig.in;
2010-05-06 06:04:04 +00:00
mansection = 8;
installdir = sbin;
};
script = {
name = grub-set-default;
common = util/grub-set-default.in;
2010-05-06 06:04:04 +00:00
mansection = 8;
installdir = sbin;
};
script = {
name = grub-reboot;
common = util/grub-reboot.in;
2010-05-06 06:04:04 +00:00
mansection = 8;
installdir = sbin;
};
script = {
name = grub-mkconfig_lib;
common = util/grub-mkconfig_lib.in;
2010-08-23 07:53:56 +00:00
installdir = noinst;
2010-05-06 06:04:04 +00:00
};
script = {
name = update-grub_lib;
common = util/update-grub_lib.in;
2010-08-23 07:53:56 +00:00
installdir = noinst;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
2010-05-06 06:04:04 +00:00
name = grub-shell;
common = tests/util/grub-shell.in;
2010-08-23 07:53:56 +00:00
installdir = noinst;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
2010-05-06 06:04:04 +00:00
name = grub-shell-tester;
common = tests/util/grub-shell-tester.in;
2010-08-23 07:53:56 +00:00
installdir = noinst;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = example_scripted_test;
common = tests/example_scripted_test.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = example_grub_script_test;
common = tests/example_grub_script_test.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_echo1;
common = tests/grub_script_echo1.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_echo_keywords;
common = tests/grub_script_echo_keywords.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_vars1;
common = tests/grub_script_vars1.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_for1;
common = tests/grub_script_for1.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_while1;
common = tests/grub_script_while1.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_if;
common = tests/grub_script_if.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_blanklines;
common = tests/grub_script_blanklines.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_final_semicolon;
common = tests/grub_script_final_semicolon.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_dollar;
common = tests/grub_script_dollar.in;
2010-05-06 06:04:04 +00:00
};
2010-07-13 18:05:24 +00:00
script = {
testcase;
2010-05-06 06:04:04 +00:00
name = grub_script_comments;
common = tests/grub_script_comments.in;
2010-05-06 06:04:04 +00:00
};
2010-08-19 11:24:00 +00:00
script = {
testcase;
name = grub_script_functions;
common = tests/grub_script_functions.in;
2010-08-19 11:24:00 +00:00
};
script = {
testcase;
name = grub_script_break;
common = tests/grub_script_break.in;
2010-08-19 11:24:00 +00:00
};
script = {
testcase;
name = grub_script_continue;
common = tests/grub_script_continue.in;
2010-08-19 11:24:00 +00:00
};
script = {
testcase;
name = grub_script_shift;
common = tests/grub_script_shift.in;
2010-08-19 11:24:00 +00:00
};
2010-07-13 18:05:24 +00:00
program = {
testcase;
2010-05-06 06:04:04 +00:00
name = example_unit_test;
common = tests/example_unit_test.c;
common = tests/lib/unit_test.c;
common = grub-core/kern/list.c;
common = grub-core/kern/misc.c;
common = grub-core/tests/lib/test.c;
2010-05-06 06:04:04 +00:00
cflags = -Wno-format;
2010-07-12 19:13:28 +00:00
ldadd = libgrub.a;
ldadd = '$(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
};