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-solarislst2cfg; 308 installdir = sbin; 309 mansection = 8; 310 common = util/grub-solarislst2cfg.c; 311 common = util/ieee1275/ofpath.c; 312 common = grub-core/kern/emu/argp_common.c; 313 314 ldadd = libgrubmods.a; 315 ldadd = libgrubgcry.a; 316 ldadd = libgrubkern.a; 317 ldadd = grub-core/gnulib/libgnu.a; 318 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; 319 }; 320 321 program = { 322 name = grub-bios-setup; 323 installdir = sbin; 324 mansection = 8; 325 common = util/grub-setup.c; 326 common = util/lvm.c; 327 common = grub-core/kern/emu/argp_common.c; 328 common = grub-core/lib/reed_solomon.c; 329 330 ldadd = libgrubmods.a; 331 ldadd = libgrubkern.a; 332 ldadd = libgrubgcry.a; 333 ldadd = grub-core/gnulib/libgnu.a; 334 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; 335 cppflags = '-DGRUB_SETUP_BIOS=1'; 336 }; 337 338 program = { 339 name = grub-sparc64-setup; 340 installdir = sbin; 341 mansection = 8; 342 common = util/grub-setup.c; 343 common = util/lvm.c; 344 common = grub-core/kern/emu/argp_common.c; 345 common = grub-core/lib/reed_solomon.c; 346 common = util/ieee1275/ofpath.c; 347 348 ldadd = libgrubmods.a; 349 ldadd = libgrubkern.a; 350 ldadd = libgrubgcry.a; 351 ldadd = grub-core/gnulib/libgnu.a; 352 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; 353 cppflags = '-DGRUB_SETUP_SPARC64=1'; 354 }; 355 356 program = { 357 name = grub-ofpathname; 358 installdir = sbin; 359 mansection = 8; 360 common = util/ieee1275/grub-ofpathname.c; 361 common = util/ieee1275/ofpath.c; 362 363 ldadd = libgrubmods.a; 364 ldadd = libgrubgcry.a; 365 ldadd = libgrubkern.a; 366 ldadd = grub-core/gnulib/libgnu.a; 367 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; 368 }; 369 370 program = { 371 name = grub-mklayout; 372 mansection = 1; 373 374 common = util/grub-mklayout.c; 375 common = grub-core/kern/emu/argp_common.c; 376 377 ldadd = libgrubmods.a; 378 ldadd = libgrubgcry.a; 379 ldadd = libgrubkern.a; 380 ldadd = grub-core/gnulib/libgnu.a; 381 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; 382 }; 383 384 data = { 385 common = util/grub.d/README; 386 installdir = grubconf; 387 }; 388 389 script = { 390 name = '00_header'; 391 common = util/grub.d/00_header.in; 392 installdir = grubconf; 393 }; 394 395 script = { 396 name = '10_windows'; 397 common = util/grub.d/10_windows.in; 398 installdir = grubconf; 399 condition = COND_HOST_WINDOWS; 400 }; 401 402 script = { 403 name = '10_hurd'; 404 common = util/grub.d/10_hurd.in; 405 installdir = grubconf; 406 condition = COND_HOST_HURD; 407 }; 408 409 script = { 410 name = '10_kfreebsd'; 411 common = util/grub.d/10_kfreebsd.in; 412 installdir = grubconf; 413 condition = COND_HOST_KFREEBSD; 414 }; 415 416 script = { 417 name = '10_illumos'; 418 common = util/grub.d/10_illumos.in; 419 installdir = grubconf; 420 condition = COND_HOST_ILLUMOS; 421 }; 422 423 script = { 424 name = '10_netbsd'; 425 common = util/grub.d/10_netbsd.in; 426 installdir = grubconf; 427 condition = COND_HOST_NETBSD; 428 }; 429 430 script = { 431 name = '10_linux'; 432 common = util/grub.d/10_linux.in; 433 installdir = grubconf; 434 condition = COND_HOST_LINUX; 435 }; 436 437 script = { 438 name = '10_xnu'; 439 common = util/grub.d/10_xnu.in; 440 installdir = grubconf; 441 condition = COND_HOST_XNU; 442 }; 443 444 script = { 445 name = '20_linux_xen'; 446 common = util/grub.d/20_linux_xen.in; 447 installdir = grubconf; 448 condition = COND_HOST_LINUX; 449 }; 450 451 script = { 452 name = '30_os-prober'; 453 common = util/grub.d/30_os-prober.in; 454 installdir = grubconf; 455 }; 456 457 script = { 458 name = '40_custom'; 459 common = util/grub.d/40_custom.in; 460 installdir = grubconf; 461 }; 462 463 script = { 464 name = '41_custom'; 465 common = util/grub.d/41_custom.in; 466 installdir = grubconf; 467 }; 468 469 script = { 470 mansection = 1; 471 name = grub-mkrescue; 472 x86 = util/grub-mkrescue.in; 473 mips_qemu_mips = util/grub-mkrescue.in; 474 mips_loongson = util/grub-mkrescue.in; 475 ia64_efi = util/grub-mkrescue.in; 476 powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; 477 enable = i386_pc; 478 enable = i386_efi; 479 enable = x86_64_efi; 480 enable = i386_qemu; 481 enable = i386_multiboot; 482 enable = i386_coreboot; 483 enable = mips_qemu_mips; 484 enable = mips_loongson; 485 enable = ia64_efi; 486 enable = powerpc_ieee1275; 487 }; 488 489 script = { 490 mansection = 1; 491 name = grub-mkstandalone; 492 common = util/grub-mkstandalone.in; 493 }; 494 495 script = { 496 mansection = 8; 497 installdir = sbin; 498 name = grub-install; 499 500 common = util/grub-install.in; 501 enable = noemu; 502 }; 503 504 script = { 505 mansection = 8; 506 installdir = sbin; 507 name = grub-mknetdir; 508 509 common = util/grub-mknetdir.in; 510 }; 511 512 script = { 513 name = grub-mkconfig; 514 common = util/grub-mkconfig.in; 515 mansection = 8; 516 installdir = sbin; 517 }; 518 519 script = { 520 name = grub-set-default; 521 common = util/grub-set-default.in; 522 mansection = 8; 523 installdir = sbin; 524 }; 525 526 script = { 527 name = grub-reboot; 528 common = util/grub-reboot.in; 529 mansection = 8; 530 installdir = sbin; 531 }; 532 533 script = { 534 name = grub-mkconfig_lib; 535 common = util/grub-mkconfig_lib.in; 536 installdir = noinst; 537 }; 538 539 script = { 540 name = grub-kbdcomp; 541 common = util/grub-kbdcomp.in; 542 mansection = 1; 543 }; 544 545 script = { 546 name = grub-shell; 547 common = tests/util/grub-shell.in; 548 installdir = noinst; 549 }; 550 551 script = { 552 name = grub-shell-tester; 553 common = tests/util/grub-shell-tester.in; 554 installdir = noinst; 555 }; 556 557 script = { 558 testcase; 559 name = example_scripted_test; 560 common = tests/example_scripted_test.in; 561 }; 562 563 script = { 564 testcase; 565 name = example_grub_script_test; 566 common = tests/example_grub_script_test.in; 567 }; 568 569 script = { 570 testcase; 571 name = grub_script_echo1; 572 common = tests/grub_script_echo1.in; 573 }; 574 575 script = { 576 testcase; 577 name = grub_script_leading_whitespace; 578 common = tests/grub_script_leading_whitespace.in; 579 }; 580 581 script = { 582 testcase; 583 name = grub_script_echo_keywords; 584 common = tests/grub_script_echo_keywords.in; 585 }; 586 587 script = { 588 testcase; 589 name = grub_script_vars1; 590 common = tests/grub_script_vars1.in; 591 }; 592 593 script = { 594 testcase; 595 name = grub_script_for1; 596 common = tests/grub_script_for1.in; 597 }; 598 599 script = { 600 testcase; 601 name = grub_script_while1; 602 common = tests/grub_script_while1.in; 603 }; 604 605 script = { 606 testcase; 607 name = grub_script_if; 608 common = tests/grub_script_if.in; 609 }; 610 611 script = { 612 testcase; 613 name = grub_script_blanklines; 614 common = tests/grub_script_blanklines.in; 615 }; 616 617 script = { 618 testcase; 619 name = grub_script_final_semicolon; 620 common = tests/grub_script_final_semicolon.in; 621 }; 622 623 script = { 624 testcase; 625 name = grub_script_dollar; 626 common = tests/grub_script_dollar.in; 627 }; 628 629 script = { 630 testcase; 631 name = grub_script_comments; 632 common = tests/grub_script_comments.in; 633 }; 634 635 script = { 636 testcase; 637 name = grub_script_functions; 638 common = tests/grub_script_functions.in; 639 }; 640 641 script = { 642 testcase; 643 name = grub_script_break; 644 common = tests/grub_script_break.in; 645 }; 646 647 script = { 648 testcase; 649 name = grub_script_continue; 650 common = tests/grub_script_continue.in; 651 }; 652 653 script = { 654 testcase; 655 name = grub_script_shift; 656 common = tests/grub_script_shift.in; 657 }; 658 659 script = { 660 testcase; 661 name = grub_script_blockarg; 662 common = tests/grub_script_blockarg.in; 663 }; 664 665 script = { 666 testcase; 667 name = grub_script_setparams; 668 common = tests/grub_script_setparams.in; 669 }; 670 671 script = { 672 testcase; 673 name = grub_script_return; 674 common = tests/grub_script_return.in; 675 }; 676 677 script = { 678 testcase; 679 name = grub_cmd_regexp; 680 common = tests/grub_cmd_regexp.in; 681 }; 682 683 script = { 684 testcase; 685 name = grub_script_expansion; 686 common = tests/grub_script_expansion.in; 687 }; 688 689 script = { 690 testcase; 691 name = grub_script_not; 692 common = tests/grub_script_not.in; 693 }; 694 695 script = { 696 testcase; 697 name = partmap_test; 698 common = tests/partmap_test.in; 699 }; 700 701 script = { 702 testcase; 703 name = grub_cmd_echo; 704 common = tests/grub_cmd_echo.in; 705 }; 706 707 script = { 708 testcase; 709 name = grub_script_gettext; 710 common = tests/grub_script_gettext.in; 711 }; 712 713 script = { 714 testcase; 715 name = grub_script_strcmp; 716 common = tests/grub_script_strcmp.in; 717 }; 718 719 program = { 720 testcase; 721 name = example_unit_test; 722 common = tests/example_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 = printf_test; 737 common = tests/printf_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 testcase; 751 name = cmp_test; 752 common = tests/cmp_unit_test.c; 753 common = tests/lib/unit_test.c; 754 common = grub-core/kern/list.c; 755 common = grub-core/kern/misc.c; 756 common = grub-core/tests/lib/test.c; 757 ldadd = libgrubmods.a; 758 ldadd = libgrubgcry.a; 759 ldadd = libgrubkern.a; 760 ldadd = grub-core/gnulib/libgnu.a; 761 ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; 762 }; 763 764 program = { 765 name = grub-menulst2cfg; 766 mansection = 1; 767 common = util/grub-menulst2cfg.c; 768 common = grub-core/lib/legacy_parse.c; 769 common = grub-core/lib/i386/pc/vesa_modes_table.c; 770 771 ldadd = libgrubmods.a; 772 ldadd = libgrubgcry.a; 773 ldadd = libgrubkern.a; 774 ldadd = grub-core/gnulib/libgnu.a; 775 ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; 776 };