1 AutoGen definitions Makefile.tpl;
   2 
   3 library = {
   4   name = libgrubkern.a;
   5   cflags = '$(CFLAGS_GNULIB)';
   6   cppflags = '$(CPPFLAGS_GNULIB)';
   7 
   8   common = util/misc.c;
   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;
  13   common = util/raid.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;
  35 };
  36 
  37 library = {
  38   name = libgrubmods.a;
  39   cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn';
  40   cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
  41 
  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;
  47 
  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/mdraid_linux_be.c;
  57   common = grub-core/disk/mdraid1x_linux.c;
  58   common = grub-core/disk/raid5_recover.c;
  59   common = grub-core/disk/raid6_recover.c;
  60   common = grub-core/fs/affs.c;
  61   common = grub-core/fs/afs.c;
  62   common = grub-core/fs/bfs.c;
  63   common = grub-core/fs/btrfs.c;
  64   common = grub-core/fs/cpio.c;
  65   common = grub-core/fs/cpio_be.c;
  66   common = grub-core/fs/odc.c;
  67   common = grub-core/fs/newc.c;
  68   common = grub-core/fs/ext2.c;
  69   common = grub-core/fs/fat.c;
  70   common = grub-core/fs/exfat.c;
  71   common = grub-core/fs/fshelp.c;
  72   common = grub-core/fs/hfs.c;
  73   common = grub-core/fs/hfsplus.c;
  74   common = grub-core/fs/iso9660.c;
  75   common = grub-core/fs/jfs.c;
  76   common = grub-core/fs/minix.c;
  77   common = grub-core/fs/minix2.c;
  78   common = grub-core/fs/minix3.c;
  79   common = grub-core/fs/minix_be.c;
  80   common = grub-core/fs/minix2_be.c;
  81   common = grub-core/fs/minix3_be.c;
  82   common = grub-core/fs/nilfs2.c;
  83   common = grub-core/fs/ntfs.c;
  84   common = grub-core/fs/ntfscomp.c;
  85   common = grub-core/fs/reiserfs.c;
  86   common = grub-core/fs/romfs.c;
  87   common = grub-core/fs/sfs.c;
  88   common = grub-core/fs/squash4.c;
  89   common = grub-core/fs/tar.c;
  90   common = grub-core/fs/udf.c;
  91   common = grub-core/fs/ufs2.c;
  92   common = grub-core/fs/ufs.c;
  93   common = grub-core/fs/xfs.c;
  94   common = grub-core/fs/zfs/zfscrypt.c;
  95   common = grub-core/fs/zfs/zfs.c;
  96   common = grub-core/fs/zfs/zfsinfo.c;
  97   common = grub-core/fs/zfs/zfs_lzjb.c;
  98   common = grub-core/fs/zfs/zfs_sha256.c;
  99   common = grub-core/fs/zfs/zfs_fletcher.c;
 100   common = grub-core/lib/envblk.c;
 101   common = grub-core/lib/hexdump.c;
 102   common = grub-core/lib/LzFind.c;
 103   common = grub-core/lib/LzmaEnc.c;
 104   common = grub-core/lib/crc.c;
 105   common = grub-core/lib/adler32.c;
 106   common = grub-core/lib/crc64.c;
 107   common = grub-core/normal/datetime.c;
 108   common = grub-core/normal/misc.c;
 109   common = grub-core/partmap/acorn.c;
 110   common = grub-core/partmap/amiga.c;
 111   common = grub-core/partmap/apple.c;
 112   common = grub-core/partmap/msdos.c;
 113   common = grub-core/partmap/sun.c;
 114   common = grub-core/partmap/plan.c;
 115   common = grub-core/partmap/dvh.c;
 116   common = grub-core/partmap/sunpc.c;
 117   common = grub-core/partmap/bsdlabel.c;
 118   common = grub-core/script/function.c;
 119   common = grub-core/script/lexer.c;
 120   common = grub-core/script/main.c;
 121   common = grub-core/script/script.c;
 122   common = grub-core/script/argv.c;
 123   common = grub-core/io/gzio.c;
 124   common = grub-core/io/lzopio.c;
 125   common = grub-core/kern/ia64/dl_helper.c;
 126   common = grub-core/lib/minilzo/minilzo.c;
 127   common = grub-core/lib/xzembed/xz_dec_bcj.c;
 128   common = grub-core/lib/xzembed/xz_dec_lzma2.c;
 129   common = grub-core/lib/xzembed/xz_dec_stream.c;
 130 };
 131 
 132 program = {
 133   name = grub-bin2h;
 134   common = util/bin2h.c;
 135   ldadd = libgrubmods.a;
 136   ldadd = libgrubgcry.a;
 137   ldadd = libgrubkern.a;
 138   ldadd = grub-core/gnulib/libgnu.a;
 139   ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
 140   installdir = noinst;
 141 };
 142 
 143 program = {
 144   name = grub-mkimage;
 145   mansection = 1;
 146 
 147   common = util/grub-mkimage.c;
 148   common = util/resolve.c;
 149   common = grub-core/kern/emu/argp_common.c;
 150 
 151   extra_dist = util/grub-mkimagexx.c;
 152 
 153   ldadd = libgrubmods.a;
 154   ldadd = libgrubgcry.a;
 155   ldadd = libgrubkern.a;
 156   ldadd = grub-core/gnulib/libgnu.a;
 157   ldadd = '$(LIBLZMA)';
 158   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 159   cppflags = '-DGRUB_PKGLIBDIR=\"$(pkglibdir)\"';
 160 };
 161 
 162 program = {
 163   name = grub-mkrelpath;
 164   mansection = 1;
 165 
 166   common = util/grub-mkrelpath.c;
 167   common = grub-core/kern/emu/argp_common.c;
 168 
 169   ldadd = libgrubmods.a;
 170   ldadd = libgrubgcry.a;
 171   ldadd = libgrubkern.a;
 172   ldadd = grub-core/gnulib/libgnu.a;
 173   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 174 };
 175 
 176 program = {
 177   name = grub-script-check;
 178   mansection = 1;
 179 
 180   common = util/grub-script-check.c;
 181   common = grub-core/kern/emu/argp_common.c;
 182 
 183   ldadd = libgrubmods.a;
 184   ldadd = libgrubgcry.a;
 185   ldadd = libgrubkern.a;
 186   ldadd = grub-core/gnulib/libgnu.a;
 187   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 188 };
 189 
 190 program = {
 191   name = grub-editenv;
 192   mansection = 1;
 193 
 194   common = util/grub-editenv.c;
 195 
 196   ldadd = libgrubmods.a;
 197   ldadd = libgrubgcry.a;
 198   ldadd = libgrubkern.a;
 199   ldadd = grub-core/gnulib/libgnu.a;
 200   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 201 };
 202 
 203 program = {
 204   name = grub-mkpasswd-pbkdf2;
 205   mansection = 1;
 206 
 207   common = util/grub-mkpasswd-pbkdf2.c;
 208   common = grub-core/kern/emu/argp_common.c;
 209 
 210   ldadd = libgrubmods.a;
 211   ldadd = libgrubgcry.a;
 212   ldadd = libgrubkern.a;
 213   ldadd = grub-core/gnulib/libgnu.a;
 214   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 215   cflags = '$(CFLAGS_GCRY)';
 216   cppflags = '$(CPPFLAGS_GCRY)';
 217 };
 218 
 219 program = {
 220   name = grub-macho2img;
 221   mansection = 1;
 222   common = util/grub-macho2img.c;
 223   condition = COND_APPLE_CC;
 224 };
 225 
 226 program = {
 227   name = grub-pe2elf;
 228   mansection = 1;
 229   common = util/grub-pe2elf.c;
 230 
 231   ldadd = libgrubmods.a;
 232   ldadd = libgrubgcry.a;
 233   ldadd = libgrubkern.a;
 234   ldadd = grub-core/gnulib/libgnu.a;
 235   ldadd = '$(LIBINTL)';
 236   condition = COND_GRUB_PE2ELF;
 237 };
 238 
 239 program = {
 240   name = grub-fstest;
 241   mansection = 1;
 242   common_nodist = grub_fstest_init.c;
 243   common = util/grub-fstest.c;
 244   common = grub-core/kern/emu/hostfs.c;
 245   common = grub-core/disk/host.c;
 246 
 247   cflags = '$(CFLAGS_GCRY)';
 248   cppflags = '$(CPPFLAGS_GCRY)';
 249 
 250   ldadd = libgrubmods.a;
 251   ldadd = libgrubgcry.a;
 252   ldadd = libgrubkern.a;
 253   ldadd = grub-core/gnulib/libgnu.a;
 254   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 255 };
 256 
 257 program = {
 258   name = grub-mount;
 259   mansection = 1;
 260   common_nodist = grub_fstest_init.c;
 261   common = util/grub-mount.c;
 262   common = grub-core/kern/emu/hostfs.c;
 263   common = grub-core/disk/host.c;
 264 
 265   ldadd = libgrubmods.a;
 266   ldadd = libgrubgcry.a;
 267   ldadd = libgrubkern.a;
 268   ldadd = grub-core/gnulib/libgnu.a;
 269   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) -lfuse';
 270   condition = COND_GRUB_MOUNT;
 271 };
 272 
 273 program = {
 274   name = grub-mkfont;
 275   mansection = 1;
 276   common = util/grub-mkfont.c;
 277   common = grub-core/unidata.c;
 278   common = grub-core/kern/emu/argp_common.c;
 279 
 280   cflags = '$(freetype_cflags)';
 281 
 282   ldadd = libgrubmods.a;
 283   ldadd = libgrubgcry.a;
 284   ldadd = libgrubkern.a;
 285   ldadd = grub-core/gnulib/libgnu.a;
 286   ldadd = '$(freetype_libs)';
 287   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 288   condition = COND_GRUB_MKFONT;
 289 };
 290 
 291 program = {
 292   name = grub-probe;
 293   installdir = sbin;
 294   mansection = 8;
 295   common = util/grub-probe.c;
 296   common = util/ieee1275/ofpath.c;
 297   common = grub-core/kern/emu/argp_common.c;
 298 
 299   ldadd = libgrubmods.a;
 300   ldadd = libgrubgcry.a;
 301   ldadd = libgrubkern.a;
 302   ldadd = grub-core/gnulib/libgnu.a;
 303   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 304 };
 305 
 306 program = {
 307   name = grub-bios-setup;
 308   installdir = sbin;
 309   mansection = 8;
 310   common = util/grub-setup.c;
 311   common = util/lvm.c;
 312   common = grub-core/kern/emu/argp_common.c;
 313   common = grub-core/lib/reed_solomon.c;
 314 
 315   ldadd = libgrubmods.a;
 316   ldadd = libgrubkern.a;
 317   ldadd = libgrubgcry.a;
 318   ldadd = grub-core/gnulib/libgnu.a;
 319   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 320   cppflags = '-DGRUB_SETUP_BIOS=1';
 321 };
 322 
 323 program = {
 324   name = grub-sparc64-setup;
 325   installdir = sbin;
 326   mansection = 8;
 327   common = util/grub-setup.c;
 328   common = util/lvm.c;
 329   common = grub-core/kern/emu/argp_common.c;
 330   common = grub-core/lib/reed_solomon.c;
 331   common = util/ieee1275/ofpath.c;
 332 
 333   ldadd = libgrubmods.a;
 334   ldadd = libgrubkern.a;
 335   ldadd = libgrubgcry.a;
 336   ldadd = grub-core/gnulib/libgnu.a;
 337   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 338   cppflags = '-DGRUB_SETUP_SPARC64=1';
 339 };
 340 
 341 program = {
 342   name = grub-ofpathname;
 343   installdir = sbin;
 344   mansection = 8;
 345   common = util/ieee1275/grub-ofpathname.c;
 346   common = util/ieee1275/ofpath.c;
 347 
 348   ldadd = libgrubmods.a;
 349   ldadd = libgrubgcry.a;
 350   ldadd = libgrubkern.a;
 351   ldadd = grub-core/gnulib/libgnu.a;
 352   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)';
 353 };
 354 
 355 program = {
 356   name = grub-mklayout;
 357   mansection = 1;
 358 
 359   common = util/grub-mklayout.c;
 360   common = grub-core/kern/emu/argp_common.c;
 361 
 362   ldadd = libgrubmods.a;
 363   ldadd = libgrubgcry.a;
 364   ldadd = libgrubkern.a;
 365   ldadd = grub-core/gnulib/libgnu.a;
 366   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 367 };
 368 
 369 data = {
 370   common = util/grub.d/README;
 371   installdir = grubconf;
 372 };
 373 
 374 script = {
 375   name = '00_header';
 376   common = util/grub.d/00_header.in;
 377   installdir = grubconf;
 378 };
 379 
 380 script = {
 381   name = '10_windows';
 382   common = util/grub.d/10_windows.in;
 383   installdir = grubconf;
 384   condition = COND_HOST_WINDOWS;
 385 };
 386 
 387 script = {
 388   name = '10_hurd';
 389   common = util/grub.d/10_hurd.in;
 390   installdir = grubconf;
 391   condition = COND_HOST_HURD;
 392 };
 393 
 394 script = {
 395   name = '10_kfreebsd';
 396   common = util/grub.d/10_kfreebsd.in;
 397   installdir = grubconf;
 398   condition = COND_HOST_KFREEBSD;
 399 };
 400 
 401 script = {
 402   name = '10_illumos';
 403   common = util/grub.d/10_illumos.in;
 404   installdir = grubconf;
 405   condition = COND_HOST_ILLUMOS;
 406 };
 407 
 408 script = {
 409   name = '10_netbsd';
 410   common = util/grub.d/10_netbsd.in;
 411   installdir = grubconf;
 412   condition = COND_HOST_NETBSD;
 413 };
 414 
 415 script = {
 416   name = '10_linux';
 417   common = util/grub.d/10_linux.in;
 418   installdir = grubconf;
 419   condition = COND_HOST_LINUX;
 420 };
 421 
 422 script = {
 423   name = '10_xnu';
 424   common = util/grub.d/10_xnu.in;
 425   installdir = grubconf;
 426   condition = COND_HOST_XNU;
 427 };
 428 
 429 script = {
 430   name = '20_linux_xen';
 431   common = util/grub.d/20_linux_xen.in;
 432   installdir = grubconf;
 433   condition = COND_HOST_LINUX;
 434 };
 435 
 436 script = {
 437   name = '30_os-prober';
 438   common = util/grub.d/30_os-prober.in;
 439   installdir = grubconf;
 440 };
 441 
 442 script = {
 443   name = '40_custom';
 444   common = util/grub.d/40_custom.in;
 445   installdir = grubconf;
 446 };
 447 
 448 script = {
 449   name = '41_custom';
 450   common = util/grub.d/41_custom.in;
 451   installdir = grubconf;
 452 };
 453 
 454 script = {
 455   mansection = 1;
 456   name = grub-mkrescue;
 457   x86 = util/grub-mkrescue.in;
 458   mips_qemu_mips = util/grub-mkrescue.in;
 459   mips_loongson = util/grub-mkrescue.in;
 460   ia64_efi = util/grub-mkrescue.in;
 461   powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in;
 462   enable = i386_pc;
 463   enable = i386_efi;
 464   enable = x86_64_efi;
 465   enable = i386_qemu;
 466   enable = i386_multiboot;
 467   enable = i386_coreboot;
 468   enable = mips_qemu_mips;
 469   enable = mips_loongson;
 470   enable = ia64_efi;
 471   enable = powerpc_ieee1275;
 472 };
 473 
 474 script = {
 475   mansection = 1;
 476   name = grub-mkstandalone;
 477   common = util/grub-mkstandalone.in;
 478 };
 479 
 480 script = {
 481   mansection = 8;
 482   installdir = sbin;
 483   name = grub-install;
 484 
 485   common = util/grub-install.in;
 486   enable = noemu;
 487 };
 488 
 489 script = {
 490   mansection = 8;
 491   installdir = sbin;
 492   name = grub-mknetdir;
 493 
 494   common = util/grub-mknetdir.in;
 495 };
 496 
 497 script = {
 498   name = grub-mkconfig;
 499   common = util/grub-mkconfig.in;
 500   mansection = 8;
 501   installdir = sbin;
 502 };
 503 
 504 script = {
 505   name = grub-set-default;
 506   common = util/grub-set-default.in;
 507   mansection = 8;
 508   installdir = sbin;
 509 };
 510 
 511 script = {
 512   name = grub-reboot;
 513   common = util/grub-reboot.in;
 514   mansection = 8;
 515   installdir = sbin;
 516 };
 517 
 518 script = {
 519   name = grub-mkconfig_lib;
 520   common = util/grub-mkconfig_lib.in;
 521   installdir = noinst;
 522 };
 523 
 524 script = {
 525   name = grub-kbdcomp;
 526   common = util/grub-kbdcomp.in;
 527   mansection = 1;
 528 };
 529 
 530 script = {
 531   name = grub-shell;
 532   common = tests/util/grub-shell.in;
 533   installdir = noinst;
 534 };
 535 
 536 script = {
 537   name = grub-shell-tester;
 538   common = tests/util/grub-shell-tester.in;
 539   installdir = noinst;
 540 };
 541 
 542 script = {
 543   testcase;
 544   name = example_scripted_test;
 545   common = tests/example_scripted_test.in;
 546 };
 547 
 548 script = {
 549   testcase;
 550   name = example_grub_script_test;
 551   common = tests/example_grub_script_test.in;
 552 };
 553 
 554 script = {
 555   testcase;
 556   name = grub_script_echo1;
 557   common = tests/grub_script_echo1.in;
 558 };
 559 
 560 script = {
 561   testcase;
 562   name = grub_script_leading_whitespace;
 563   common = tests/grub_script_leading_whitespace.in;
 564 };
 565 
 566 script = {
 567   testcase;
 568   name = grub_script_echo_keywords;
 569   common = tests/grub_script_echo_keywords.in;
 570 };
 571 
 572 script = {
 573   testcase;
 574   name = grub_script_vars1;
 575   common = tests/grub_script_vars1.in;
 576 };
 577 
 578 script = {
 579   testcase;
 580   name = grub_script_for1;
 581   common = tests/grub_script_for1.in;
 582 };
 583 
 584 script = {
 585   testcase;
 586   name = grub_script_while1;
 587   common = tests/grub_script_while1.in;
 588 };
 589 
 590 script = {
 591   testcase;
 592   name = grub_script_if;
 593   common = tests/grub_script_if.in;
 594 };
 595 
 596 script = {
 597   testcase;
 598   name = grub_script_blanklines;
 599   common = tests/grub_script_blanklines.in;
 600 };
 601 
 602 script = {
 603   testcase;
 604   name = grub_script_final_semicolon;
 605   common = tests/grub_script_final_semicolon.in;
 606 };
 607 
 608 script = {
 609   testcase;
 610   name = grub_script_dollar;
 611   common = tests/grub_script_dollar.in;
 612 };
 613 
 614 script = {
 615   testcase;
 616   name = grub_script_comments;
 617   common = tests/grub_script_comments.in;
 618 };
 619 
 620 script = {
 621   testcase;
 622   name = grub_script_functions;
 623   common = tests/grub_script_functions.in;
 624 };
 625 
 626 script = {
 627   testcase;
 628   name = grub_script_break;
 629   common = tests/grub_script_break.in;
 630 };
 631 
 632 script = {
 633   testcase;
 634   name = grub_script_continue;
 635   common = tests/grub_script_continue.in;
 636 };
 637 
 638 script = {
 639   testcase;
 640   name = grub_script_shift;
 641   common = tests/grub_script_shift.in;
 642 };
 643 
 644 script = {
 645   testcase;
 646   name = grub_script_blockarg;
 647   common = tests/grub_script_blockarg.in;
 648 };
 649 
 650 script = {
 651   testcase;
 652   name = grub_script_setparams;
 653   common = tests/grub_script_setparams.in;
 654 };
 655 
 656 script = {
 657   testcase;
 658   name = grub_script_return;
 659   common = tests/grub_script_return.in;
 660 };
 661 
 662 script = {
 663   testcase;
 664   name = grub_cmd_regexp;
 665   common = tests/grub_cmd_regexp.in;
 666 };
 667 
 668 script = {
 669   testcase;
 670   name = grub_script_expansion;
 671   common = tests/grub_script_expansion.in;
 672 };
 673 
 674 script = {
 675   testcase;
 676   name = grub_script_not;
 677   common = tests/grub_script_not.in;
 678 };
 679 
 680 script = {
 681   testcase;
 682   name = partmap_test;
 683   common = tests/partmap_test.in;
 684 };
 685 
 686 script = {
 687   testcase;
 688   name = grub_cmd_echo;
 689   common = tests/grub_cmd_echo.in;
 690 };
 691 
 692 script = {
 693   testcase;
 694   name = grub_script_gettext;
 695   common = tests/grub_script_gettext.in;
 696 };
 697 
 698 script = {
 699   testcase;
 700   name = grub_script_strcmp;
 701   common = tests/grub_script_strcmp.in;
 702 };
 703 
 704 program = {
 705   testcase;
 706   name = example_unit_test;
 707   common = tests/example_unit_test.c;
 708   common = tests/lib/unit_test.c;
 709   common = grub-core/kern/list.c;
 710   common = grub-core/kern/misc.c;
 711   common = grub-core/tests/lib/test.c;
 712   ldadd = libgrubmods.a;
 713   ldadd = libgrubgcry.a;
 714   ldadd = libgrubkern.a;
 715   ldadd = grub-core/gnulib/libgnu.a;
 716   ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 717 };
 718 
 719 program = {
 720   testcase;
 721   name = printf_test;
 722   common = tests/printf_unit_test.c;
 723   common = tests/lib/unit_test.c;
 724   common = grub-core/kern/list.c;
 725   common = grub-core/kern/misc.c;
 726   common = grub-core/tests/lib/test.c;
 727   ldadd = libgrubmods.a;
 728   ldadd = libgrubgcry.a;
 729   ldadd = libgrubkern.a;
 730   ldadd = grub-core/gnulib/libgnu.a;
 731   ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 732 };
 733 
 734 program = {
 735   testcase;
 736   name = cmp_test;
 737   common = tests/cmp_unit_test.c;
 738   common = tests/lib/unit_test.c;
 739   common = grub-core/kern/list.c;
 740   common = grub-core/kern/misc.c;
 741   common = grub-core/tests/lib/test.c;
 742   ldadd = libgrubmods.a;
 743   ldadd = libgrubgcry.a;
 744   ldadd = libgrubkern.a;
 745   ldadd = grub-core/gnulib/libgnu.a;
 746   ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 747 };
 748 
 749 program = {
 750   name = grub-menulst2cfg;
 751   mansection = 1;
 752   common = util/grub-menulst2cfg.c;
 753   common = grub-core/lib/legacy_parse.c;
 754   common = grub-core/lib/i386/pc/vesa_modes_table.c;
 755 
 756   ldadd = libgrubmods.a;
 757   ldadd = libgrubgcry.a;
 758   ldadd = libgrubkern.a;
 759   ldadd = grub-core/gnulib/libgnu.a;
 760   ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 761 };